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

Disassembly:
sub esp, 0x44
mov eax, dword [0x44b240]
xor eax, esp
mov dword [esp + 0x40], eax
push ebp
xor ebp, ebp
push esi
mov esi, dword [esp + 0x50]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], ebp
push edi
mov edi, ebp
test esi, esi
jne 0x42df49
or edi, 0xffffffff
jmp 0x42e13d
cmp dword [esi + 0x14], 1
je 0x42e11e
test byte [esi + 0x50], 0xf
je 0x42dfaf
push 4
push ebp
lea eax, [esi + 0xc8]
push 0x43f7a9
push eax
call fcn.0042a066
add esp, 0x10
cmp eax, 1
je 0x42df81
test eax, eax
je 0x42df81
push 0xfffffffffffffff4
pop edi
jmp 0x42e11e
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0xc4]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0xb8]
push 8
mov dword [esi + 0x78], eax
mov dword [esi + 0x6c], ecx
mov ecx, dword [esi + 0xbc]
pop eax
mov dword [esi + 0x7c], ecx
mov word [esi + 0xa8], ax
mov ecx, dword [esi + 0x5c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42dfb5
sub ecx, edx
movzx eax, cx
push ebx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esi + 0x4e014]
push dword [esi + 0x4e010]
call fcn.00428d56
lea eax, [esp + 0x2c]
push 0x8074b50
push eax
call fcn.0042611a
push dword [esi + 0x70]
lea eax, [esp + 0x3c]
push eax
call fcn.0042611a
lea ebp, [esi + 0x68]
push dword [ebp + 4]
lea eax, [esp + 0x48]
push dword [ebp]
push eax
call fcn.0042613b
lea ebx, [esi + 0x60]
push dword [ebx + 4]
lea eax, [esp + 0x5c]
push dword [ebx]
push eax
call fcn.0042613b
push 0x18
lea eax, [esp + 0x58]
push eax
push dword [esi + 0x7c]
push dword [esi + 0x78]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x4c
cmp eax, 0x18
je 0x42e047
push 0xfffffffffffffff2
pop edi
xor ebp, ebp
jmp 0x42e11d
add dword [esi + 0x78], 0x18
lea eax, [esi + 0xa0]
push 0
pop ecx
adc dword [esi + 0x7c], ecx
cmp dword [eax + 4], ecx
ja 0x42e063
cmp dword [eax], 0xffffffff
jae 0x42e063
mov eax, ecx
cmp dword [ebp + 4], ecx
ja 0x42e070
cmp dword [ebp], 0xffffffff
jae 0x42e070
mov ebp, ecx
cmp dword [ebx + 4], ecx
ja 0x42e07c
cmp dword [ebx], 0xffffffff
jae 0x42e07c
mov ebx, ecx
push eax
push ebp
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.00429370
mov edx, dword [esp + 0x28]
add esp, 0x10
mov ebx, eax
test dx, dx
je 0x42e0b3
mov eax, dword [esi + 0x5c]
movzx ecx, dx
cmp byte [eax + ecx - 1], 0x2f
jne 0x42e0b3
mov eax, dword [esi + 0x60]
or eax, dword [esi + 0x64]
jne 0x42e0b3
or dword [esi + 0x4e008], 0x10
movzx eax, word [esi + 0xa8]
xor ebp, ebp
push ebp
push ebp
push dword [esi + 0x4e008]
push dword [esi + 0xa4]
push dword [esi + 0xa0]
push dword [esp + 0x24]
push dword [esp + 0x2c]
push 0x808
push eax
push dword [esi + 0x70]
lea eax, [esp + 0x5c]
push dword [esi + 0x6c]
push dword [esi + 0x68]
push dword [esi + 0x64]
push dword [esi + 0x60]
push ebp
push 0x43f7a9
push ebx
push eax
push edx
push dword [esi + 0x5c]
push esi
call fcn.00428e06
add esp, 0x54
test eax, eax
jne 0x42e10f
push 0xfffffffffffffff1
pop edi
jmp 0x42e11d
inc dword [esi + 0x10]
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x7c]
mov dword [esi], eax
mov dword [esi + 4], ecx
pop ebx
cmp dword [esi + 0x5c], 0
mov dword [esi + 0x4e010], ebp
mov dword [esi + 0x4e014], ebp
je 0x42e13d
push dword [esi + 0x5c]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov dword [esi + 0x5c], ebp
mov ecx, dword [esp + 0x4c]
mov eax, edi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0043cf52
add esp, 0x44
ret