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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x175c
call fcn.0045a8a0
mov eax, dword [0x48b114]
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x1760], eax
mov eax, dword [esi + 0x3e0]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x228]
test eax, eax
push edi
jne 0x42765b
mov edx, dword [ecx + 0x188]
test edx, edx
jne 0x427656
xor edx, edx
jmp 0x427661
mov edx, dword [ecx + 0x78]
jmp 0x427661
mov edx, dword [ecx + 0x1c0]
test eax, eax
mov dword [esp + 0x24], edx
jne 0x42767c
mov eax, dword [ecx + 0x188]
test eax, eax
jne 0x427677
xor ebx, ebx
jmp 0x427682
mov ebx, dword [ecx + 0x7c]
jmp 0x427682
mov ebx, dword [ecx + 0x1bc]
call fcn.0043cfe0
mov eax, dword [eax + 4]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427694
sub eax, edx
mov dword [esp + 0x18], eax
xor eax, eax
mov ecx, pe_nt_image_headers32
lea edi, [esp + 0x860]
rep stosd dword es:[edi], eax
mov ecx, 0xc0
lea edi, [esp + 0x1460]
rep stosd dword es:[edi], eax
mov ecx, pe_nt_image_headers32
lea edi, [esp + 0x460]
rep stosd dword es:[edi], eax
mov ecx, pe_nt_image_headers32
lea edi, [esp + 0x60]
rep stosd dword es:[edi], eax
mov ecx, pe_nt_image_headers32
lea edi, [esp + 0x1060]
rep stosd dword es:[edi], eax
mov ecx, pe_nt_image_headers32
lea edi, [esp + 0xc60]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x54c]
mov ecx, dword [esi + 0x554]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x1c], ecx
jge 0x427715
lea edx, [eax + ecx]
test edx, edx
jge 0x427715
mov dword [esp + 0x1c], edi
add ecx, eax
cmp ebx, ecx
jae 0x427729
sub ebx, eax
cmp ecx, edi
mov dword [esp + 0x1c], ebx
jge 0x427729
mov dword [esp + 0x1c], edi
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x28]
push eax
call fcn.0043c8f0
mov eax, dword [esi + 0x550]
shl eax, 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], ebx
jle 0x42789b
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x1460]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
lea ebx, [ebx]
mov eax, dword [esp + 0xc]
movsx ecx, byte [eax]
push ecx
call fcn.0045bae2
add esp, 4
test eax, eax
je 0x4277c3
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push 2
push edx
push eax
call fcn.0045af60
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
push 2
push edx
push eax
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 0x4277ee
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push 1
push ecx
push edx
call fcn.0045af60
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
push 1
push ecx
push edx
call dword [0x47e040]
mov eax, dword [esp + 0x3c]
shl eax, 1
xor ecx, ecx
cmp ebx, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + edi*4 + 0x860], eax
mov dword [esp + edi*4 + 0x460], ecx
mov dword [esp + edi*4 + 0x60], eax
jge 0x42782d
lea edx, [eax + ebx]
test edx, edx
mov dword [esp + edi*4 + 0x460], ebx
jge 0x42782d
mov dword [esp + edi*4 + 0x460], ecx
mov dword [esp + edi*4 + 0x60], ecx
mov ecx, dword [esp + 0x24]
lea edx, [eax + ebx]
cmp ecx, edx
jae 0x427853
sub eax, ecx
add eax, ebx
cmp ecx, ebx
mov dword [esp + edi*4 + 0x60], eax
jae 0x427853
xor eax, eax
mov dword [esp + edi*4 + 0x460], eax
mov dword [esp + edi*4 + 0x60], eax
jmp 0x427855
xor eax, eax
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
mov dword [esp + edi*4 + 0x1060], eax
mov eax, dword [esp + 0x1c]
add edx, 3
add ebx, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + edi*4 + 0xc60], 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 0x427770
mov dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x28]
mov ebx, dword [ebp + 8]
push ecx
mov ecx, ebx
call fcn.0043c930
mov ecx, ebx
call fcn.0043c970
mov edx, dword [esi + 0x53c]
mov ecx, dword [esi + 0x540]
mov dword [esp + 0x48], eax
mov eax, 1
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0x544]
mov dword [esi + 0x53c], eax
mov dword [esi + 0x540], eax
mov dword [esi + 0x544], eax
mov eax, dword [esi + 0x554]
mov dword [esp + 0x30], ecx
lea ecx, [eax + 8]
imul ecx, ecx, 0xf00
mov dword [esp + 0x20], edx
mov edx, dword [esi + 0x550]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x58], eax
xor ebx, ebx
lea ecx, [eax + eax]
lea eax, [edx + edx]
cmp eax, ebx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x1c], ebx
jge 0x42791d
xor eax, eax
cmp ecx, ebx
jge 0x427923
xor ecx, ecx
mov dword [esi + 0x550], eax
mov eax, dword [esi + 0x3dc]
push 0x47f3a2
mov dword [esi + 0x554], ecx
push eax
mov ecx, esi
call fcn.004227f0
mov eax, dword [esi + 0x54c]
imul eax, dword [esp + 0x24]
add eax, dword [esi + 0x548]
test edi, edi
mov dword [esp + 0x44], eax
jle 0x427add
lea ecx, [esp + 0x1460]
mov dword [esp + 0x14], ecx
lea ebx, [ebx]
mov eax, dword [esp + 0x10]
xor edx, edx
test eax, eax
mov dword [esp + 0x18], edx
jle 0x4279c3
mov eax, dword [esp + ebx*4 + 0x860]
add eax, 8
lea ecx, [eax + eax*2]
shl ecx, 1
mov dword [esp + 0xc], ecx
jmp 0x427997
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x34]
add edi, edx
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 + 0x10]
add edx, 0x780
cmp edx, eax
mov dword [esp + 0x18], edx
jl 0x427993
mov eax, dword [esp + 0x14]
lea edi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4279d0
mov ecx, dword [esi + 0x3dc]
sub eax, edi
push eax
mov eax, dword [esp + 0x18]
push eax
push 8
push 8
push ecx
call dword [0x47e03c]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
add ecx, eax
mov eax, dword [esp + ebx*4 + 0x860]
neg eax
add edi, eax
lea eax, [eax + eax*2 + 0x780]
shl eax, 1
mov dword [esp + 0x50], edi
mov edi, dword [esp + ebx*4 + 0xc60]
mov dword [esp + 0x54], eax
mov eax, dword [esp + ebx*4 + 0x1060]
cmp eax, edi
mov edx, 0x3c18
jge 0x427ab4
sub edi, eax
mov dword [esp + 0xc], edi
jmp 0x427a40
mov eax, dword [esp + ebx*4 + 0x460]
mov edi, dword [esp + ebx*4 + 0x60]
cmp eax, edi
jge 0x427a9d
sub edi, eax
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x34]
cmp byte [edx + eax], 0
je 0x427a8e
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
sar eax, 3
sar edi, 2
shl eax, 6
or eax, edi
mov edi, dword [esp + 0x20]
shl eax, 5
sar edi, 3
or eax, edi
mov edi, dword [esp + 0x48]
mov word [edi + ecx*2], ax
mov eax, dword [esp + 0x4c]
mov byte [ecx + eax], 0xff
mov eax, dword [esp + 0x18]
inc ecx
add edx, 6
dec eax
mov dword [esp + 0x18], eax
jne 0x427a55
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
add ecx, eax
mov eax, dword [esp + 0xc]
add edx, edi
dec eax
mov dword [esp + 0xc], eax
jne 0x427a40
mov eax, dword [esp + ebx*4 + 0x860]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add edi, eax
mov eax, dword [esp + 0x2c]
inc ebx
add ecx, 3
cmp ebx, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], ecx
jl 0x427970
mov eax, dword [esi + 0x42c]
test eax, eax
je 0x427b10
mov ecx, dword [esi + 0x3dc]
push eax
push ecx
call dword [0x47e06c]
mov edx, dword [esi + 0x428]
push edx
call dword [0x47e058]
xor eax, eax
mov dword [esi + 0x428], eax
mov dword [esi + 0x42c], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x540], ecx
mov ecx, dword [esp + 0x58]
mov dword [esi + 0x53c], eax
mov eax, dword [esp + 0x5c]
mov dword [esi + 0x554], ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 0x544], edx
mov dword [esi + 0x550], eax
call fcn.0043c9e0
mov ecx, dword [esp + 0x1764]
mov al, 1
call fcn.0045a5f9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8