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

Disassembly:
sub esp, 0x78
mov eax, dword [esp + 0x7c]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
or esi, 0xffffffff
push 0x443610
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
mov ebp, esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], ebx
call fcn.004219c8
add esp, 4
test eax, eax
jne 0x41a78c
push 0x443608
call fcn.0042d021
add esp, 4
mov ecx, dword [esp + 0x8c]
cmp byte [ecx], 0
je 0x41aab9
cmp dword [esp + 0x28], 6
jge 0x41aab9
lea edx, [esp + 0x8c]
mov byte [esp + 0x13], 0
push edx
call fcn.0041ac80
mov eax, dword [0x445118]
mov edi, 1
add esp, 4
cmp eax, edi
jle 0x41a7eb
mov eax, dword [esp + 0x8c]
push 0x103
movsx ecx, byte [eax]
push ecx
call fcn.004202f4
mov edx, dword [esp + 0x94]
add esp, 8
jmp 0x41a804
mov edx, dword [esp + 0x8c]
mov ecx, dword [0x445110]
movsx eax, byte [edx]
mov ax, word [ecx + eax*2]
and eax, 0x103
cmp eax, ebx
je 0x41a8b0
mov al, byte [0x446fdc]
mov ecx, 7
mov byte [esp + 0x44], al
xor eax, eax
lea edi, [esp + 0x45]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x44]
stosw word es:[edi], ax
push ecx
push 0x4435fc
push edx
stosb byte es:[edi], al
call fcn.004208fd
lea edi, [esp + 0x50]
mov ecx, esi
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x38]
or edi, 0xffffffff
not ecx
dec ecx
cmp eax, edi
mov esi, ecx
jne 0x41a868
lea edx, [esp + 0x44]
push esi
push edx
call fcn.0041abb0
add esp, 8
cmp eax, edi
mov dword [esp + 0x38], eax
jne 0x41a8a2
cmp dword [esp + 0x1c], edi
jne 0x41a883
lea eax, [esp + 0x44]
push eax
call fcn.0041ac00
add esp, 4
cmp eax, edi
mov dword [esp + 0x1c], eax
jne 0x41a8a2
cmp ebp, edi
jne 0x41aaa5
lea ecx, [esp + 0x44]
push ecx
call fcn.0041ac40
mov ebp, eax
add esp, 4
cmp ebp, edi
je 0x41aaa5
mov edx, dword [esp + 0x8c]
add edx, esi
jmp 0x41aa87
cmp dword [0x445118], edi
jle 0x41a8cf
movsx edx, byte [edx]
push 4
push edx
call fcn.004202f4
mov edx, dword [esp + 0x94]
add esp, 8
jmp 0x41a8de
movsx eax, byte [edx]
mov ecx, dword [0x445110]
mov al, byte [ecx + eax*2]
and eax, 4
cmp eax, ebx
je 0x41aa91
cmp dword [esp + 0x20], esi
jne 0x41a924
lea eax, [esp + 0x20]
lea ecx, [esp + 0x2c]
push eax
lea eax, [esp + 0x34]
push ecx
push eax
push 0x4435ec
push edx
call fcn.004208fd
mov edx, dword [esp + 0xa0]
add esp, 0x14
cmp eax, 3
jne 0x41a924
add edx, 8
mov dword [esp + 0x8c], edx
jmp 0x41aa91
lea ecx, [esp + 0x3c]
push 0xa
push ecx
push edx
call fcn.0042021e
add esp, 0xc
cmp ebp, esi
mov esi, dword [esp + 0x8c]
mov ecx, eax
jne 0x41a9a2
mov edx, dword [esp + 0x3c]
sub edx, esi
cmp edx, 4
jne 0x41a9a2
cmp ecx, 0x514
jge 0x41a9a2
cmp dword [esp + 0x40], esi
jae 0x41a9a2
mov bl, byte [esi - 1]
cmp bl, 0x2b
je 0x41a967
cmp bl, 0x2d
jne 0x41a9a0
mov eax, 0x51eb851f
mov ebp, 0x64
imul ecx
sar edx, 5
mov eax, edx
mov byte [esp + 0x13], 1
shr eax, 0x1f
add edx, eax
lea eax, [edx + edx*2]
lea edi, [eax + eax*4]
mov eax, ecx
cdq
idiv ebp
lea eax, [edx + edi*4]
lea eax, [eax + eax*2]
lea ebp, [eax + eax*4]
shl ebp, 2
cmp bl, 0x2b
jne 0x41a9a0
neg ebp
xor ebx, ebx
mov edi, dword [esp + 0x3c]
mov edx, edi
sub edx, esi
cmp edx, 8
jne 0x41aa0c
mov eax, dword [esp + 0x14]
or edx, 0xffffffff
cmp eax, edx
jne 0x41aa0f
cmp dword [esp + 0x1c], edx
jne 0x41aa0f
cmp dword [esp + 0x18], edx
jne 0x41aa0f
mov eax, 0x68db8bad
mov esi, 0x2710
imul ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov dword [esp + 0x14], edx
cdq
idiv esi
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
lea edx, [edx + eax - 1]
mov eax, ecx
mov dword [esp + 0x1c], edx
mov ecx, 0x64
cdq
idiv ecx
mov dword [esp + 0x18], edx
jmp 0x41aa85
or edx, 0xffffffff
mov al, byte [esp + 0x13]
test al, al
jne 0x41aa85
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x41aa4d
cmp dword [esp + 0x18], edx
jne 0x41aaaf
cmp ecx, ebx
jle 0x41aa3b
cmp ecx, 0x20
jge 0x41aa3b
mov dword [esp + 0x18], ecx
mov byte [esp + 0x13], 1
mov al, byte [esp + 0x13]
mov dword [esp + 0x24], 1
test al, al
jne 0x41aa85
jmp 0x41aa52
cmp eax, 1
jne 0x41aaaf
cmp dword [esp + 0x14], edx
jne 0x41aaaf
cmp ecx, 0x76c
mov dword [esp + 0x14], ecx
jge 0x41aa7b
cmp ecx, 0x46
jle 0x41aa71
add ecx, 0x76c
jmp 0x41aa77
add ecx, 0x7d0
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x18], edx
jne 0x41aa85
mov dword [esp + 0x24], ebx
mov edx, edi
mov dword [esp + 0x8c], edx
or esi, 0xffffffff
mov ecx, dword [esp + 0x28]
mov al, byte [edx]
inc ecx
test al, al
mov dword [esp + 0x28], ecx
je 0x41aab9
jmp 0x41a79c
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
pop edi
pop esi
pop ebp
mov eax, edx
pop ebx
add esp, 0x78
ret
mov eax, dword [esp + 0x20]
cmp eax, esi
jne 0x41aacf
xor eax, eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], eax
mov edi, dword [esp + 0x18]
cmp edi, esi
je 0x41ab98
mov edx, dword [esp + 0x1c]
cmp edx, esi
je 0x41ab98
mov ecx, dword [esp + 0x14]
cmp ecx, esi
je 0x41ab98
cmp ecx, 0x7f5
jle 0x41ab08
pop edi
pop esi
pop ebp
mov eax, 0x7fffffff
pop ebx
add esp, 0x78
ret
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x2c]
add ecx, 0xfffff894
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x64]
mov dword [esp + 0x6c], eax
push ecx
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
call fcn.00421bc7
add esp, 4
cmp eax, esi
mov dword [esp + 0x34], eax
je 0x41ab9a
lea edx, [esp + 0x34]
push edx
call fcn.004213d4
add esp, 4
cmp eax, ebx
je 0x41ab98
push eax
call fcn.00421bc7
mov ecx, ebp
add esp, 4
inc ecx
neg ecx
sbb ecx, ecx
and ecx, ebp
sub ecx, eax
mov eax, dword [esp + 0x34]
add ecx, eax
cmp ecx, ebx
jle 0x41ab8e
lea edx, [ecx + eax]
cmp edx, eax
jl 0x41ab98
pop edi
pop esi
pop ebp
add eax, ecx
pop ebx
add esp, 0x78
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret