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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x104
push ebx
push esi
push edi
push 0xfffffffffffffffd
mov dword [esp + 0x50], edx
mov edi, ecx
pop esi
mov dword [esp + 0x14], 0xe56f9b2c
lea ecx, [esp + 0xd0]
mov dword [esp + 0x28], 0x999fb023
push 2
mov dword [esp + 0x2c], 0x5dae5a60
pop ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x28], 0xccb63e8e
mov dword [esp + 0x28], 0xffffffff
push ebx
call fcn.00422862
mov dword [esp + 0x7c], esi
xor esi, esi
mov dword [esp + 0x20], esi
jmp 0x405b33
mov eax, dword [esp + 0x20]
mov dword [esp + eax*4 + 0xc8], 0xde0bcd8c
inc dword [esp + 0x20]
cmp dword [esp + 0x20], ebx
jl 0x405b20
lea edx, [esp + 0xd0]
lea ecx, [esp + 0x20]
call fcn.00401c73
mov dword [esp + 0x20], esi
jmp 0x405b62
mov eax, dword [esp + 0x20]
mov dword [esp + eax*4 + 0x108], 0x93d0
inc dword [esp + 0x20]
cmp dword [esp + 0x20], ebx
jl 0x405b4f
mov dword [esp + 0x14], esi
cmp dword [esp + 0x14], ebx
push 1
pop ebx
jge 0x405b8b
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0xc8], ebx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jl 0x405b75
lea ecx, [esp + 0x7c]
call fcn.00403393
lea ecx, [esp + 0xd0]
call fcn.00422eed
xor eax, eax
cmp dword [edi + 0x10], eax
jne 0x405bae
xor al, al
jmp 0x40624e
mov dword [esp + 0x14], eax
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], eax
jne 0x405bd2
mov byte [esp + 0x33], al
lea ecx, [esp + 0x33]
call fcn.00403497
inc dword [esp + 0x14]
push 0
pop eax
je 0x405bbc
call fcn.004036db
push ebx
lea ecx, [esp + 0xb4]
call fcn.00422862
push ebx
lea ecx, [esp + 0xe4]
call fcn.00422862
xor esi, esi
mov dword [esp + 0x10], esi
jmp 0x405c0f
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xb0]
mov dword [eax + ecx*4], 0x48bbca63
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ebx
jl 0x405bf9
mov dword [esp + 0x10], esi
jmp 0x405c2d
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xe0]
mov dword [eax + ecx*4], ebx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ebx
jl 0x405c1b
mov eax, dword [esp + 0xb0]
lea ecx, [esp + 0xe0]
mov dword [eax], esi
call fcn.00422eed
lea ecx, [esp + 0xb0]
call fcn.00422eed
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0xec]
push 2
mov dword [eax], esi
mov dword [esp + 0x30], 0x7f6af112
mov dword [esp + 0x2c], 0x9fb37b04
mov dword [esp + 0x48], 0x9226c312
mov dword [esp + 0x7c], 0xfffffffa
mov dword [esp + 0x40], 0x14f98caf
mov dword [esp + 0x60], 0x2d1a4e66
mov dword [esp + 0x2c], 0xec326874
mov dword [esp + 0x94], ebx
mov dword [esp + 0x2c], 0x30bd
call fcn.00422862
lea edx, [esp + 0xec]
lea ecx, [esp + 0xdc]
call fcn.0040230f
mov dword [esp + 0x2c], 0x1d
cmp dword [esp + 0x2c], 6
je 0x405f64
xor eax, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x60], 0xfffffff9
mov dword [esp + 0x10], 0x2db785b6
mov dword [esp + 0x38], 0xfffffffd
mov dword [esp + 0x74], eax
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x14], eax
jmp 0x405d15
mov ecx, dword [esp + 0x14]
mov dword [esp + ecx*4 + 0x64], 0x3fa75c19
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jl 0x405d05
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], ebx
jg 0x405e68
xor esi, esi
mov dword [esp + 0x34], 0x58a0
lea ecx, [esp + 0xa4]
mov dword [esp + 0x6c], 0xfffffffb
mov dword [esp + 0x34], 7
mov dword [esp + 0x34], 0x83303773
mov dword [esp + 0x58], 5
push 3
call fcn.00422862
mov dword [esp + 0x14], 0xfffffff6
lea edx, [esp + 0xa4]
mov dword [esp + 0x34], esi
lea ecx, [esp + 0x70]
call fcn.00403d22
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0xa8]
push eax
lea edx, [esp + 0x74]
lea ecx, [esp + 0x7c]
call fcn.00404063
mov edx, dword [esp + 0x48]
xor ecx, ecx
mov eax, dword [esp + 0x90]
neg edx
add esp, 0x1c
cmp eax, edx
mov eax, dword [esp + 0x64]
setle cl
cmp ecx, 6
sbb edx, edx
add eax, 0x409f8fea
inc edx
xor ecx, ecx
imul edx, eax
mov eax, dword [esp + 0x68]
cmp edx, 0x49dd
setle cl
imul eax, ecx
xor ecx, ecx
cmp eax, 0x121adf56
setle cl
xor eax, eax
cmp ecx, 0x4c38
setl al
cmp eax, dword [esp + 0x44]
jne 0x405e10
cmp dword [esp + 0x10], esi
je 0x405e18
mov edx, ebx
cmp dword [esp + 0x58], esi
jne 0x405e1a
mov edx, esi
mov eax, dword [esp + 0x24]
xor ecx, ecx
cmp edx, eax
setge cl
xor edx, edx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
cmp ecx, eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0xa4]
setl dl
sub eax, 0x342bb1e5
add eax, edx
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x34], eax
call fcn.00422eed
inc dword [esp + 0x18]
cmp dword [esp + 0x18], ebx
jle 0x405d2c
xor eax, eax
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0xf
jge 0x405f53
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0x1c63cc5d
mov dword [esp + 0x34], 0x69bd
mov ecx, dword [esp + 0x68]
mov ecx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x78]
mov ecx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x28], ecx
jl 0x405ec9
mov edx, ebx
cmp dword [esp + 0x14], eax
jne 0x405ecb
mov edx, eax
mov ecx, dword [esp + 0x60]
xor ebx, ebx
cmp edx, ecx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
setg bl
add edx, ebx
xor ebx, ebx
cmp edx, ecx
mov ecx, dword [esp + 0x38]
push 1
setle bl
xor edx, edx
cmp ebx, ecx
setg dl
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x40], 0x4c83b0f6
mov ecx, dword [esp + 0x6c]
sub ecx, dword [esp + 0x40]
neg ecx
sbb ecx, ecx
xor ebx, ebx
inc ecx
cmp ecx, 5
mov ecx, dword [esp + 0x14]
setl bl
sub ebx, 0xfffa
neg ebx
sbb ebx, ebx
xor edx, edx
inc ebx
cmp ebx, ecx
pop ebx
setge dl
mov dword [esp + 0x44], edx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0xf
jl 0x405e77
dec dword [esp + 0x2c]
cmp dword [esp + 0x2c], 6
jne 0x405cd7
xor esi, esi
lea ecx, [esp + 0x5c]
call fcn.004049db
lea ecx, [esp + 0xec]
call fcn.00422eed
cmp dword [edi + 0x14], 0x10
jb 0x405f83
mov ecx, dword [edi]
jmp 0x405f85
mov ecx, edi
cmp dword [edi + 0x14], 0x10
mov dword [esp + 0x48], ecx
jb 0x405f93
mov edx, dword [edi]
jmp 0x405f95
mov edx, edi
mov eax, dword [edi + 0x10]
add eax, edx
cmp ecx, eax
je 0x40619e
mov dword [esp + 0x1c], 0x256915a
mov dword [esp + 0x24], 0x7673ed13
mov dword [esp + 0x14], esi
jmp 0x405fc8
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x40], 0xffffffff
inc dword [esp + 0x14]
cmp dword [esp + 0x14], ebx
jl 0x405fb8
lea ecx, [esp + 0x1c]
call fcn.004025ae
xor eax, eax
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x1c], eax
jl 0x4060d5
mov dword [esp + 0x14], 0xbf8b243e
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], 0xfffffff8
mov dword [esp + 0x10], 0xb7f45b6
mov ecx, dword [esp + 0x1c]
mov ecx, dword [esp + ecx*4 + 0x40]
sub ecx, 0x6f44401d
je 0x40607c
mov ecx, dword [esp + 0x14]
xor ebx, ebx
mov ecx, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + ecx*4 + 0x40]
mov ecx, dword [esp + 0x1c]
mov dword [esp + ecx*4 + 0x40], edx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
cmp ecx, 0x2c7e
mov ecx, dword [esp + 0x18]
setl bl
xor edx, edx
cmp ebx, ecx
setge dl
xor ebx, ebx
mov dword [esp + 0x10], edx
inc ebx
mov ecx, ebx
cmp dword [esp + 0x10], eax
jne 0x40607e
mov ecx, eax
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x10], eax
jne 0x406090
mov esi, eax
cmp dword [esp + 0x1c], eax
je 0x406092
mov esi, ebx
mov ecx, dword [esp + 0x1c]
xor edx, edx
cmp esi, ecx
setne dl
cmp edx, dword [esp + 0x18]
je 0x4060c1
mov dword [esp + 0x10], eax
jmp 0x4060b9
mov ecx, dword [esp + 0x10]
mov dword [esp + ecx*4 + 0x40], 0xcc9d6c84
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ebx
jl 0x4060a9
jmp 0x4060c7
cmp dword [esp + 0x24], eax
jne 0x4060d5
mov ecx, dword [esp + 0x24]
dec dword [esp + 0x1c]
jns 0x405fe7
mov ecx, dword [esp + 0x48]
mov cl, byte [ecx]
cmp cl, 0x30
jl 0x406109
cmp cl, 0x39
jg 0x406109
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x54]
push 0x6b4b
push eax
call fcn.0040be95
mov ecx, dword [esp + 0x58]
add esp, 0x10
inc ecx
xor esi, esi
jmp 0x405f85
lea ecx, [esp + 0x4c]
call fcn.00402a0f
push ebx
lea ecx, [esp + 0x9c]
call fcn.00422862
push ebx
lea ecx, [esp + 0xc0]
call fcn.00422862
xor esi, esi
mov dword [esp + 0x10], esi
jmp 0x40614a
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x98]
mov dword [eax + ecx*4], 0x48bbca63
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ebx
jl 0x406134
mov dword [esp + 0x10], esi
jmp 0x406168
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xbc]
mov dword [eax + ecx*4], ebx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ebx
jl 0x406156
lea edx, [esp + 0xbc]
lea ecx, [esp + 0x98]
call fcn.00404ff4
lea ecx, [esp + 0xbc]
call fcn.00422eed
lea ecx, [esp + 0x98]
call fcn.00422eed
jmp 0x405ba7
push dword [esp + 0x70]
movdqa xmm0, xmmword [0xaa8f10]
lea eax, [esp + 0x10c]
push eax
lea eax, [esp + 0x100]
mov dword [esp + 0x5c], 0x30f94f37
push eax
mov dword [esp + 0x5c], 8
lea ecx, [esp + 0x90]
mov dword [esp + 0xa0], 0xca8cda2a
push esi
mov dword [esp + 0x90], 0xcd329b3a
movdqu xmmword [esp + 0x108], xmm0
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
call fcn.0042415b
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x9c]
push eax
lea edx, [esp + 0x60]
lea ecx, [esp + 0x90]
call fcn.00403059
add esp, 0xc
lea edx, [esp + 0x50]
lea ecx, [esp + 0x54]
call fcn.00405a26
lea ecx, [esp + 0x84]
call fcn.00422eed
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret