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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x177c
call fcn.0045a8a0
mov eax, dword [0x48b114]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov ecx, edi
mov dword [esp + 0x1784], eax
mov dword [esp + 0x44], ebx
call fcn.0043cfe0
mov eax, dword [eax + 4]
mov esi, dword [ebx + 0x3e0]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x228]
test eax, eax
mov dword [esp + 0x64], esi
jne 0x42419d
mov ecx, dword [edi + 0x188]
test ecx, ecx
jne 0x424198
xor ecx, ecx
jmp 0x4241a3
mov ecx, dword [edi + 0x78]
jmp 0x4241a3
mov ecx, dword [edi + 0x1c0]
test eax, eax
mov dword [esp + 0x2c], ecx
jne 0x4241be
mov eax, dword [edi + 0x188]
test eax, eax
jne 0x4241b9
xor edx, edx
jmp 0x4241c4
mov edx, dword [edi + 0x7c]
jmp 0x4241c4
mov edx, dword [edi + 0x1bc]
mov eax, dword [ebp + 0xc]
lea edi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4241d0
sub eax, edi
mov dword [esp + 0x20], eax
xor eax, eax
mov ecx, pe_nt_image_headers32
lea edi, [esp + 0x880]
rep stosd dword es:[edi], eax
mov ecx, 0xc0
lea edi, [esp + 0x1480]
rep stosd dword es:[edi], eax
mov ecx, pe_nt_image_headers32
lea edi, [esp + 0x480]
rep stosd dword es:[edi], eax
mov ecx, pe_nt_image_headers32
lea edi, [esp + 0x80]
rep stosd dword es:[edi], eax
mov ecx, pe_nt_image_headers32
lea edi, [esp + 0x1080]
rep stosd dword es:[edi], eax
mov ecx, pe_nt_image_headers32
lea edi, [esp + 0xc80]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x54c]
test eax, eax
mov ecx, dword [ebx + 0x554]
mov dword [esp + 0x1c], ecx
jge 0x424256
lea edi, [eax + ecx]
test edi, edi
jge 0x424256
mov dword [esp + 0x1c], 0
add ecx, eax
cmp edx, ecx
jae 0x42426e
sub edx, eax
test ecx, ecx
mov dword [esp + 0x1c], edx
jge 0x42426e
mov dword [esp + 0x1c], 0
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x30]
push edx
call fcn.0043c8f0
mov eax, dword [ebx + 0x550]
shl eax, 1
xor edi, edi
mov dword [esp + 0x28], eax
cmp dword [esp + 0x20], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
jle 0x4243f6
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x1480]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0xc]
movsx eax, byte [edx]
push eax
call fcn.0045bae2
add esp, 4
test eax, eax
je 0x424304
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push 2
push ecx
push edx
call fcn.0045af60
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
add esp, 0xc
lea eax, [esp + 0x5c]
push eax
push 2
push ecx
push edx
call dword [0x47e040]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
inc ecx
inc eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
jmp 0x42432f
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push 1
push eax
push ecx
call fcn.0045af60
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
add esp, 0xc
lea edx, [esp + 0x5c]
push edx
push 1
push eax
push ecx
call dword [0x47e040]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x28]
shl eax, 1
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x18]
test eax, eax
mov dword [esp + edi*4 + 0x880], ecx
mov dword [esp + edi*4 + 0x480], 0
mov dword [esp + edi*4 + 0x80], ecx
jge 0x42437c
lea edx, [ecx + eax]
test edx, edx
mov dword [esp + edi*4 + 0x480], eax
jge 0x42437c
xor edx, edx
mov dword [esp + edi*4 + 0x480], edx
mov dword [esp + edi*4 + 0x80], edx
lea edx, [ecx + eax]
mov ecx, dword [esp + 0x2c]
cmp ecx, edx
jae 0x4243ac
mov edx, dword [esp + 0x28]
sub edx, ecx
add edx, eax
cmp ecx, eax
mov dword [esp + edi*4 + 0x80], edx
jae 0x4243ac
xor ecx, ecx
mov dword [esp + edi*4 + 0x480], ecx
mov dword [esp + edi*4 + 0x80], ecx
jmp 0x4243ae
xor ecx, ecx
mov edx, dword [esp + 0x10]
mov dword [esp + edi*4 + 0x1080], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + edi*4 + 0xc80], ecx
add eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x20]
add edx, 3
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
inc edi
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xc]
inc eax
inc edx
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], edx
jl 0x4242b1
mov dword [esp + 0x4c], edi
mov edx, dword [esp + 0x30]
mov ecx, dword [ebp + 8]
push edx
call fcn.0043c930
mov ecx, dword [ebp + 8]
call fcn.0043c970
mov ecx, dword [ebx + 0x540]
mov edx, dword [ebx + 0x544]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x53c]
mov dword [esp + 0x38], eax
mov eax, 1
mov dword [ebx + 0x53c], eax
mov dword [ebx + 0x540], eax
mov dword [ebx + 0x544], eax
mov eax, dword [ebx + 0x554]
mov dword [esp + 0x48], ecx
lea ecx, [eax + 8]
imul ecx, ecx, 0xf00
mov dword [esp + 0x50], edx
mov edx, dword [ebx + 0x550]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x78], eax
lea ecx, [eax + eax]
lea eax, [edx + edx]
test eax, eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x28], 0
jge 0x424479
xor eax, eax
test ecx, ecx
jge 0x42447f
xor ecx, ecx
mov dword [ebx + 0x550], eax
mov eax, dword [ebx + 0x3dc]
push 0x47f3a2
mov dword [ebx + 0x554], ecx
push eax
mov ecx, ebx
call fcn.004227f0
mov eax, dword [ebx + 0x54c]
imul eax, dword [esp + 0x2c]
add eax, dword [ebx + 0x548]
test edi, edi
mov dword [esp + 0x68], eax
mov dword [esp + 0xc], 0
jle 0x4247ca
lea ecx, [esp + 0x1480]
mov dword [esp + 0x1c], ecx
mov edi, edi
mov eax, dword [esp + 0x54]
xor edx, edx
test eax, eax
mov dword [esp + 0x18], edx
jle 0x424529
mov eax, dword [esp + 0xc]
mov eax, dword [esp + eax*4 + 0x880]
add eax, 8
lea ecx, [eax + eax*2]
shl ecx, 1
mov dword [esp + 0x24], ecx
jmp 0x424500
mov ecx, dword [esp + 0x24]
jmp 0x424500
lea edi, [edx + esi]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x18]
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x54]
add edx, 0x780
cmp edx, eax
mov dword [esp + 0x18], edx
jl 0x4244f7
mov eax, dword [esp + 0x1c]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424530
mov ecx, dword [ebx + 0x3dc]
sub eax, edi
push eax
mov eax, dword [esp + 0x20]
push eax
push 8
push 8
push ecx
call dword [0x47e03c]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
add ecx, eax
mov eax, dword [esp + 0xc]
mov eax, dword [esp + eax*4 + 0x880]
neg eax
add edi, eax
lea eax, [eax + eax*2 + 0x780]
shl eax, 1
mov dword [esp + 0x70], edi
mov edi, dword [esp + 0xc]
mov dword [esp + 0x74], eax
mov eax, dword [esp + edi*4 + 0x1080]
cmp eax, dword [esp + edi*4 + 0xc80]
lea edi, [esp + edi*4 + 0xc80]
mov edx, 0x3c18
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edi
jge 0x424799
mov edi, dword [esp + 0xc]
mov edi, dword [esp + edi*4 + 0x480]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0xc]
mov edi, dword [esp + edi*4 + 0x80]
mov dword [esp + 0x6c], edi
mov edi, dword [esp + 0x24]
mov edi, dword [edi]
sub edi, eax
mov dword [esp + 0x24], edi
jmp 0x4245e0
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x6c]
jge 0x424776
mov eax, dword [esp + 0xc]
mov eax, dword [esp + eax*4 + 0x80]
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x40], eax
jmp 0x424610
movzx ebx, byte [edx + esi + 0x783]
movzx eax, byte [edx + esi - 0x783]
movzx edi, byte [edx + esi - 0x780]
and eax, ebx
movzx ebx, byte [edx + esi + 0x780]
and ebx, edi
movzx edi, byte [edx + esi + 3]
or eax, ebx
mov ebx, edi
movzx edi, byte [edx + esi - 3]
and ebx, edi
movzx edi, byte [edx + esi + 0x77d]
or eax, ebx
mov ebx, edi
movzx edi, byte [edx + esi - 0x77d]
and ebx, edi
or eax, ebx
movzx ebx, byte [edx + esi]
and eax, ebx
add eax, ebx
movzx ebx, byte [edx + esi + 3]
add eax, ebx
movzx ebx, byte [edx + esi - 3]
add eax, ebx
movzx ebx, byte [edx + esi + 0x77d]
add eax, ebx
add eax, edi
movzx edi, byte [edx + esi + 0x780]
add eax, edi
movzx edi, byte [edx + esi - 0x780]
add eax, edi
je 0x424757
imul eax, eax, 0xff
mov edx, dword [esp + 0x58]
sar eax, 3
mov esi, eax
movzx eax, byte [ecx + edx]
mov edi, 0xff
sub edi, esi
imul edi, eax
mov eax, 0x80808081
imul edi
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + ecx*4 + 2]
add edx, edi
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edi, edx
imul eax, edi
lea edx, [edi + esi]
mov dword [esp + 0x10], edx
mov edx, esi
imul edx, dword [esp + 0x38]
add eax, edx
xor edx, edx
div dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
shl eax, 8
mov dword [esp + 0x34], eax
movzx eax, byte [edx + ecx*4 + 1]
imul eax, edi
mov ecx, esi
imul esi, dword [esp + 0x50]
imul ecx, dword [esp + 0x48]
add eax, ecx
xor edx, edx
div ebx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
or ecx, eax
shl ecx, 8
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + ecx*4]
and eax, 0xff
imul eax, edi
add eax, esi
xor edx, edx
div ebx
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x64]
or edx, eax
mov eax, dword [esp + 0x14]
mov dword [eax + ecx*4], edx
mov eax, dword [esp + 0x58]
mov dl, bl
mov byte [ecx + eax], dl
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
inc ecx
add edx, 6
dec eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x40], eax
jne 0x424610
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
add ecx, eax
mov eax, dword [esp + 0x24]
add edx, edi
dec eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], eax
jne 0x4245e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + eax*4 + 0x880]
mov edx, dword [esp + 0x28]
add edx, ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x1c]
inc eax
add edx, 3
cmp eax, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], edx
jl 0x4244d0
mov eax, dword [ebx + 0x42c]
test eax, eax
je 0x4247fd
mov edx, dword [ebx + 0x3dc]
push eax
push edx
call dword [0x47e06c]
mov eax, dword [ebx + 0x428]
push eax
call dword [0x47e058]
xor eax, eax
mov dword [ebx + 0x428], eax
mov dword [ebx + 0x42c], eax
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
mov dword [ebx + 0x53c], ecx
mov ecx, dword [esp + 0x7c]
mov dword [ebx + 0x540], edx
mov edx, dword [esp + 0x78]
mov dword [ebx + 0x550], ecx
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x544], eax
mov dword [ebx + 0x554], edx
call fcn.0043c9e0
mov ecx, dword [esp + 0x1784]
mov al, 1
call fcn.0045a5f9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8