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

Disassembly:
sub esp, 0x68
push ebx
push ebp
push esi
mov esi, dword [esp + 0x78]
push edi
mov ecx, esi
call fcn.004164d0
mov ecx, esi
mov dword [esp + 0x7c], eax
call fcn.004164d0
mov ecx, esi
mov dword [esp + 0x38], eax
call fcn.004164d0
mov ecx, esi
mov ebp, eax
call fcn.004164d0
mov ecx, esi
mov ebx, eax
call fcn.004164d0
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.004164d0
mov ecx, esi
mov dword [esp + 0x28], eax
call fcn.004164d0
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.004164d0
mov ecx, esi
mov dword [esp + 0x24], eax
call fcn.004164d0
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.004164d0
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.004164d0
mov ecx, esi
mov edi, eax
call fcn.004164d0
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.004164d0
mov ecx, esi
mov dword [esp + 0x34], eax
call fcn.004164d0
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
lea ecx, [eax + ebp]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x28]
lea edx, [ecx + ebx]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x68], edx
add edx, eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x6c], esi
add esi, ecx
cmp eax, 0x400
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], esi
ja 0x41ae43
mov ecx, dword [esp + 0x38]
cmp dword [eax*8 + 0x8c4734], ecx
jbe 0x41ae43
mov eax, dword [eax*8 + 0x8c4730]
mov esi, dword [eax + ecx*4]
test esi, esi
mov dword [esp + 0x44], esi
jne 0x41ae50
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x68
ret
mov eax, dword [esp + 0x2c]
cmp eax, 0x400
ja 0x41ae7a
mov ecx, dword [esp + 0x24]
cmp dword [eax*8 + 0x8c4734], ecx
jbe 0x41ae7a
mov edx, dword [eax*8 + 0x8c4730]
mov ebx, dword [edx + ecx*4]
test ebx, ebx
mov dword [esp + 0x40], ebx
jne 0x41ae87
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x68
ret
fld dword [esi + 0x24]
call fcn.00408160
fld dword [esi + 0x28]
mov ebp, eax
call fcn.00408160
push eax
push ebp
push 0
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x68]
push ecx
call fcn.0041c3a0
add esp, 0x14
test eax, eax
jne 0x41aebb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x60]
sub eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
shl edi, 8
sub ebp, edx
add edi, eax
mov eax, dword [esi]
mov dword [esp + 0x24], edx
mov edx, dword [ebx]
mov dword [esp + 0x20], ecx
xor ecx, ecx
cmp eax, edx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], edi
je 0x41af0b
mov ecx, 0x2000
push ecx
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x58]
push edx
push eax
call fcn.0043e110
add esp, 0x10
test eax, eax
jne 0x41af30
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x68
ret
mov ebx, dword [ebx]
cmp dword [esi], ebx
je 0x41af5c
push 0x10
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x50]
push ecx
push ebx
call fcn.0043e110
add esp, 0x10
test eax, eax
jne 0x41af6e
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x68
ret
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
jmp 0x41af72
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov ecx, edx
imul ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x48]
neg ebx
shl ebx, 2
sub ebx, ecx
add ebx, eax
mov eax, dword [esp + 0x68]
mov ecx, edx
imul ecx, dword [esp + 0x6c]
neg eax
shl eax, 2
sub eax, ecx
add eax, dword [esp + 0x4c]
mov dword [esp + 0x7c], eax
test byte [esp + 0x18], 1
mov esi, edx
mov dword [esp + 0x3c], ebx
jne 0x41b0bf
test ebp, ebp
jle 0x41b235
mov eax, dword [esp + 0x28]
mov ebp, edi
mov dword [esp + 0x3c], edx
imul edx, dword [esp + 0x24]
mov dword [esp + 0x38], ebp
imul ebp, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
xor ecx, ecx
mov cl, ah
add eax, esi
mov dword [esp + 0x2c], eax
mov eax, dword [ecx*4 + 0x500be8]
imul eax, dword [esp + 0x34]
sar eax, 0x10
jns 0x41b059
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x1c]
sub esi, eax
add ecx, eax
lea esi, [ebp + esi*4]
add esi, edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
lea edi, [edx + edi*4]
add edi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x7c]
mov ecx, eax
mov eax, dword [esp + 0x10]
lea esi, [ebp + eax*4]
mov eax, dword [esp + 0x18]
add esi, edi
mov edi, dword [esp + 0x20]
neg ecx
add eax, edi
shl ecx, 2
lea edi, [edx + eax*4]
mov eax, ecx
shr ecx, 2
add edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x41b09f
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
sub esi, eax
mov dword [esp + 0x18], esi
add esi, edi
mov edi, dword [esp + 0x7c]
lea esi, [ebp + esi*4]
add esi, edi
mov edi, dword [esp + 0x20]
lea edi, [edx + edi*4]
add edi, ebx
mov ecx, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x18]
lea esi, [ebp + esi*4]
add esi, edi
mov edi, dword [esp + 0x20]
add eax, edi
lea edi, [edx + eax*4]
add edi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
add ebp, esi
add edx, ecx
dec eax
mov dword [esp + 0x28], eax
jne 0x41afdd
jmp 0x41b235
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x41b235
mov ecx, dword [esp + 0x10]
lea edx, [ecx*4]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], edx
lea edx, [ecx*4]
mov dword [esp + 0x10], edx
mov dword [esp + 0x38], eax
jmp 0x41b0f3
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
xor eax, eax
mov al, ch
add ecx, edx
mov dword [esp + 0x2c], ecx
mov eax, dword [eax*4 + 0x500be8]
imul eax, dword [esp + 0x34]
sar eax, 0x10
jns 0x41b19b
mov edx, dword [esp + 0x10]
lea ecx, [eax + ebp]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
mov ecx, esi
imul ecx, dword [esp + 0x24]
add ecx, edx
mov edx, dword [esp + 0x14]
neg eax
add edx, eax
imul edx, edi
add edx, ebp
add edx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x18]
add ecx, ebx
test ebp, ebp
jle 0x41b168
mov dword [esp + 0x20], ebp
mov ebp, dword [edx]
mov dword [ecx], ebp
mov ebp, dword [esp + 0x20]
add edx, edi
add ecx, esi
dec ebp
mov dword [esp + 0x20], ebp
jne 0x41b151
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
add ecx, ebp
mov ebp, dword [esp + 0x10]
imul ecx, esi
mov edx, edi
imul edx, dword [esp + 0x14]
add ecx, ebp
add edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x7c]
add ecx, ebx
add edx, ebp
test eax, eax
jle 0x41b20d
mov ebp, dword [edx]
mov dword [ecx], ebp
add edx, edi
add ecx, esi
dec eax
jne 0x41b18e
jmp 0x41b20d
mov edx, dword [esp + 0x10]
mov ecx, esi
imul ecx, dword [esp + 0x24]
add ecx, edx
mov edx, dword [esp + 0x14]
sub ebp, eax
add edx, ebp
imul edx, edi
add ecx, ebx
add edx, dword [esp + 0x1c]
add edx, dword [esp + 0x7c]
test eax, eax
jle 0x41b1d8
mov dword [esp + 0x20], eax
mov ebx, dword [edx]
mov dword [ecx], ebx
mov ebx, dword [esp + 0x20]
add edx, edi
add ecx, esi
dec ebx
mov dword [esp + 0x20], ebx
jne 0x41b1c5
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x3c]
add eax, ecx
imul eax, esi
mov ecx, edi
imul ecx, dword [esp + 0x14]
add eax, edx
add ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x7c]
add eax, ebx
add ecx, edx
test ebp, ebp
jle 0x41b20d
mov edx, dword [ecx]
mov dword [eax], edx
add ecx, edi
add eax, esi
dec ebp
jne 0x41b202
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov eax, 4
add edx, eax
add ecx, eax
mov eax, dword [esp + 0x38]
dec eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x38], eax
jne 0x41b0ef
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov eax, dword [eax]
cmp dword [esi], eax
je 0x41b25d
push eax
call fcn.0043e170
add esp, 4
test eax, eax
jne 0x41b25d
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x68
ret
mov ecx, dword [esi]
push ecx
call fcn.0043e170
add esp, 4
neg eax
pop edi
sbb eax, eax
pop esi
and eax, 0xfffffffe
pop ebp
add eax, 2
pop ebx
add esp, 0x68
ret