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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x6c
mov dword [0x48f770], 1
push ebx
push ebp
push esi
xor esi, esi
cmp eax, esi
push edi
mov dword [0x48f6dc], esi
jne 0x42f4fc
mov dword [esp + 0x84], 0x48f688
mov eax, dword [esp + 0x84]
push eax
call fcn.00427050
mov ebx, dword [esp + 0x84]
add esp, 4
mov ecx, ebx
mov edx, dword [ebx]
push 0x50
push 0x48f620
call dword [edx + 0x34]
cmp dword [0x48f66c], esi
je 0x42f5a6
mov eax, dword [ebx]
push 0x68
push 0x48f548
mov ecx, ebx
call dword [eax + 0x34]
mov edx, dword [ebx]
lea eax, [esp + 0x80]
push 4
push eax
mov ecx, ebx
mov dword [esp + 0x88], esi
call dword [edx + 0x34]
mov ecx, dword [esp + 0x80]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push ecx
push 0x40
call edi
mov edx, dword [ebx]
mov ebp, eax
mov eax, dword [esp + 0x80]
mov ecx, ebx
push eax
push ebp
call dword [edx + 0x34]
mov ecx, 0x48f540
test ecx, ecx
je 0x42f589
cmp dword [0x48f544], esi
je 0x42f589
call fcn.00468f65
push ebp
call fcn.00438420
add esp, 4
mov ecx, 0x48f540
push eax
call fcn.00468f0e
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x42f5ac
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [ebx]
lea eax, [esp + 0x20]
push 4
push eax
mov ecx, ebx
mov dword [esp + 0x28], esi
call dword [edx + 0x34]
mov ecx, dword [0x48f630]
push ecx
push 0x40
call edi
mov ecx, dword [esp + 0x20]
mov dword [0x48f62c], eax
mov edx, dword [ebx]
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x34]
mov eax, dword [0x48f658]
mov edx, dword [0x48f654]
cmp eax, 0x258
mov dword [0x48f5cc], edx
mov dword [0x48f5c8], eax
jg 0x42f604
mov dword [0x48f6e0], 0x14
jmp 0x42f61b
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 + 0x1c]
mov dword [0x48f648], eax
mov dword [0x48f650], edx
mov eax, dword [ebx]
push 4
push ecx
mov ecx, ebx
mov dword [esp + 0x24], esi
call dword [eax + 0x34]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], esi
cmp eax, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x80], esi
jle 0x42f801
jmp 0x42f67e
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [ebx]
lea eax, [esp + 0x2c]
push 4
push eax
mov ecx, ebx
call dword [edx + 0x34]
mov edx, dword [ebx]
lea eax, [esp + 0x24]
push 4
push eax
mov ecx, ebx
call dword [edx + 0x34]
mov edx, dword [ebx]
lea eax, [esp + 0x10]
push 4
push eax
mov ecx, ebx
mov dword [esp + 0x18], esi
call dword [edx + 0x34]
mov eax, dword [esp + 0x10]
cmp eax, esi
jbe 0x42f6ca
push eax
push 0x40
call edi
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx]
push ecx
push eax
mov ecx, ebx
mov dword [esp + 0x1c], eax
call dword [edx + 0x34]
mov edx, dword [ebx]
lea eax, [esp + 0x10]
push 4
push eax
mov ecx, ebx
call dword [edx + 0x34]
mov eax, dword [esp + 0x10]
cmp eax, esi
jbe 0x42f6f6
push eax
push 0x40
call edi
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx]
push ecx
push eax
mov ecx, ebx
mov dword [esp + 0x20], eax
call dword [edx + 0x34]
push 0x18
call fcn.0046517b
add esp, 4
cmp eax, esi
je 0x42f71b
mov dword [eax + 4], esi
mov dword [eax], 0x478804
mov dword [eax + 0xc], esi
mov dword [eax + 8], 0x478804
mov ebp, eax
jmp 0x42f71d
xor ebp, ebp
mov edx, dword [esp + 0x14]
push edx
call fcn.00438420
add esp, 4
mov ecx, ebp
push eax
call fcn.00468f0e
mov eax, dword [esp + 0x18]
push eax
call fcn.00438420
add esp, 4
lea ecx, [ebp + 8]
push eax
call fcn.00468f0e
mov ecx, dword [esp + 0x24]
xor edx, edx
mov eax, ecx
mov dword [esp + 0x28], ecx
shr eax, 4
div dword [0x48f6a8]
mov eax, dword [0x48f6a4]
cmp eax, esi
mov edi, edx
je 0x42f782
mov eax, dword [eax + edi*4]
cmp eax, esi
je 0x42f795
cmp dword [eax + 8], ecx
je 0x42f77c
mov eax, dword [eax]
cmp eax, esi
jne 0x42f76f
jmp 0x42f795
cmp eax, esi
jne 0x42f7bd
jmp 0x42f795
mov ecx, dword [0x48f6a8]
push 1
push ecx
mov ecx, 0x48f6a0
call fcn.00430fb0
mov ecx, 0x48f6a0
call fcn.00431020
mov edx, dword [esp + 0x28]
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov ecx, dword [0x48f6a4]
mov edx, dword [ecx + edi*4]
mov dword [eax], edx
mov ecx, dword [0x48f6a4]
mov dword [ecx + edi*4], eax
mov dword [eax + 0xc], ebp
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x42f7d3
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x42f7e6
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x80], eax
jl 0x42f678
cmp dword [esp + 0x88], esi
je 0x42f919
cmp dword [0x48f6d8], esi
jne 0x42f919
mov eax, dword [0x48f628]
mov dword [esp + 0x80], esi
cmp eax, esi
jle 0x42f8e4
push 0x6c
call fcn.0046517b
add esp, 4
cmp eax, esi
je 0x42f875
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 0x42f877
xor edi, edi
lea eax, [edi + 0x18]
xor edx, edx
mov dword [edi + 0x14], esi
xor ecx, ecx
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
lea edx, [edi + 0x58]
or eax, 0xffffffff
mov dword [edx], ecx
push eax
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x88]
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 ebp, dword [ecx + 8]
lea edx, [ebp + 1]
push edx
call fcn.00430e00
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x80]
inc eax
mov dword [ecx + ebp*4], edi
mov ecx, dword [0x48f628]
cmp eax, ecx
mov dword [esp + 0x80], eax
jl 0x42f82e
push 4
mov dword [0x48f734], esi
call fcn.0046517b
add esp, 4
mov dword [eax], ebx
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, 0x6c
ret 0xc
mov eax, dword [0x48f628]
mov dword [esp + 0x80], esi
cmp eax, esi
jle 0x42fc96
push 1
call fcn.00439100
mov edx, dword [ebx]
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x58]
add esp, 4
rep stosd dword es:[edi], eax
lea eax, [esp + 0x54]
push 0x28
push eax
mov ecx, ebx
call dword [edx + 0x34]
push 0x6c
call fcn.0046517b
add esp, 4
cmp eax, esi
je 0x42f999
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 ebp, eax
jmp 0x42f99b
xor ebp, ebp
mov eax, dword [esp + 0x58]
cmp eax, 0xbb8
jbe 0x42f9ab
mov eax, 0x32
mov dword [ebp + 0x14], eax
mov edx, dword [esp + 0x5c]
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x18], edx
mov eax, dword [esp + 0x60]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x64]
mov dword [ecx + 8], edx
mov eax, dword [esp + 0x68]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x6c]
cmp eax, 0x100
jne 0x42f9eb
cmp dword [esp + 0x70], 0xe5
jne 0x42f9eb
mov eax, 0x201
mov dword [esp + 0x6c], eax
mov dword [ebp + 0x58], eax
mov ecx, dword [esp + 0x70]
mov dword [ebp + 0x5c], ecx
mov dword [ebp + 0x60], 0xffffffff
mov edx, dword [esp + 0x74]
mov dword [ebp + 0x2c], esi
mov dword [ebp + 0x64], edx
mov eax, dword [esp + 0x78]
mov dword [ebp + 0x68], eax
mov eax, dword [esp + 0x54]
cmp eax, esi
mov dword [esp + 0x88], esi
jle 0x42fad3
xor ecx, ecx
mov eax, dword [ebx]
mov dword [esp + 0x40], ecx
xor edx, edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x4c], ecx
push 0x10
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x3c], edx
push ecx
mov ecx, ebx
mov dword [esp + 0x44], edx
call dword [eax + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov cx, word [esp + 0x3c]
mov dword [esp + 0x4c], edx
mov dx, word [esp + 0x30]
mov esi, eax
push eax
push 0x40
mov dword [esp + 0x50], esi
mov word [esp + 0x58], cx
mov word [esp + 0x4c], dx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [ebx]
push esi
push eax
mov ecx, ebx
mov dword [esp + 0x48], eax
call dword [edx + 0x34]
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
mov ecx, ebp
lea eax, [esi + 1]
push eax
call fcn.00430ca0
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x88]
lea ecx, [esi + esi*4]
lea esi, [esp + 0x40]
inc eax
lea edi, [edx + ecx*4]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x88], eax
cmp eax, ecx
jl 0x42fa20
xor esi, esi
mov edi, dword [esp + 0x84]
mov edx, dword [edi + 8]
mov eax, dword [edi + 4]
mov ecx, edx
mov dword [esp + 0x18], ecx
inc ecx
cmp ecx, esi
mov dword [esp + 0x88], ecx
jne 0x42fb14
cmp eax, esi
je 0x42fb09
push eax
mov dword [esp + 0x8c], edx
call fcn.004651a4
add esp, 4
mov dword [edi + 4], esi
mov dword [edi + 0xc], esi
mov dword [edi + 8], esi
jmp 0x42fc6f
cmp eax, esi
jne 0x42fb64
lea eax, [ecx*4]
push eax
mov dword [esp + 0x8c], eax
call fcn.0046517b
mov ecx, dword [esp + 0x8c]
mov edx, eax
mov dword [edi + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x84]
inc eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 8], eax
jmp 0x42fc68
mov ecx, dword [edi + 0xc]
cmp dword [esp + 0x88], ecx
jg 0x42fbb6
mov ecx, dword [esp + 0x88]
cmp edx, ecx
jge 0x42fb9c
sub ecx, edx
lea edx, [eax + edx*4]
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x84]
lea eax, [ecx + 1]
mov dword [edi + 8], eax
jmp 0x42fc6f
jle 0x42fba7
sub edx, ecx
mov dword [esp + 0x88], edx
mov ecx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 8], eax
jmp 0x42fc6f
mov eax, dword [edi + 0x10]
cmp eax, esi
jne 0x42fbe0
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x42fbd4
mov eax, 4
jmp 0x42fbe0
cmp eax, 0x400
jle 0x42fbe0
mov eax, 0x400
add eax, ecx
mov ecx, dword [esp + 0x88]
cmp ecx, eax
mov dword [esp + 0x14], eax
jl 0x42fbf5
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
lea eax, [edx*4]
push eax
call fcn.0046517b
mov ecx, dword [edi + 8]
mov esi, dword [edi + 4]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x2c], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x88]
mov ecx, dword [esp + 0x1c]
inc ecx
mov edx, dword [esi + 8]
mov dword [esp + 0x8c], ecx
sub ecx, edx
lea edi, [eax + edx*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [esi + 4]
push edx
call fcn.004651a4
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x1c]
add esp, 8
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
xor esi, esi
mov edi, dword [esp + 0x84]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x18]
mov dword [eax + ecx*4], ebp
mov eax, dword [esp + 0x80]
mov ecx, dword [0x48f628]
inc eax
cmp eax, ecx
mov dword [esp + 0x80], eax
jl 0x42f92d
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, 0x6c
ret 0xc