Function at 0x41cbe7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x513fee
mov eax, dword fs:[0]
push eax
sub esp, 0x150
push ebx
push esi
push edi
mov eax, dword [0x56a5a0]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x24], ebx
mov eax, dword [ebp + 8]
inc dword [ebx + 0x1c]
xor esi, esi
cmp dword [ebx + 0x16c], 1
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
jne 0x41cd63
push dword [ebp + 0xc]
lea eax, [esp + 0x30]
push eax
push ebx
call fcn.00421831
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
lea eax, [esp + 0xfc]
push eax
call fcn.00422e12
mov dword [esp + 0x168], esi
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], esi
mov dword [esp + 0xf8], esi
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf0], esi
mov dword [esp + 0xec], esi
mov dword [esp + 0xfc], esi
call fcn.004271d6
mov byte [esp + 0x168], 1
cmp edi, esi
jle 0x41ccf9
mov dword [esp + 0x44], esi
mov dword [esp + 0x20], esi
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x5c]
call fcn.00427269
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x118]
call fcn.0042687a
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x148]
call fcn.0042687a
dec edi
jne 0x41ccc3
cmp dword [esp + 0x30], esi
jle 0x41cd2c
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x100]
call fcn.0042663b
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x130]
call fcn.0042687a
dec esi
jne 0x41cd07
lea eax, [esp + 0xfc]
push eax
lea eax, [ebx + 4]
call fcn.00426958
mov byte [esp + 0x168], 0
lea eax, [esp + 0x58]
push eax
call fcn.0042720e
or dword [esp + 0x168], 0xffffffff
lea eax, [esp + 0xfc]
push eax
call fcn.00422e5c
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 4]
push eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], esi
call fcn.00426934
lea ecx, [esp + 0x7c]
push ecx
mov edi, eax
call fcn.00422ea7
mov dword [esp + 0x168], 2
mov eax, dword [esp + 0xa4]
sub eax, dword [esp + 0xa0]
lea esi, [ebx + 0x44]
sar eax, 2
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xbc]
sub eax, dword [esp + 0xb8]
push str.table
sar eax, 2
push esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], esi
call fcn.0040283d
push 0
mov edi, ebx
call fcn.0041fc12
mov eax, dword [esi]
push esi
push eax
push ebx
call fcn.0041fbd3
and dword [esp + 0x20], 0
lea eax, [esp + 0x4c]
push eax
call fcn.004028b3
mov byte [esp + 0x168], 3
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
call fcn.00421086
lea ecx, [esp + 0x1c]
call fcn.004028da
lea eax, [esp + 0x70]
push eax
lea esi, [esp + 0x50]
call fcn.0042123c
mov byte [esp + 0x168], 4
push 1
push dword [esp + 0x48]
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x5c]
push eax
push ebx
call fcn.00421bd5
mov esi, ebx
call fcn.0041fcba
cmp dword [ebx + 0x16c], 1
je 0x41d04a
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ebx + 0xb0]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0xa4]
sub eax, dword [esp + 0xa0]
xor edi, edi
sar eax, 2
lea edx, [eax + edx - 1]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x14], edx
test eax, eax
jbe 0x41cebe
lea esi, [esp + 0x94]
call fcn.00426861
mov ecx, dword [ebx + 0xb0]
add ecx, dword [eax]
mov eax, dword [esp + 0xa4]
sub eax, dword [esp + 0xa0]
add dword [esp + 0x14], ecx
inc edi
sar eax, 2
cmp edi, eax
jb 0x41ce8c
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0xbc]
sub eax, dword [esp + 0xb8]
mov edx, dword [ebx + 0xb0]
sar eax, 2
add edx, eax
lea ecx, [ecx + edx - 1]
xor edi, edi
mov dword [esp + 0x40], ecx
test eax, eax
jbe 0x41cf13
lea esi, [esp + 0xac]
call fcn.00426861
mov eax, dword [eax]
add eax, dword [ebx + 0xb0]
add dword [esp + 0x40], eax
mov eax, dword [esp + 0xbc]
sub eax, dword [esp + 0xb8]
inc edi
sar eax, 2
cmp edi, eax
jb 0x41cee5
cmp dword [ebx + 0x90], 6
jne 0x41cf28
add dword [esp + 0x14], 6
add dword [esp + 0x40], 6
jmp 0x41cf38
mov eax, dword [ebx + 0x94]
add eax, eax
add dword [esp + 0x14], eax
add dword [esp + 0x40], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
cmp dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
jge 0x41d03c
sub eax, dword [esp + 0x14]
xor edi, edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xd4]
mov ecx, eax
sub ecx, dword [esp + 0xd0]
mov dword [esp + 0x18], edi
sar ecx, 2
test ecx, ecx
jbe 0x41cfa0
lea esi, [esp + 0xc4]
call fcn.00426861
cmp dword [eax], 0
jne 0x41cf88
inc dword [esp + 0x18]
mov eax, dword [esp + 0xd4]
mov ecx, eax
sub ecx, dword [esp + 0xd0]
inc edi
sar ecx, 2
cmp edi, ecx
jb 0x41cf73
sub eax, dword [esp + 0xd0]
xor edi, edi
sar eax, 2
test eax, eax
jbe 0x41d009
cmp dword [esp + 0x18], 0
jle 0x41d009
lea esi, [esp + 0xc4]
call fcn.00426861
cmp dword [eax], 0
jne 0x41cff3
mov eax, dword [esp + 0x1c]
cdq
idiv dword [esp + 0x18]
lea esi, [esp + 0x94]
mov dword [esp + 0x20], eax
call fcn.00426861
mov ecx, dword [esp + 0x20]
add dword [eax], ecx
sub dword [esp + 0x1c], ecx
dec dword [esp + 0x18]
add dword [esp + 0x14], ecx
mov eax, dword [esp + 0xd4]
sub eax, dword [esp + 0xd0]
inc edi
sar eax, 2
cmp edi, eax
jb 0x41cfb0
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x28]
jge 0x41d03c
mov eax, dword [ebx + 0x88]
dec eax
je 0x41d02d
dec eax
jne 0x41d03c
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
sub eax, ecx
mov dword [esp + 0x34], eax
jmp 0x41d03c
mov eax, dword [esp + 0x28]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
add eax, ecx
mov dword [esp + 0x3c], eax
xor esi, esi
cmp dword [ebx + 0x16c], esi
jne 0x41d110
mov eax, dword [ebx + 0x80]
cmp eax, esi
jl 0x41d083
push dword [ebx + 0x78]
lea ecx, [ebx + 0xd8]
push dword [ebx + 0x74]
lea edi, [esp + 0x3c]
push dword [ebx + 0x68]
push dword [ebx + 0x164]
push ecx
call fcn.00419b67
jmp 0x41d0d4
lea eax, [ebx + 0x84]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], esi
je 0x41d0d4
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
push ecx
call fcn.004029d3
mov byte [esp + 0x16c], 5
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
push eax
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [ebx + 0x164]
push ebx
mov byte [esp + 0x184], 4
call fcn.0042273f
mov ecx, dword [ebx + 0x94]
cmp ecx, esi
jle 0x41d110
push ecx
push dword [ebx + 0x90]
cmp dword [ebx + 0x14c], esi
je 0x41d0f5
push dword [ebx + 0x70]
push dword [ebx + 0x6c]
jmp 0x41d0fd
mov eax, dword [ebx + 0x150]
push eax
push eax
mov ebx, dword [ebx + 0x164]
lea eax, [esp + 0x44]
call fcn.00418706
mov ebx, dword [esp + 0x24]
cmp dword [ebx + 0x16c], 1
lea esi, [esp + 0x34]
lea edi, [esp + 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x41d166
cmp dword [ebx + 0x90], 6
jne 0x41d14a
mov eax, dword [esp + 0x34]
add dword [esp + 0x5c], 3
sub dword [esp + 0x60], 3
add eax, 3
sub dword [esp + 0x64], 3
mov dword [esp + 0x58], eax
jmp 0x41d166
mov eax, dword [ebx + 0x94]
mov ecx, dword [esp + 0x34]
add dword [esp + 0x5c], eax
sub dword [esp + 0x60], eax
add ecx, eax
sub dword [esp + 0x64], eax
mov dword [esp + 0x58], ecx
cmp dword [esp + 0x2c], 0
je 0x41d2b3
cmp dword [esp + 0x30], 0
je 0x41d2b3
lea eax, [esp + 0x50]
xor esi, esi
push eax
mov dword [esp + 0x20], esi
call fcn.004028b3
mov byte [esp + 0x168], 6
lea eax, [esp + 0x48]
push eax
call fcn.004028b3
mov byte [esp + 0x168], 7
lea eax, [esp + 0x28]
push eax
call fcn.004028b3
mov byte [esp + 0x168], 8
cmp dword [esp + 0x30], esi
mov dword [esp + 0x14], esi
jle 0x41d280
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
push 0x52e5a8
push eax
call fcn.004025b6
mov byte [esp + 0x16c], 9
push dword [ebp + 0xc]
mov byte [esp + 0x170], 8
lea ebx, [esp + 0x24]
call fcn.00421465
test eax, eax
je 0x41d26a
mov edi, dword [esp + 0x1c]
push dword [ebp + 0xc]
lea esi, [esp + 0x24]
mov dword [esp + 0x24], edi
call fcn.00421a57
mov esi, dword [esp + 0x20]
mov edx, dword [ebp + 0xc]
mov eax, esi
sub eax, edi
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call fcn.00446607
mov byte [esp + 0x168], 0xa
lea edi, [esp + 0x28]
call fcn.00403a2e
mov byte [esp + 0x168], 8
lea ecx, [esp + 0x18]
call fcn.004028da
push dword [esp + 0x14]
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x60]
push eax
mov eax, edi
push eax
push dword [esp + 0x34]
call fcn.0041d754
add esi, 5
mov dword [esp + 0x1c], esi
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x30]
jl 0x41d1c6
mov ebx, dword [esp + 0x24]
mov byte [esp + 0x168], 7
lea ecx, [esp + 0x28]
call fcn.004028da
mov byte [esp + 0x168], 6
lea ecx, [esp + 0x48]
call fcn.004028da
mov byte [esp + 0x168], 4
lea ecx, [esp + 0x50]
call fcn.004028da
cmp dword [ebx + 0x16c], 0
je 0x41d6b3
xor eax, eax
inc eax
cmp dword [esp + 0x2c], eax
mov dword [esp + 0x14], eax
jl 0x41d491
and dword [esp + 0x1c], 0
cmp dword [esp + 0x30], 0
jle 0x41d47f
push dword [esp + 0x1c]
lea esi, [esp + 0x80]
call fcn.00426617
and dword [esp + 0x18], 0
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x50], eax
jle 0x41d46d
push dword [esp + 0x18]
mov esi, dword [esp + 0x54]
call fcn.00427245
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], eax
cmp dword [eax], ecx
jne 0x41d45b
cmp ecx, 1
jne 0x41d38e
mov edi, dword [esp + 0x18]
lea esi, [esp + 0x94]
call fcn.00426861
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 0x10]
cmp dword [eax], ecx
jle 0x41d34f
call fcn.00426861
mov eax, dword [eax]
mov dword [esp + 0x20], eax
jmp 0x41d353
mov dword [esp + 0x20], ecx
mov edi, dword [esp + 0x18]
lea esi, [esp + 0x94]
call fcn.00426861
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
mov eax, dword [esp + 0x28]
cmp dword [eax + 0x18], 0
je 0x41d45b
lea esi, [esp + 0xc4]
call fcn.00426861
mov dword [eax], 1
jmp 0x41d45b
and dword [esp + 0x24], 0
cmp dword [esp + 0x14], 0
jle 0x41d3db
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x20], eax
lea esi, [esp + 0x94]
call fcn.00426861
mov eax, dword [eax]
add dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
cmp dword [eax + 0x18], 0
je 0x41d3d4
lea esi, [esp + 0xc4]
call fcn.00426861
mov dword [eax], 1
inc edi
dec dword [esp + 0x20]
jne 0x41d3a6
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
cmp eax, dword [ecx + 8]
jge 0x41d45b
mov eax, ecx
mov eax, dword [eax + 0x10]
sub eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
cdq
idiv ecx
lea esi, [esp + 0x94]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
lea edi, [ecx + eax - 1]
call fcn.00426861
mov ecx, eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x10]
sub eax, dword [esp + 0x24]
and dword [esp + 0x24], 0
cdq
idiv dword [esp + 0x14]
add dword [ecx], edx
cmp dword [esp + 0x14], 0
jle 0x41d45b
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
lea edi, [eax + ecx]
lea esi, [esp + 0x94]
call fcn.00426861
mov ecx, dword [esp + 0x48]
add dword [eax], ecx
inc dword [esp + 0x24]
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x14]
jl 0x41d430
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x2c]
jl 0x41d305
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x30]
jl 0x41d2e1
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x2c]
jle 0x41d2d1
xor eax, eax
inc eax
cmp dword [esp + 0x30], eax
mov dword [esp + 0x14], eax
jl 0x41d626
and dword [esp + 0x18], 0
cmp dword [esp + 0x30], 0
jle 0x41d614
push dword [esp + 0x18]
lea esi, [esp + 0x80]
call fcn.00426617
and dword [esp + 0x28], 0
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x50], eax
jle 0x41d602
push dword [esp + 0x28]
mov esi, dword [esp + 0x54]
call fcn.00427245
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], eax
cmp dword [eax + 4], ecx
jne 0x41d5f0
cmp ecx, 1
jne 0x41d540
mov edi, dword [esp + 0x18]
lea esi, [esp + 0xac]
call fcn.00426861
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 0x14]
cmp dword [eax], ecx
jle 0x41d521
call fcn.00426861
mov eax, dword [eax]
mov dword [esp + 0x20], eax
jmp 0x41d525
mov dword [esp + 0x20], ecx
mov edi, dword [esp + 0x18]
lea esi, [esp + 0xac]
call fcn.00426861
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
jmp 0x41d5f0
xor eax, eax
cmp dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
jle 0x41d57b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea edi, [eax + ecx]
lea esi, [esp + 0xac]
call fcn.00426861
mov eax, dword [eax]
add dword [esp + 0x24], eax
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x14]
jl 0x41d550
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x14]
cmp dword [esp + 0x24], eax
jge 0x41d5f0
sub eax, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
cdq
idiv dword [esp + 0x14]
lea esi, [esp + 0xac]
mov dword [esp + 0x48], eax
call fcn.00426861
mov ecx, eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x14]
sub eax, dword [esp + 0x24]
and dword [esp + 0x1c], 0
cdq
idiv dword [esp + 0x14]
add dword [ecx], edx
cmp dword [esp + 0x14], 0
jle 0x41d5f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea edi, [eax + ecx]
lea esi, [esp + 0xac]
call fcn.00426861
mov ecx, dword [esp + 0x48]
add dword [eax], ecx
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x14]
jl 0x41d5c5
inc dword [esp + 0x28]
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x2c]
jl 0x41d4d6
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x30]
jl 0x41d4b2
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x30]
jle 0x41d4a2
mov ecx, dword [ebx + 0xb0]
mov edx, dword [esp + 0x2c]
mov eax, dword [ebp + 8]
lea esi, [ecx + edx - 1]
add dword [eax], esi
mov esi, dword [esp + 0x30]
lea ecx, [ecx + esi - 1]
add dword [eax + 4], ecx
xor edi, edi
test edx, edx
jle 0x41d66a
lea esi, [esp + 0x94]
call fcn.00426861
mov ecx, dword [ebx + 0xb0]
add ecx, dword [eax]
mov eax, dword [ebp + 8]
add dword [eax], ecx
inc edi
cmp edi, dword [esp + 0x2c]
jl 0x41d64a
xor edi, edi
cmp dword [esp + 0x30], edi
jle 0x41d693
lea esi, [esp + 0xac]
call fcn.00426861
mov ecx, dword [ebx + 0xb0]
add ecx, dword [eax]
mov eax, dword [ebp + 8]
add dword [eax + 4], ecx
inc edi
cmp edi, dword [esp + 0x30]
jl 0x41d672
cmp dword [ebx + 0x90], 6
mov eax, dword [ebx + 0x94]
mov ecx, dword [ebp + 8]
jne 0x41d6aa
imul eax, eax, 6
jmp 0x41d6ac
add eax, eax
add dword [ecx], eax
add dword [ecx + 4], eax
jmp 0x41d6cb
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x34]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
push dword [esp + 0x78]
mov esi, dword [esp + 0x78]
call fcn.00426934
mov edi, eax
lea eax, [esp + 0x7c]
call fcn.00422efc
push str.table
push dword [esp + 0x48]
call fcn.0040283d
push 1
mov edi, ebx
call fcn.0041fc12
test eax, eax
je 0x41d705
mov esi, ebx
call fcn.0041fcba
mov byte [esp + 0x168], 3
lea ecx, [esp + 0x70]
call fcn.004028da
mov byte [esp + 0x168], 2
lea ecx, [esp + 0x4c]
call fcn.004028da
or dword [esp + 0x168], 0xffffffff
lea eax, [esp + 0x7c]
push eax
call fcn.00422e5c
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc