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

Disassembly:
sub esp, 0x58
mov ecx, dword [esp + 0x60]
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
push esi
mov esi, dword [esp + 0x68]
push edi
lea eax, [esp + 0x1c]
push eax
push ebp
push ecx
lea ecx, [esi - 0x10]
mov dword [esp + 0x28], 0
call fcn.00428e00
mov ebx, eax
test ebx, ebx
jl 0x42971d
push ecx
mov ecx, esp
mov dword [esp + 0x70], esp
lea edi, [esi + 0x78]
push ebp
mov dword [esp + 0x18], edi
call fcn.00408550
mov edx, dword [esp + 0x74]
push ecx
mov ecx, esp
mov dword [esp + 0x74], esp
push edx
call fcn.00408550
mov ecx, edi
call fcn.0040aa90
mov ebx, eax
test ebx, ebx
jl 0x42971d
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.00406090
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.00409730
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call dword [0x46f2d4]
test eax, eax
jne 0x42950a
call fcn.0040d770
mov edx, dword [esp + 0x70]
push eax
add esi, 0xfffffff4
push ebp
push edx
mov ecx, esi
mov dword [esp + 0x30], esi
call fcn.00426520
mov ebx, eax
test ebx, ebx
jl 0x4296dd
mov eax, dword [esp + 0x14]
push str.copy
push eax
call fcn.0044ee22
add esp, 8
test eax, eax
jne 0x4296b8
mov ecx, edi
mov dword [esp + 0x6c], eax
call fcn.00409db0
push eax
lea ecx, [esp + 0x4c]
call fcn.00429200
mov ecx, dword [esp + 0x60]
mov edi, dword [ecx]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], esi
lea ebx, [ebx]
mov ebp, dword [esp + 0x60]
test esi, esi
je 0x42957e
cmp esi, dword [esp + 0x48]
je 0x429583
call fcn.0044f012
cmp edi, ebp
je 0x429627
test esi, esi
jne 0x429616
call fcn.0044f012
cmp edi, dword [esi + 0x18]
jne 0x4295a2
call fcn.0044f012
mov eax, dword [edi + 0xc]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call dword [0x46f2d4]
test eax, eax
je 0x429505
push eax
call dword [0x46f2e8]
mov esi, eax
mov dword [esp + 0x20], esi
test esi, esi
je 0x42961d
lea eax, [esp + 0x20]
xor edx, edx
push eax
lea ecx, [esp + 0x3c]
mov word [esp + 0x3c], dx
call fcn.00425c60
push 1
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x74]
call fcn.00426dd0
lea edx, [esp + 0x38]
push edx
call dword [0x46f2b4]
push esi
call dword [0x46f2ec]
lea ecx, [esp + 0x28]
call fcn.00405340
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
jmp 0x429570
mov esi, dword [esi]
jmp 0x429598
push 0x8007000e
call fcn.00401210
cmp dword [esp + 0x64], 0
mov esi, dword [esp + 0x6c]
jbe 0x429691
push esi
lea ecx, [esp + 0x2c]
call fcn.00425b50
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x84]
push eax
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.00426790
mov ebx, eax
test ebx, ebx
jl 0x429686
push 0xfa0
call dword [0x46f090]
lea edx, [esp + 0x28]
push edx
call dword [0x46f2b4]
lea ecx, [esp + 0x48]
call fcn.00408660
test esi, esi
je 0x4296b0
push esi
call dword [0x46f2c4]
test eax, eax
jl 0x4296b0
push esi
call dword [0x46f2ac]
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x74]
test ebx, ebx
jl 0x4296dd
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
push ebp
push eax
mov ecx, edi
call fcn.0040b3a0
mov ebx, eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4296fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42971d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x42972c
push eax
call dword [0x46f184]
xor eax, eax
test ebx, ebx
setge al
pop edi
pop esi
pop ebp
dec eax
and eax, ebx
pop ebx
add esp, 0x58
ret 0x18