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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x70
mov dword [0x48f770], 1
push ebx
push ebp
push esi
xor esi, esi
cmp eax, esi
push edi
mov dword [0x48f6dc], esi
jne 0x42e56c
mov dword [esp + 0x88], 0x48f688
mov eax, dword [esp + 0x88]
push eax
call fcn.00427050
mov ebp, dword [esp + 0x88]
add esp, 4
mov ecx, ebp
mov edx, dword [ebp]
push 0x50
push 0x48f620
call dword [edx + 0x34]
cmp dword [0x48f66c], esi
je 0x42e634
mov eax, dword [ebp]
push 4
push 0x48f548
mov ecx, ebp
call dword [eax + 0x34]
mov edx, dword [ebp]
lea eax, [esp + 0x1c]
push 4
push eax
mov ecx, ebp
mov dword [esp + 0x24], esi
call dword [edx + 0x34]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push ecx
push 0x40
call ebx
mov edx, dword [ebp]
mov edi, eax
mov eax, dword [esp + 0x1c]
mov ecx, ebp
push eax
push edi
call dword [edx + 0x34]
mov ecx, 0x48f540
test ecx, ecx
je 0x42e5f5
cmp dword [0x48f544], esi
je 0x42e5f5
call fcn.00468f65
push edi
call fcn.00438420
add esp, 4
mov ecx, 0x48f540
push eax
call fcn.00468f0e
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [ebp]
lea eax, [esp + 0x18]
push 4
push eax
mov ecx, ebp
mov dword [esp + 0x20], esi
call dword [edx + 0x34]
mov edx, dword [ebp]
push 0x32
push 0x48f54c
mov ecx, ebp
call dword [edx + 0x34]
jmp 0x42e63a
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov eax, dword [ebp]
lea ecx, [esp + 0x24]
push 4
push ecx
mov ecx, ebp
mov dword [esp + 0x2c], esi
call dword [eax + 0x34]
mov edx, dword [0x48f630]
push edx
push 0x40
call ebx
mov ecx, dword [esp + 0x24]
mov dword [0x48f62c], eax
mov edx, dword [ebp]
push ecx
push eax
mov ecx, ebp
call dword [edx + 0x34]
mov eax, dword [0x48f658]
mov edx, dword [0x48f654]
cmp eax, 0x258
mov dword [0x48f5cc], edx
mov dword [0x48f5c8], eax
jg 0x42e694
mov dword [0x48f6e0], 0x14
jmp 0x42e6ab
xor ecx, ecx
cmp eax, 0x300
setg cl
dec ecx
and ecx, 0xfffffff8
add ecx, 0x20
mov dword [0x48f6e0], ecx
mov edx, dword [0x48f634]
mov ecx, dword [0x48f63c]
mov eax, dword [0x48f638]
mov dword [0x48f644], edx
mov edx, dword [0x48f640]
mov dword [0x48f64c], ecx
lea ecx, [esp + 0x20]
mov dword [0x48f648], eax
mov dword [0x48f650], edx
mov eax, dword [ebp]
push 4
push ecx
mov ecx, ebp
mov dword [esp + 0x28], esi
call dword [eax + 0x34]
mov eax, dword [esp + 0x20]
xor edi, edi
cmp eax, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], esi
jle 0x42e899
jmp 0x42e712
mov edi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [ebp]
lea eax, [esp + 0x30]
push 4
push eax
mov ecx, ebp
call dword [edx + 0x34]
mov edx, dword [ebp]
lea eax, [esp + 0x28]
push 4
push eax
mov ecx, ebp
call dword [edx + 0x34]
mov edx, dword [ebp]
lea eax, [esp + 0x14]
push 4
push eax
mov ecx, ebp
mov dword [esp + 0x1c], esi
call dword [edx + 0x34]
cmp dword [esp + 0x18], esi
jne 0x42e756
mov ecx, dword [esp + 0x14]
push ecx
push 0x40
call ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp]
push eax
push ecx
mov ecx, ebp
call dword [edx + 0x34]
mov edx, dword [ebp]
lea eax, [esp + 0x14]
push 4
push eax
mov ecx, ebp
call dword [edx + 0x34]
cmp edi, esi
jne 0x42e78a
mov ecx, dword [esp + 0x14]
push ecx
push 0x40
call ebx
mov dword [esp + 0x1c], eax
mov edi, eax
mov eax, dword [esp + 0x14]
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebp
call dword [edx + 0x34]
push 0x18
call fcn.0046517b
add esp, 4
cmp eax, esi
je 0x42e7bd
mov dword [eax + 4], esi
mov dword [eax], 0x478804
mov dword [eax + 0xc], esi
mov dword [eax + 8], 0x478804
mov ebx, eax
jmp 0x42e7bf
xor ebx, ebx
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00438420
add esp, 4
mov ecx, ebx
push eax
call fcn.00468f0e
push edi
call fcn.00438420
add esp, 4
lea ecx, [ebx + 8]
push eax
call fcn.00468f0e
mov ecx, dword [esp + 0x28]
xor edx, edx
mov eax, ecx
mov dword [esp + 0x2c], ecx
shr eax, 4
div dword [0x48f6a8]
mov eax, dword [0x48f6a4]
cmp eax, esi
mov edi, edx
je 0x42e820
mov eax, dword [eax + edi*4]
cmp eax, esi
je 0x42e833
cmp dword [eax + 8], ecx
je 0x42e81a
mov eax, dword [eax]
cmp eax, esi
jne 0x42e80d
jmp 0x42e833
cmp eax, esi
jne 0x42e85b
jmp 0x42e833
mov edx, dword [0x48f6a8]
push 1
push edx
mov ecx, 0x48f6a0
call fcn.00430fb0
mov ecx, 0x48f6a0
call fcn.00431020
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov edx, dword [0x48f6a4]
mov ecx, dword [edx + edi*4]
mov dword [eax], ecx
mov edx, dword [0x48f6a4]
mov dword [edx + edi*4], eax
mov dword [eax + 0xc], ebx
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x42e871
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x42e884
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x42e708
cmp dword [esp + 0x8c], esi
je 0x42e9a9
cmp dword [0x48f6d8], esi
jne 0x42e9a9
mov eax, dword [0x48f628]
mov dword [esp + 0x10], esi
cmp eax, esi
jle 0x42e974
push 0x6c
call fcn.0046517b
add esp, 4
cmp eax, esi
je 0x42e90a
mov ecx, 0x4791e4
mov dword [eax], 0x4791d8
mov dword [eax + 4], esi
mov dword [eax + 0x10], esi
mov dword [eax + 0xc], esi
mov dword [eax + 8], esi
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], esi
mov dword [eax + 0x40], esi
mov dword [eax + 0x3c], esi
mov dword [eax + 0x38], esi
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], esi
mov dword [eax + 0x54], esi
mov dword [eax + 0x50], esi
mov dword [eax + 0x4c], esi
mov edi, eax
jmp 0x42e90c
xor edi, edi
lea ecx, [edi + 0x18]
xor eax, eax
mov dword [edi + 0x14], esi
xor edx, edx
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x88]
lea eax, [edi + 0x58]
mov dword [edi + 0x58], edx
mov dword [eax + 4], edx
or eax, 0xffffffff
mov dword [edi + 0x60], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x64], esi
mov dword [edi + 0x2c], esi
mov dword [edi + 0x68], esi
mov ebx, dword [ecx + 8]
push eax
lea edx, [ebx + 1]
push edx
call fcn.00430e00
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x10]
inc eax
mov dword [ecx + ebx*4], edi
mov ecx, dword [0x48f628]
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x42e8c3
push 4
mov dword [0x48f734], esi
call fcn.0046517b
add esp, 4
mov dword [eax], ebp
push esi
push esi
push esi
push esi
push eax
push 0x42a050
call fcn.00466c55
pop edi
pop esi
mov dword [0x48f6d8], eax
pop ebp
mov eax, 1
pop ebx
add esp, 0x70
ret 0xc
mov eax, dword [0x48f628]
mov dword [esp + 0x10], esi
cmp eax, esi
jle 0x42ecbe
push 1
call fcn.00439100
mov edx, dword [ebp]
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x5c]
add esp, 4
rep stosd dword es:[edi], eax
lea eax, [esp + 0x58]
push 0x28
push eax
mov ecx, ebp
call dword [edx + 0x34]
push 0x6c
call fcn.0046517b
add esp, 4
cmp eax, esi
je 0x42ea27
mov ecx, 0x4791e4
mov dword [eax], 0x4791d8
mov dword [eax + 4], esi
mov dword [eax + 0x10], esi
mov dword [eax + 0xc], esi
mov dword [eax + 8], esi
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], esi
mov dword [eax + 0x40], esi
mov dword [eax + 0x3c], esi
mov dword [eax + 0x38], esi
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], esi
mov dword [eax + 0x54], esi
mov dword [eax + 0x50], esi
mov dword [eax + 0x4c], esi
mov ebx, eax
jmp 0x42ea29
xor ebx, ebx
mov eax, dword [esp + 0x5c]
cmp eax, 0xbb8
jbe 0x42ea39
mov eax, 0x32
mov dword [ebx + 0x14], eax
mov edx, dword [esp + 0x60]
lea ecx, [ebx + 0x18]
mov dword [ebx + 0x18], edx
mov eax, dword [esp + 0x64]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x68]
mov dword [ecx + 8], edx
mov eax, dword [esp + 0x6c]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x70]
cmp eax, 0x100
jne 0x42ea79
cmp dword [esp + 0x74], 0xe5
jne 0x42ea79
mov eax, 0x201
mov dword [esp + 0x70], eax
mov dword [ebx + 0x58], eax
mov ecx, dword [esp + 0x74]
mov dword [ebx + 0x5c], ecx
mov dword [ebx + 0x60], 0xffffffff
mov edx, dword [esp + 0x78]
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x64], edx
mov eax, dword [esp + 0x7c]
mov dword [ebx + 0x68], eax
mov eax, dword [esp + 0x58]
cmp eax, esi
mov dword [esp + 0x18], esi
jle 0x42ec85
jmp 0x42eaaf
xor esi, esi
xor ecx, ecx
mov eax, dword [ebp]
mov dword [esp + 0x44], ecx
xor edx, edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x50], ecx
push 0x10
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x40], edx
push ecx
mov ecx, ebp
mov dword [esp + 0x48], edx
call dword [eax + 0x34]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov cx, word [esp + 0x40]
mov dword [esp + 0x50], edx
mov dx, word [esp + 0x34]
mov edi, eax
push eax
push 0x40
mov dword [esp + 0x54], edi
mov word [esp + 0x5c], cx
mov word [esp + 0x50], dx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [ebp]
push edi
push eax
mov ecx, ebp
mov dword [esp + 0x4c], eax
call dword [edx + 0x34]
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov edi, ecx
mov dword [esp + 0x28], edi
lea ebp, [edi + 1]
cmp ebp, esi
jne 0x42eb55
cmp eax, esi
je 0x42eb4a
push eax
mov dword [esp + 0x34], ecx
call fcn.004651a4
add esp, 4
mov dword [ebx + 4], esi
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], esi
jmp 0x42ec53
cmp eax, esi
jne 0x42eb7e
lea eax, [ebp + ebp*4]
shl eax, 2
push eax
call fcn.0046517b
add esp, 4
mov dword [ebx + 4], eax
push ebp
push eax
call fcn.00430f80
mov dword [ebx + 0xc], ebp
mov dword [ebx + 8], ebp
jmp 0x42ec53
cmp ebp, dword [ebx + 0xc]
jg 0x42ebb0
cmp ecx, ebp
jge 0x42eba0
mov edx, ebp
sub edx, ecx
lea ecx, [ecx + ecx*4]
push edx
lea edx, [eax + ecx*4]
push edx
call fcn.00430f80
mov dword [ebx + 8], ebp
jmp 0x42ec53
jle 0x42eba8
sub ecx, ebp
mov dword [esp + 0x30], ecx
mov dword [ebx + 8], ebp
jmp 0x42ec53
mov eax, dword [ebx + 0x10]
cmp eax, esi
jne 0x42ebda
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x42ebce
mov eax, 4
jmp 0x42ebda
cmp eax, 0x400
jle 0x42ebda
mov eax, 0x400
mov ecx, dword [ebx + 0xc]
add eax, ecx
cmp ebp, eax
jge 0x42ebe9
mov dword [esp + 0x1c], eax
jmp 0x42ebef
mov dword [esp + 0x1c], ebp
mov eax, ebp
lea eax, [eax + eax*4]
shl eax, 2
push eax
call fcn.0046517b
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 4]
mov edi, eax
add esp, 4
lea ecx, [ecx + ecx*4]
mov dword [esp + 0x2c], eax
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 8]
sub edx, ecx
lea ecx, [ecx + ecx*4]
push edx
lea edx, [eax + ecx*4]
push edx
call fcn.00430f80
mov eax, dword [ebx + 4]
push eax
call fcn.004651a4
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x2c]
add esp, 4
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], edx
mov ecx, dword [ebx + 4]
lea eax, [edi + edi*4]
mov ebp, dword [esp + 0x84]
lea esi, [esp + 0x44]
lea edi, [ecx + eax*4]
mov eax, dword [esp + 0x18]
mov ecx, 5
inc eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x18], eax
cmp eax, ecx
jl 0x42eaad
xor esi, esi
mov ecx, dword [esp + 0x88]
push 0xffffffffffffffff
mov edi, dword [ecx + 8]
lea edx, [edi + 1]
push edx
call fcn.00430e00
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x10]
inc eax
mov dword [ecx + edi*4], ebx
mov ecx, dword [0x48f628]
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x42e9ba
mov dword [0x48f770], esi
pop edi
mov eax, 1
pop esi
pop ebp
mov dword [0x48f6dc], eax
mov dword [0x4893d0], eax
pop ebx
add esp, 0x70
ret 0xc