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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 4
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp eax, 0xfcf
jg 0x41a563
cmp eax, 0xfa1
jle case.0x41a56d.10003
sub eax, 0xfa2
cmp eax, 0x2d
ja case.0x41a56d.10003
jmp dword [eax*4 + 0x446360]
mov eax, 0xfffffffb
add esp, 4
pop ebx
pop esi
pop edi
pop ebp
ret
sub eax, 0x2712
cmp eax, 0x1a
ja case.0x41a56d.10003
jmp dword [eax*4 + 0x446418]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41a58d
mov edx, dword [eax]
mov dword [ebx + 0xb8], edx
mov eax, dword [eax + 4]
mov dword [ebx + 0xbc], eax
xor eax, eax
add esp, 4
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x20]
mov dword [ebx + 0xec], eax
xor eax, eax
jmp 0x41a58f
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x40], eax
xor eax, eax
jmp 0x41a58f
mov esi, dword [esp + 0x20]
test esi, esi
je 0x41a58d
lea edi, [ebx + 0x78]
mov eax, 0x40
test bl, 1
jne 0x41a819
test edi, 2
jne 0x41a82f
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
test al, 2
je 0x41a5e2
movsw word es:[edi], word [esi]
test al, 1
je 0x41a58d
movsb byte es:[edi], byte [esi]
xor eax, eax
jmp 0x41a58f
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x30], eax
xor eax, eax
jmp 0x41a58f
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41a80f
mov edx, dword [ebx]
mov dword [eax], edx
xor eax, eax
jmp 0x41a58f
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x41a80f
mov edx, dword [ebx]
cmp dword [edx + 8], eax
jl 0x41a80f
mov dword [ebx + 0x24], eax
xor eax, eax
jmp 0x41a58f
mov eax, dword [esp + 0x20]
lea edx, [eax - 1]
cmp edx, 1
ja 0x41a80f
mov dword [ebx + 8], eax
xor eax, eax
jmp 0x41a58f
mov eax, dword [esp + 0x20]
cmp eax, 2
ja 0x41a80f
xor edx, edx
cmp eax, 1
setle dl
mov dword [ebx + 0x14], edx
test eax, eax
sete al
movzx eax, al
mov dword [ebx + 0xc], eax
xor eax, eax
jmp 0x41a58f
mov eax, dword [esp + 0x20]
test eax, eax
js 0x41a80f
mov edx, dword [ebx]
cmp dword [edx + 8], eax
jle 0x41a80f
mov dword [ebx + 0x20], eax
xor eax, eax
jmp 0x41a58f
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41a80f
mov edx, dword [ebx + 0x44]
mov dword [eax], edx
xor eax, eax
jmp 0x41a58f
mov eax, dword [esp + 0x20]
cmp eax, 1
ja 0x41a80f
mov dword [ebx + 0x44], eax
xor eax, eax
jmp 0x41a58f
mov edx, dword [ebx + 0x3c]
mov eax, dword [esp + 0x20]
mov dword [eax], edx
xor eax, eax
jmp 0x41a58f
mov eax, dword [esp + 0x20]
lea edx, [eax - 8]
cmp edx, 0x10
ja 0x41a80f
mov dword [ebx + 0x3c], eax
xor eax, eax
jmp 0x41a58f
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41a80f
mov edx, dword [ebx + 0x4c]
mov dword [eax], edx
xor eax, eax
jmp 0x41a58f
mov edi, dword [ebx + 4]
mov edx, dword [ebx]
mov eax, dword [edx + 4]
lea ecx, [eax + 0x400]
imul ecx, edi
mov ebp, dword [edx + 8]
imul ebp, edi
mov dword [esp], edx
lea eax, [ebx + 0xf4]
lea esi, [ecx + ebp]
add esi, esi
add esi, esi
add esi, eax
lea eax, [ecx + 0x3d]
lea ecx, [ebp + ebp]
add ecx, ecx
add eax, ecx
add eax, eax
add eax, eax
sub eax, 0x4c
lea ecx, [ebx + 0x4c]
push eax
push 0
push ecx
call sub.MSVCR80.dll_memset
mov edx, dword [esp + 0xc]
imul edi, dword [edx + 8]
add esp, 0xc
test edi, edi
jle 0x41a772
mov eax, esi
add edi, edi
add edi, edi
lea edx, [esi + edi]
fld dword [0x4465ec]
fst dword [eax + ebp*4]
fstp dword [eax]
add eax, 4
cmp eax, edx
jne 0x41a760
mov dword [ebx + 0xd8], 0
mov dword [ebx + 0x54], 0x3f800000
mov dword [ebx + 0x50], 2
mov dword [ebx + 0x58], 0x100
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
xor eax, eax
jmp 0x41a58f
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x34], eax
xor eax, eax
jmp 0x41a58f
mov eax, dword [esp + 0x20]
cmp eax, 0x64
ja 0x41a80f
mov dword [ebx + 0x38], eax
xor eax, eax
jmp 0x41a58f
mov eax, dword [esp + 0x20]
cmp eax, 0xa
ja 0x41a80f
mov dword [ebx + 0x18], eax
xor eax, eax
jmp 0x41a58f
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x2c], eax
xor eax, eax
jmp 0x41a58f
mov edx, dword [esp + 0x20]
cmp edx, 0x1f4
jg 0x41a7f9
cmp edx, 0xffffffff
jne 0x41a80f
imul eax, dword [ebx + 4], 0x3f7a0
cmp eax, edx
cmovg eax, edx
mov dword [ebx + 0x28], eax
xor eax, eax
jmp 0x41a58f
mov eax, 0xffffffff
jmp 0x41a55b
movzx eax, byte [esi]
mov byte [ebx + 0x78], al
lea edi, [ebx + 0x79]
add esi, 1
mov eax, 0x3f
jmp 0x41a5c9
movzx ecx, word [esi]
mov word [edi], cx
add edi, 2
add esi, 2
sub eax, 2
jmp 0x41a5d5