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

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor ebx, ebx
cmp esi, ebx
je 0x4ea48b
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4ea48b
mov ecx, dword [esi + 0x6c]
push ebp
xor ebp, ebp
cmp ecx, ebx
je 0x4ea2ae
mov eax, dword [esi + 0x70]
pop ebp
pop esi
pop ebx
ret 4
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x6c]
mov edi, eax
cmp edi, ebx
jne 0x4ea2c4
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
ret 4
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x4ea2d7
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x18]
mov ebp, eax
lea eax, [edi + ebp]
mov dword [esi + 0x70], eax
imul eax, eax, 0x3c
push eax
push 0x42
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x6c], eax
xor eax, eax
cmp ecx, eax
jbe 0x4ea482
mov ecx, ebp
xor edi, edi
neg ecx
mov dword [esp + 0x14], ecx
jmp 0x4ea320
xor eax, eax
jmp 0x4ea320
cmp ebx, ebp
mov edx, dword [esi + 0x6c]
mov dword [edi + edx + 0x1c], 0xffffffff
mov ecx, dword [esi + 0x6c]
mov dword [edi + ecx + 0x20], eax
mov edx, dword [esi + 0x6c]
mov dword [edi + edx + 0x34], eax
mov ecx, dword [esi + 0x6c]
mov dword [edi + ecx + 0x38], eax
mov ecx, dword [esi + 0x6c]
lea ecx, [edi + ecx + 0x20]
push ecx
jae 0x4ea35c
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
mov edx, dword [eax]
push ebx
push ecx
push eax
call dword [edx + 0x1c]
jmp 0x4ea36a
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 4]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x70]
test eax, eax
jl 0x4ea45b
cmp ebx, ebp
mov edx, dword [esi + 0x6c]
mov dword [edi + edx + 0x1c], ebx
jb 0x4ea39e
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x6c]
mov eax, dword [edi + eax + 0x20]
mov ecx, dword [eax]
push edx
mov edx, dword [esi + 0x38]
push edx
mov edx, dword [esi + 0x34]
push edx
mov edx, dword [esi + 0x30]
push edx
mov edx, dword [esi + 0x2c]
push edx
push eax
call dword [ecx + 0x38]
mov eax, dword [esi + 0x6c]
mov edx, dword [esi + 0x80]
mov eax, dword [edi + eax + 0x20]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x4ea465
cmp ebx, ebp
mov eax, dword [esi + 0x6c]
mov eax, dword [edi + eax + 0x20]
mov ecx, dword [eax]
jae 0x4ea3cd
lea edx, [esi + 0x10]
push edx
jmp 0x4ea3ce
push esi
push 1
push eax
call dword [ecx + 0x1c]
test eax, eax
jl 0x4ea465
mov eax, dword [esi + 0x6c]
xor edx, edx
add eax, edi
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], edx
mov ecx, dword [esi + 0x6c]
mov dword [edi + ecx], 0x1c
mov edx, dword [esi + 0x6c]
mov ecx, dword [edi + edx + 0x20]
lea eax, [edi + edx]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x18]
test eax, eax
jl 0x4ea465
mov eax, dword [esi + 0x6c]
mov ecx, dword [eax + edi + 8]
mov edx, dword [esi + 0x74]
add eax, edi
cmp ecx, edx
jg 0x4ea428
mov ecx, edx
mov dword [esi + 0x74], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esi + 0x78]
cmp eax, ecx
jg 0x4ea437
mov eax, ecx
mov edx, dword [esp + 0x14]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x70]
inc ebx
inc edx
add edi, 0x3c
cmp ebx, eax
mov dword [esp + 0x14], edx
jb 0x4ea312
pop edi
pop ebp
pop esi
mov eax, ebx
pop ebx
ret 4
pop edi
pop ebp
dec ebx
pop esi
mov eax, ebx
pop ebx
ret 4
mov ecx, dword [esi + 0x6c]
mov edi, ebx
imul edi, edi, 0x3c
mov eax, dword [edi + ecx + 0x20]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esi + 0x6c]
mov dword [edi + eax + 0x20], 0
pop edi
pop ebp
pop esi
mov eax, ebx
pop ebx
ret 4
pop esi
or eax, 0xffffffff
pop ebx
ret 4