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

Disassembly:
sub esp, 0xd0
mov eax, dword [0x64786c]
xor eax, esp
mov dword [esp + 0xcc], eax
push ebx
push ebp
mov ebp, dword [esp + 0xdc]
push esi
mov esi, ecx
mov eax, dword [esi]
mov ebx, dword [eax + 0x620]
push edi
mov edi, dword [eax + 0xc]
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x10], eax
lea eax, [ebp - 1]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x40], eax
cmp eax, 3
ja 0x424262
push 0x50
call fcn.0042f0e0
mov dword [esp + 0x1c], eax
test eax, eax
je 0x424262
mov ecx, dword [esi]
xor edx, edx
mov dword [ecx + 0x38], eax
cmp dword [edi + 0x18], 1
setg dl
inc edx
mov dword [esp + 0x2c], edx
test ebp, ebp
jle 0x423e04
lea edx, [esp + 0x48]
lea esi, [edi + 0x24]
mov ebx, ebp
mov ecx, dword [esi - 4]
mov eax, dword [esi]
add eax, 0xf
add ecx, 0xf
sar ecx, 4
sar eax, 4
imul eax, ecx
mov dword [edx], eax
add eax, eax
add dword [esp + 0x10], eax
mov dword [edx - 4], ecx
mov dword [edx + 4], eax
add esi, 0xc8
add edx, 0xc
sub ebx, 1
jne 0x423dd4
xor ecx, ecx
cmp dword [esp + 0x2c], ecx
mov dword [esp + 0x20], ecx
jle 0x423ea0
test ecx, ecx
sete al
xor edx, edx
test ebp, ebp
jle 0x423e91
movzx eax, al
lea ecx, [eax*4]
mov ebx, dword [esp + ecx + 0x34]
lea esi, [esp + ecx + 0x34]
mov dword [esp + 0x28], esi
lea esi, [eax + ebx*2]
add edi, 0x20
add ebx, ebp
lea esi, [esp + esi*4 + 0x74]
mov dword [esp + 0x18], ebx
mov eax, dword [edi]
add eax, 0xf
and eax, 0xfffffff0
add eax, 0x40
lea ebx, [eax + 0x1f]
sar eax, 1
add eax, 0xf
and ebx, 0xffffffe0
and eax, 0xfffffff0
mov dword [esi], edx
mov dword [esp + ecx + 0xb4], ebx
mov dword [esp + ecx + 0x94], eax
inc edx
add esi, 8
add edi, 0xc8
add ecx, 8
cmp edx, ebp
jl 0x423e45
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov dword [ecx], eax
mov ecx, dword [esp + 0x20]
inc ecx
cmp ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], ecx
jl 0x423e14
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x3c]
lea esi, [edx + eax]
lea edi, [ebp + ebp*2]
lea esi, [esi + esi*2]
shl edi, 5
lea edx, [edi + ecx*2]
shl esi, 5
add edx, esi
push edx
call fcn.0042f0e0
xor edx, edx
cmp eax, edx
je 0x424262
mov ecx, dword [esp + 0x10]
add esi, eax
add edi, esi
add ecx, edi
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x18], ecx
xor ecx, ecx
cmp esi, edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], ecx
jle 0x423f62
lea esp, [esp]
cmp ecx, edx
sete bl
movzx ebx, bl
cmp dword [esp + ebx*4 + 0x34], edx
jle 0x423f55
mov ebp, dword [esp + ebx*4 + 0x34]
lea edi, [esp + ebx*4 + 0x74]
mov ecx, dword [edi]
lea esi, [ebx + ecx*2]
add esi, esi
add esi, esi
mov edx, dword [esp + esi + 0x94]
mov ecx, dword [esp + esi + 0xb4]
push edx
call fcn.00442980
mov ecx, dword [esp + 0x20]
mov dword [esi + ecx], eax
add esp, 4
add eax, 0x60
add edi, 8
sub ebp, 1
jne 0x423f16
mov ebp, dword [esp + 0xe4]
mov ecx, dword [esp + 0x20]
xor edx, edx
mov esi, dword [esp + 0x2c]
inc ecx
cmp ecx, esi
mov dword [esp + 0x20], ecx
jl 0x423f00
xor ecx, ecx
cmp esi, edx
mov dword [esp + 0x20], ecx
jle 0x423ff5
cmp ecx, edx
sete al
cmp ebp, edx
mov dword [esp + 0x10], edx
jle 0x423fe8
mov ecx, dword [esp + 0x1c]
movzx eax, al
mov edx, dword [esp + eax*4 + 0x34]
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], eax
lea edx, [ecx + eax*4]
xor ecx, ecx
xor edi, edi
xor bl, bl
cmp dword [esp + 0x30], ecx
jle 0x423fc5
lea esi, [esp + eax*4 + 0x74]
mov eax, dword [esi]
cmp eax, dword [esp + 0x10]
je 0x424237
test bl, bl
jne 0x423fb7
mov edi, eax
mov bl, 1
mov eax, dword [esp + 0x24]
inc ecx
add esi, 8
cmp ecx, dword [esp + eax*4 + 0x34]
jl 0x423fa3
mov esi, dword [esp + 0x1c]
lea ecx, [eax + edi*2]
mov ecx, dword [esi + ecx*4]
mov dword [edx], ecx
inc dword [esp + 0x10]
add edx, 8
cmp dword [esp + 0x10], ebp
jl 0x423f93
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
xor edx, edx
inc ecx
cmp ecx, esi
mov dword [esp + 0x20], ecx
jl 0x423f70
xor esi, esi
cmp ebp, edx
jle 0x42404b
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x4c]
add eax, 0x30
mov dword [esp + 0x24], ebp
mov esi, ebp
lea esp, [esp]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
mov ecx, dword [edx]
add dword [esp + 0x14], ecx
mov dword [eax], ebx
mov ebx, dword [esp + 0x18]
mov dword [eax - 0x10], edi
mov dword [eax + 0x10], ebx
add edi, 0x60
add ebx, ecx
add eax, 4
add edx, 0xc
sub dword [esp + 0x24], 1
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], ebx
jne 0x424010
cmp ebp, 4
jge 0x42406b
xor edx, edx
mov ecx, dword [esp + 0x1c]
lea eax, [ecx + esi*4 + 0x30]
mov dword [ecx + esi*8], edx
mov dword [ecx + esi*8 + 4], edx
mov dword [eax - 0x10], edx
mov dword [eax], edx
mov dword [eax + 0x10], edx
inc esi
add eax, 4
cmp esi, 4
jl 0x424053
mov ebx, dword [esp + 0x3c]
lea esi, [ebp + ebp*2]
add esi, esi
add esi, esi
mov dx, word [esp + esi + 0x38]
lea eax, [esp + esi + 0x38]
add dx, 3
mov dword [esp + 0x2c], eax
and dx, 0xfffc
movzx eax, dx
movsx edi, ax
mov dword [esp + 0x28], eax
lea eax, [edi + edi]
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x28], eax
call fcn.0042f0e0
mov ebp, eax
test ebp, ebp
je 0x424262
xor edx, edx
test edi, edi
jle 0x4240e5
lea eax, [ebp + 4]
lea ebx, [ebx]
movzx ecx, dx
lea ebx, [ecx + 1]
mov word [eax - 2], bx
mov word [eax - 4], cx
lea ebx, [ecx + 2]
add ecx, 3
mov word [eax], bx
mov word [eax + 2], cx
add edx, 4
add eax, 8
cmp edx, edi
jl 0x4240c0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
test eax, eax
jl 0x42414d
mov ecx, dword [esp + 0x1c]
lea ebx, [eax + eax*2]
lea edx, [ecx + eax*4 + 0x30]
lea ebx, [esp + ebx*4 + 0x48]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
mov esi, dword [eax]
mov eax, dword [ebx]
mov ecx, dword [ebx - 4]
cdq
idiv ecx
lea edi, [ecx + ecx]
test eax, eax
jle 0x424134
mov dword [esp + 0x18], eax
lea ecx, [ecx]
push edi
push ebp
push esi
call fcn.00597e30
add esp, 0xc
add esi, edi
sub dword [esp + 0x18], 1
jne 0x424120
mov eax, dword [esp + 0x10]
sub dword [esp + 0x14], 4
dec eax
sub ebx, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jge 0x424104
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
push ecx
push 0
push ebp
call fcn.00597130
mov eax, dword [esp + esi + 0x48]
mov ecx, dword [esp + 0x38]
cdq
idiv dword [ecx]
lea edx, [esp + 0xde]
shr edx, 1
and edx, 7
add edx, edx
mov ecx, edx
xor ebx, ebx
lea edx, [esp + 0xde]
add esp, 0xc
sub edx, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], edx
movzx eax, ax
cwde
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x40]
test esi, esi
jl 0x4241e9
mov ecx, dword [esp + 0x1c]
lea edi, [esi + esi*2]
lea edi, [esp + edi*4 + 0x48]
lea ebx, [ecx + esi*4 + 0x40]
lea ebx, [ebx]
mov eax, dword [edi]
mov ecx, dword [edi - 4]
cdq
idiv ecx
mov edx, dword [esp + 0x14]
cmp edx, eax
jge 0x4241d6
lea eax, [ecx + ecx]
imul ecx, edx
mov edx, dword [ebx]
push eax
lea eax, [edx + ecx*2]
push ebp
push eax
call fcn.00597e30
add esp, 0xc
dec esi
sub ebx, 4
sub edi, 0xc
test esi, esi
jge 0x4241b0
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x14]
inc ebx
cmp ebx, dword [esp + 0x18]
mov dword [esp + 0x14], ebx
jge 0x424240
mov eax, ebx
shl eax, 0x10
or eax, ebx
xor ecx, ecx
cmp cx, word [esp + 0x28]
mov dword [edx], eax
mov dword [edx + 4], eax
jge 0x424193
mov ecx, eax
mov dword [ebp], eax
mov ax, word [esp + 0x28]
dec ax
shr ax, 2
mov dword [ebp + 4], ecx
inc ax
movzx ecx, ax
lea ecx, [ecx*8 - 5]
shr ecx, 2
mov esi, ebp
lea edi, [ebp + 8]
rep movsd dword es:[edi], dword [esi]
jmp 0x424193
mov eax, dword [esp + 0x24]
jmp 0x423fd1
mov eax, dword [esp + 0x3c]
mov ecx, 0xfffffff9
sub ecx, dword [ebp - 8]
sub ecx, dword [eax + 4]
add dword [eax + 8], ecx
mov edx, dword [ebp - 4]
push edx
call fcn.005975b8
add esp, 4
xor eax, eax
jmp 0x424267
mov eax, 1
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0059709c
add esp, 0xd0
ret