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

Disassembly:
sub esp, 0x48c
mov eax, dword [0x44b240]
xor eax, esp
mov dword [esp + 0x488], eax
push ebx
mov ebx, dword [esp + 0x494]
push ebp
push edi
mov edi, dword [esp + 0x4a0]
test ebx, ebx
jne 0x42d670
or eax, 0xffffffff
jmp 0x42d9bf
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
push esi
test edi, edi
je 0x42d9bb
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x42d68b
sub esi, ecx
je 0x42d9bb
cmp dword [ebx + 0x5c], 0
je 0x42d6ae
push dword [ebx + 0x5c]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
and dword [ebx + 0x5c], 0
pop ecx
push 0x2f
push 0x5c
push esi
push edi
call fcn.0042eb0f
mov ecx, eax
add esp, 0x10
mov dword [ebx + 0x5c], ecx
test ecx, ecx
je 0x42d9bb
cmp dword [ebx + 0x14], 1
jne 0x42d787
mov eax, dword [esp + 0x4a8]
neg eax
sbb eax, eax
and eax, 0x100
push eax
push 0
push ecx
push ebx
call fcn.00427db1
add esp, 0x10
mov dword [ebx + 0x58], eax
test eax, eax
jns 0x42d6fe
push 0xfffffffffffffffd
jmp 0x42d9a2
lea ecx, [esp + 0x24]
push ecx
push eax
push ebx
call fcn.004278c9
add esp, 0xc
test eax, eax
je 0x42d6f7
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [ebx + 0x68], eax
mov eax, dword [esp + 0x54]
mov dword [ebx + 0x60], eax
mov eax, dword [esp + 0x44]
mov dword [ebx + 0x70], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x78], eax
mov eax, dword [esp + 0x64]
mov dword [ebx + 0x6c], ecx
mov ecx, dword [esp + 0x58]
mov dword [ebx + 0xa0], eax
mov ax, word [esp + 0x3a]
mov dword [ebx + 0x64], ecx
mov ecx, dword [esp + 0x30]
mov dword [ebx + 0x7c], ecx
mov ecx, dword [esp + 0x68]
mov word [ebx + 0xa8], ax
mov eax, dword [esp + 0x60]
mov dword [ebx + 0xa4], ecx
mov ecx, dword [esp + 0x40]
mov dword [ebx + 0x4e008], eax
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x4e010], eax
mov dword [ebx + 0x4e014], ecx
xor eax, eax
jmp 0x42d9be
mov eax, dword [ebx + 0x10]
lea edi, [ebx + 0x80]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0x50]
and dword [ebx + 0x68], 0
and edx, 0xf
and dword [ebx + 0x6c], 0
and dword [ebx + 0x60], 0
and dword [ebx + 0x64], 0
and dword [ebx + 0x70], 0
mov dword [ebx + 0x58], eax
mov eax, dword [ebx]
mov dword [ebx + 0x78], eax
mov dword [ebx + 0xa0], eax
xor eax, eax
mov dword [ebx + 0x7c], ecx
mov dword [ebx + 0xa4], ecx
push 7
pop ecx
rep stosd dword es:[edi], eax
mov dword [esp + 0x20], edx
neg edx
push ebx
stosw word es:[edi], ax
sbb eax, eax
and eax, 8
xor edi, edi
mov word [ebx + 0xa8], ax
mov dword [ebx + 0x4e008], edi
call fcn.00429129
mov ebp, eax
pop ecx
cmp dword [ebx + 0x48], edi
je 0x42d9a0
cmp dword [ebx + 0x14], 2
jne 0x42d9a0
test dword [ebx + 0x50], 0x400
je 0x42d813
push 0xfffffffffffffffb
jmp 0x42d9a2
push ebp
push dword [ebx + 0x7c]
push dword [ebx + 0x78]
push ebx
call fcn.00429cc5
add esp, 0x10
test eax, eax
jne 0x42d82e
push 0xfffffffffffffff9
jmp 0x42d9a2
add dword [esp + 0x10], ebp
push edi
adc dword [esp + 0x18], edi
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
lea ecx, [esp + 0x1c]
mov dword [ebx + 0x4e010], eax
push ecx
lea ecx, [esp + 0x24]
mov dword [ebx + 0x4e014], edx
push ecx
push edx
push eax
call fcn.00428d56
add esp, 0x14
cmp dword [esp + 0x14], edi
ja 0x42d86c
cmp dword [esp + 0x10], 0xffffffff
mov eax, edi
jb 0x42d870
lea eax, [esp + 0x10]
push eax
push edi
lea eax, [esp + 0x484]
push edi
push eax
call fcn.00429370
push dword [esp + 0x28]
movzx ecx, word [ebx + 0xa8]
mov edi, eax
push dword [esp + 0x30]
xor eax, eax
push 0x808
push ecx
push eax
push eax
push eax
push eax
push eax
push edi
push esi
lea eax, [ebx + 0x80]
push eax
push ebx
call fcn.00429285
add esp, 0x44
test eax, eax
je 0x42d827
push 0
pop eax
mov ecx, ebp
lea edx, [ebx + 0x80]
add ecx, dword [ebx + 0x78]
push 0x1e
adc eax, dword [ebx + 0x7c]
push edx
push eax
push ecx
mov dword [ebx + 0xa0], ecx
mov dword [ebx + 0xa4], eax
push dword [ebx + 0x44]
call dword [ebx + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x42d827
push esi
push dword [ebx + 0x5c]
lea eax, [ebp + 0x1e]
add dword [ebx + 0x78], eax
adc dword [ebx + 0x7c], 0
push dword [ebx + 0x7c]
push dword [ebx + 0x78]
push dword [ebx + 0x44]
call dword [ebx + 0x3c]
add esp, 0x14
cmp eax, esi
je 0x42d914
push 0xfffffffffffffff8
jmp 0x42d9a2
add dword [ebx + 0x78], esi
lea eax, [esp + 0x47c]
push edi
adc dword [ebx + 0x7c], 0
push eax
push dword [ebx + 0x7c]
push dword [ebx + 0x78]
push dword [ebx + 0x44]
call dword [ebx + 0x3c]
add esp, 0x14
cmp eax, edi
jne 0x42d90d
add edi, dword [ebx + 0x78]
mov ecx, dword [esp + 0x20]
push 0
pop eax
adc eax, dword [ebx + 0x7c]
mov dword [ebx + 0x78], edi
mov dword [ebx + 0x7c], eax
test ecx, ecx
je 0x42d780
and dword [ebx + 0xc0], 0
lea esi, [ebx + 0xb0]
and dword [ebx + 0xc4], 0
push 0
push 0xfffffffffffffff1
push ecx
mov dword [esi], ebx
mov dword [ebx + 0xb8], edi
mov dword [ebx + 0xbc], eax
call fcn.0042af6f
push eax
push esi
lea eax, [ebx + 0xc8]
push 0x428dc9
push eax
call fcn.0042b5df
add esp, 0x1c
test eax, eax
je 0x42d780
push 0xfffffffffffffff7
jmp 0x42d9a2
push 0xfffffffffffffffc
pop esi
cmp dword [ebx + 0x5c], 0
je 0x42d9b7
push dword [ebx + 0x5c]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
and dword [ebx + 0x5c], 0
pop ecx
mov eax, esi
jmp 0x42d9be
push 0xfffffffffffffffe
pop eax
pop esi
mov ecx, dword [esp + 0x494]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043cf52
add esp, 0x48c
ret