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

Disassembly:
push 0xffffffffffffffff
push 0x56a15c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x988
push ebx
mov ebx, dword [esp + 0x99c]
push ebp
push esi
xor esi, esi
xor ebp, ebp
push edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x48], ebp
mov eax, 0x20
mov ecx, ebp
sar eax, cl
cmp eax, ebx
jle 0x430cc5
inc ebp
cmp ebp, 5
jl 0x430cb2
mov ecx, ebp
mov edx, 0x20
sar edx, cl
mov edi, 1
mov dword [esp + 0x48], ebp
shl edi, cl
cmp ebx, edx
je 0x430d1b
push esi
push esi
push 0x2ea
push 0x5bec98
push 0x5bec7c
lea ecx, [esp + 0x60]
call fcn.00430560
push eax
mov dword [esp + 0x9a4], esi
call fcn.00430640
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x9a0], 0xffffffff
call fcn.004305f0
mov eax, dword [esp + 0x9ac]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
cmp ecx, edx
jge 0x430d35
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
jl 0x430d77
push esi
push esi
push 0x2ec
push 0x5bec98
push 0x5bec64
lea ecx, [esp + 0x60]
call fcn.00430560
push eax
mov dword [esp + 0x9a4], 1
call fcn.00430640
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x9a0], 0xffffffff
call fcn.004305f0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov ecx, dword [eax + 8]
lea eax, [ecx + ebx - 1]
cdq
idiv ebx
mov edx, dword [esp + 0x14]
mov ecx, eax
mov eax, dword [edx + 4]
mov dword [esp + 0x8c], ecx
lea eax, [eax + ebx - 1]
cdq
idiv ebx
mov edx, dword [esp + 0x9ac]
cmp dword [edx], esi
mov dword [esp + 0x88], eax
jl 0x430dcb
cmp dword [edx + 4], esi
jl 0x430dcb
cmp dword [edx + 8], eax
jg 0x430dcb
cmp dword [edx + 0xc], ecx
jle 0x430e0d
push esi
push esi
push 0x2ef
push 0x5bec98
push 0x5bec50
lea ecx, [esp + 0x60]
call fcn.00430560
push eax
mov dword [esp + 0x9a4], 2
call fcn.00430640
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x9a0], 0xffffffff
call fcn.004305f0
lea eax, [esp + 0xa0]
mov ecx, 8
mov dword [eax - 8], esi
mov dword [eax - 4], esi
mov dword [eax], esi
mov dword [eax + 4], esi
add eax, 0x10
dec ecx
jne 0x430e19
lea eax, [esp + 0x120]
mov ecx, 8
mov dword [eax - 8], esi
mov dword [eax - 4], esi
mov dword [eax], esi
mov dword [eax + 4], esi
add eax, 0x10
dec ecx
jne 0x430e36
mov edx, dword [esp + 0x9ac]
mov eax, ebp
shl eax, 4
mov esi, dword [edx]
mov ebx, 1
lea ecx, [esp + eax + 0x98]
lea eax, [esp + eax + 0x118]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov esi, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x9ac]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
lea eax, [ebp - 1]
test eax, eax
jl 0x430f59
mov esi, eax
shl esi, 4
inc eax
mov dword [esp + 0x10], eax
lea edx, [esp + esi + 0x128]
lea eax, [esp + esi + 0x98]
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
lea ecx, [esp + esi + 0x98]
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
lea eax, [ebx + ebx*2]
push eax
push eax
call fcn.004454b0
lea eax, [esp + 0x80]
lea ecx, [esp + esi + 0x98]
push eax
push ecx
call fcn.00445570
mov ecx, dword [esp + esi + 0x98]
add ebx, ebx
sub esi, 0x10
lea eax, [ebx - 1]
lea edx, [ecx + ebx - 1]
mov ecx, dword [esp + esi + 0xb0]
not eax
and edx, eax
and ecx, eax
mov dword [esp + esi + 0x128], edx
mov edx, dword [esp + esi + 0xac]
mov dword [esp + esi + 0x130], ecx
lea ecx, [edx + ebx - 1]
mov edx, dword [esp + esi + 0xb4]
and ecx, eax
and edx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + esi + 0x12c], ecx
mov dword [esp + esi + 0x134], edx
dec eax
mov dword [esp + 0x10], eax
jne 0x430eae
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x9c]
mov esi, dword [esp + 0xa0]
lea eax, [edi - 1]
not eax
mov ecx, eax
push 2
and ecx, edx
mov edx, eax
and edx, ebx
lea ebx, [esi - 1]
mov esi, dword [esp + 0xa8]
and ebx, eax
add ebx, edi
dec esi
and esi, eax
mov dword [esp + 0x58], ebx
add esi, edi
sub ebx, ecx
mov eax, esi
mov dword [esp + 0x50], ecx
sub eax, edx
lea ecx, [esp + 0x94]
imul eax, ebx
push eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x64], esi
mov dword [esp + 0x2c], ebx
call fcn.0043a160
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x18], ecx
mov edx, dword [edx + 0xc]
mov ecx, ebp
sar eax, cl
sar edx, 5
mov dword [esp + 0x44], edx
mov dword [esp + 0x9a0], 3
imul eax, edx
mov edx, dword [esp + 0x4c]
sar edx, cl
mov ecx, dword [esp + 0x14]
add eax, edx
mov edx, dword [ecx]
mov ecx, dword [esp + 0x50]
shl eax, 4
add eax, edx
cmp ecx, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
jge 0x43118b
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x54]
cmp ecx, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], ecx
jge 0x431157
mov eax, ecx
jmp 0x43103e
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
cmp ebp, 2
mov edx, ebp
jle 0x43107c
mov esi, dword [esp + 0xb8]
lea ecx, [eax + 0x1f]
cmp ecx, esi
jl 0x431077
cmp eax, dword [esp + 0xc0]
jg 0x431077
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0xbc]
lea ecx, [eax + 0x1f]
cmp ecx, esi
jl 0x431077
cmp eax, dword [esp + 0xc4]
jle 0x43107c
mov edx, 2
lea ecx, [edx + edx]
mov eax, 1
shl eax, cl
mov ecx, ebp
mov esi, 1
sub ecx, edx
shl ebx, cl
shl esi, cl
mov ecx, edx
add eax, 0xf
sar eax, 4
mov dword [esp + 0x7c], ebx
mov ebx, 0x20
sar ebx, cl
push eax
lea edx, [esp + 0x19c]
push 0
push edx
mov ecx, ebx
shl ecx, 5
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x38]
call fcn.004307f0
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x198]
test edi, edi
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], 0
jle 0x43111f
xor ecx, ecx
mov bp, word [eax]
add ecx, esi
mov word [edx], bp
lea ebp, [esi + esi]
add edx, ebp
lea ebp, [ebx + ebx]
add eax, ebp
cmp ecx, edi
jl 0x4310e0
mov edx, dword [esp + 0x64]
mov ebp, dword [esp + 0x7c]
mov ecx, dword [esp + 0x68]
lea edx, [edx + ebp*2]
mov ebp, dword [esp + 0x28]
add ecx, esi
mov dword [esp + 0x64], edx
cmp ecx, edi
mov dword [esp + 0x68], ecx
lea eax, [eax + ebp*2 - 0x40]
jl 0x4310de
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
add esi, 0x10
lea ecx, [eax + edi*2]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x54]
add eax, edi
mov dword [esp + 0x2c], esi
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x431036
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x58]
mov edx, ebx
mov ecx, ebp
shl edx, cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + edx*2]
mov ecx, dword [esp + 0x44]
shl ecx, 4
add eax, ecx
mov ecx, dword [esp + 0x10]
add ecx, edi
mov dword [esp + 0x18], edx
cmp ecx, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
jl 0x431012
mov ecx, dword [esp + 0x50]
test ebp, ebp
mov dword [esp + 0x10], 0
jle 0x4312bb
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x98]
neg ecx
neg eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
mov esi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x44]
mov eax, dword [eax + 0xc]
push ecx
mov dword [esp + 0x44], eax
lea eax, [edi - 1]
not eax
and edx, eax
and esi, eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x40], esi
call fcn.00445510
mov eax, dword [esp + 0x9bc]
test eax, eax
je 0x431203
cmp dword [esp + 0x10], 4
jge 0x431257
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, eax
mov esi, dword [esp + 0x24]
imul edx, ebx
add edx, ecx
lea edx, [esi + edx*2]
mov esi, edi
sar esi, 1
push esi
push edi
mov edi, dword [esp + 0x48]
push ebx
sub edi, eax
mov eax, dword [esp + 0x48]
sub eax, ecx
push edi
push eax
push edx
call fcn.00432c10
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
add esp, 0x18
inc eax
add edx, 0x10
cmp eax, ebp
mov edi, esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edx
jl 0x4311b6
jmp 0x4312b7
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
mov ecx, eax
mov ebp, eax
imul ecx, ebx
lea edi, [edx + ecx*2]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jge 0x4312b7
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
cmp esi, eax
jge 0x4312a9
lea eax, [esi + ebx]
lea ecx, [edi + esi*2]
lea edx, [edi + eax*2]
mov ax, word [ecx]
add esi, 2
mov word [ecx + 2], ax
mov word [edx + 2], ax
mov word [edx], ax
mov eax, dword [esp + 0x3c]
add ecx, 4
add edx, 4
cmp esi, eax
jl 0x431286
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
add ebp, 2
cmp ebp, ecx
lea edi, [edi + ebx*4]
jl 0x431279
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x9ac]
neg ecx
mov edx, dword [eax]
push ecx
mov dword [esp + 0x70], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x70]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x50]
neg eax
push eax
mov dword [esp + 0x7c], edx
call fcn.00445510
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x24]
mov ecx, eax
mov esi, dword [esp + 0x9b0]
imul ecx, ebx
mov dword [esp + 0x1c], esi
lea edi, [edx + ecx*2]
mov ecx, dword [esp + 0x78]
cmp eax, ecx
jge 0x431379
mov ebp, dword [esp + 0x6c]
sub ecx, eax
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x74]
cmp ebp, edx
jge 0x43135e
lea ecx, [edi + ebp*2]
sub edx, ebp
movsx eax, word [ecx]
add eax, 0x20
sar eax, 6
cmp eax, 0xffffff80
jge 0x43133f
mov eax, 0xffffff80
jmp 0x431349
cmp eax, 0x7f
jle 0x431349
mov eax, 0x7f
mov byte [esi], al
mov eax, dword [esp + 0x9b8]
add ecx, 2
add esi, eax
dec edx
jne 0x43132a
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x9b4]
mov eax, dword [esp + 0x20]
add esi, ecx
dec eax
mov dword [esp + 0x1c], esi
lea edi, [edi + ebx*2]
mov dword [esp + 0x20], eax
jne 0x43131d
lea ecx, [esp + 0x90]
mov dword [esp + 0x9a0], 0xffffffff
call fcn.0043a1a0
mov ecx, dword [esp + 0x998]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x994
ret 0x18