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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb0
mov esi, esp
mov dword [esi + 0x98], ebp
call 0x4277dc
pop eax
mov dword [esi + 0x9c], esp
mov dword [esi + 0xa8], 0xffffffff
mov dword [esi + 0xa4], 0x43b4a0
lea edi, [esi + 0x40]
mov dword [esi + 0x38], ecx
lea ecx, [esi + 8]
mov dword [esi + 0x94], eax
mov eax, dword fs:[0]
mov dword [esi + 0xa0], eax
lea eax, [esi + 0xa0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x40], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 7
mov dword [esi + 0x5a], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x5e], 0
mov byte [esi + 0x5c], 1
push edi
push eax
call fcn.00427e80
add esp, 8
cmp byte [esi + 8], 4
jne 0x427872
mov edx, dword [esi + 0xc]
jmp 0x427880
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
cmp al, 4
jne 0x42795a
lea ecx, [esi + 0x40]
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], edx
call fcn.004280b0
mov eax, dword [esi + 0x40]
xor eax, 2
or eax, dword [esi + 0x44]
jne 0x4278ec
movzx eax, byte [esi + 0x48]
mov edi, dword [esi + 0x4c]
cmp al, 4
je 0x4278ef
cmp al, 3
jne 0x4279db
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esi + 0x18], edi
mov dword [esi + 0xa8], 3
mov dword [esi + 0x14], eax
push eax
mov dword [esi + 4], ecx
call dword [ecx]
add esp, 4
mov eax, dword [esi + 4]
mov edi, dword [esi + 0x18]
cmp dword [eax + 4], 0
je 0x4279cc
cmp dword [eax + 8], 9
jae 0x4279b7
mov eax, dword [esi + 0x14]
jmp 0x4279bd
mov edi, dword [esi + 0x78]
test edi, edi
je 0x42797d
js 0x427d45
movzx eax, byte [0xc87948]
mov eax, dword [0xc879c8]
test eax, eax
jne 0x427920
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x427d2d
mov dword [0xc879c8], eax
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x427d2d
lea edx, [edi + 0x400]
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
mov eax, edx
and eax, 0x1fff
jne 0x42799e
mov dword [esi + 0x2c], 0
jmp 0x4279fc
mov edi, dword [esi + 0x38]
mov ecx, eax
shr ecx, 8
mov byte [edi + 4], al
shr eax, 0x18
mov word [edi + 5], cx
mov byte [edi + 7], al
mov dword [edi + 8], edx
mov dword [edi], 0x80000000
jmp 0x427cf7
xor edi, edi
mov eax, 0x400
mov edx, 0x400
mov dword [esi + 8], 0
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], 0
mov ecx, 0x2000
mov dword [esi + 0x2c], 0
sub ecx, eax
add edx, ecx
setb al
test al, 1
jne 0x4279f7
jmp 0x4279fc
mov eax, dword [esi + 0x14]
mov eax, dword [eax - 4]
push eax
push 0
push dword [0xc879c8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
push 0
push dword [0xc879c8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov al, 1
xor edi, edi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], 0
mov dword [esi + 0x2c], eax
mov edx, 0x2000
test edi, edi
mov ecx, dword [esi + 0x2c]
not cl
mov ebx, edi
mov dword [esi + 4], 0
mov dword [esi + 0x18], edi
setne al
test cl, al
mov ecx, 0
jne 0x427a76
cmp edi, 0x20
mov ebx, edi
jae 0x427a76
lea eax, [esi + 8]
mov dword [esi + 0x1c], edx
mov dword [esi + 0xa8], 1
lea ecx, [esi + 0x40]
lea edx, [esi + 0x30]
push eax
call fcn.004281b0
add esp, 4
movzx eax, byte [esi + 0x40]
cmp al, 4
jne 0x427ca3
cmp dword [esi + 0x44], 0
je 0x427c8f
mov ebx, dword [esi + 8]
mov ecx, dword [esi + 0x10]
mov edi, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
jmp 0x427a76
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x3c]
cmp ecx, ebx
mov dword [esi + 0x1c], edx
jne 0x427abc
cmp ebx, edi
jne 0x427abc
lea eax, [esi + 8]
mov dword [esi + 0xa8], 1
lea ecx, [esi + 0x40]
lea edx, [esi + 0x30]
push eax
call fcn.004281b0
add esp, 4
movzx eax, byte [esi + 0x40]
cmp al, 4
jne 0x427ca3
cmp dword [esi + 0x44], 0
je 0x427c8f
mov ebx, dword [esi + 8]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x1c]
cmp ecx, ebx
mov dword [esi + 0xa8], 1
jne 0x427ae2
lea ecx, [esi + 8]
mov edx, ebx
push 0x20
call fcn.004496a0
add esp, 4
mov ebx, dword [esi + 8]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0xc]
mov dword [esi + 0x90], ebx
sub ebx, ecx
mov dword [esi + 0x3c], ecx
add eax, ecx
cmp ebx, edx
lea ecx, [esi + 0x24]
mov dword [esi + 0x40], eax
mov eax, dword [esi + 4]
cmovae ebx, edx
mov edx, dword [esi + 0x30]
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], 0
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x4c], eax
lea eax, [esi + 0x40]
mov dword [esi + 4], edx
push eax
call fcn.004283c0
add esp, 4
jmp 0x427b6f
movzx eax, byte [esi + 0x24]
cmp al, 4
je 0x427c00
movzx eax, al
mov eax, dword [eax*4 + 0x427e70]
add eax, dword [esi + 0x94]
jmp eax
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
mov edi, dword [esi + 0x18]
mov ebx, dword [esi + 0x90]
mov edx, eax
sub edx, ecx
mov dword [esi + 4], edx
jb 0x427d1c
mov edx, dword [esi + 0x44]
cmp eax, edx
ja 0x427d0b
test ecx, ecx
je 0x427c8f
mov edx, dword [esi + 0x3c]
add edx, ecx
cmp byte [esi + 0x2c], 0
mov dword [esi + 0x3c], edx
mov dword [esi + 0x10], edx
je 0x427a70
mov edi, dword [esi + 0x8c]
mov edx, dword [esi + 0x1c]
cmp eax, edi
mov eax, 0xffffffff
cmovne edx, eax
cmp ecx, edi
jne 0x427c7d
cmp edi, edx
mov edi, dword [esi + 0x18]
jb 0x427c75
test edx, edx
lea eax, [edx + edx]
mov ecx, 0xffffffff
cmovs eax, ecx
mov ecx, dword [esi + 0x3c]
mov edx, eax
jmp 0x427a76
mov ecx, dword [esi + 0x3c]
jmp 0x427a76
mov edi, dword [esi + 0x18]
mov ecx, dword [esi + 0x3c]
jmp 0x427a76
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x38]
movsd xmm0, qword [esi + 8]
mov dword [ecx + 8], eax
movsd qword [ecx], xmm0
jmp 0x427cee
movzx edx, byte [esi + 0x43]
movzx ecx, word [esi + 0x41]
shl edx, 0x10
or ecx, edx
mov edx, dword [esi + 0x44]
jmp 0x427cbe
mov edi, dword [esi + 0x38]
mov word [edi + 5], cx
shr ecx, 0x10
cmp dword [esi + 8], 0
mov byte [edi + 7], cl
mov byte [edi + 4], al
mov dword [edi + 8], edx
mov dword [edi], 0x80000000
je 0x427cee
push dword [esi + 0xc]
push 0
push dword [0xc879c8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0xa0]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, eax
push 0xc7c760
call fcn.004498c0
add esp, 4
jmp 0x427d54
mov edx, eax
push 0xc7c760
call fcn.00449ab0
add esp, 4
jmp 0x427d54
mov ecx, 1
mov edx, edi
mov dword [esi + 0xa8], 0
call fcn.00449730
jmp 0x427d54
mov dword [esi + 0xa8], 0
call fcn.0040ff20
ud2