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

Disassembly:
sub esp, 0x64
lea ecx, [esp + 0x68]
push ebx
mov ebx, dword [esp + 0x6c]
push ebp
push esi
mov eax, dword [ebx + 0x168]
push edi
push ecx
push ebx
mov ebp, dword [eax + 4]
call fcn.00434630
add esp, 8
test eax, eax
jne 0x479626
mov ecx, 6
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x1a4]
and eax, 1
mov dword [esp + 0x10], eax
je 0x4793f0
mov ecx, dword [esp + 0x80]
lea edx, [esp + 0x14]
push 4
lea eax, [esp + 0x1c]
push edx
push eax
lea edx, [esp + 0x60]
push ecx
push edx
push ebx
call fcn.0043d2b0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x47960d
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x168]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
test eax, eax
je 0x479427
push eax
push ebx
call fcn.004151f0
add esp, 8
test eax, eax
je 0x479427
pop edi
pop esi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0x64
ret
mov edx, dword [ebp + 0x34]
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x30], edx
mov eax, dword [ebp + 0x38]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x34], eax
mov eax, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x168]
mov ecx, edx
lea edx, [esp + 0x3c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x38], 0xa
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
test eax, eax
je 0x47948d
push eax
push ebx
call fcn.00415420
add esp, 8
test eax, eax
je 0x47948d
pop edi
pop esi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0x64
ret
mov eax, dword [esi + 8]
test eax, eax
jne 0x47949b
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4794a7
cmp eax, 1
jne 0x4794ae
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x4794ae
mov edi, 9
jmp 0x4794b3
mov edi, 0x1c
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x3c]
push edi
lea eax, [esp + 0x28]
push edx
push eax
push ecx
call fcn.00434960
mov esi, eax
add esp, 0x10
cmp esi, 0xffff86f3
jne 0x4794e9
test byte [ebp + 0x1a8], 0x10
je 0x47960d
xor esi, esi
jmp 0x47960d
test esi, esi
jne 0x4795e1
mov ebp, 0xb
cmp dword [esp + 0x38], ebp
je 0x4795e1
mov eax, dword [esp + 0x24]
cmp eax, 1
je 0x479512
cmp edi, 9
je 0x4795c3
cmp eax, dword [esp + 0x1c]
je 0x479536
mov eax, dword [esp + 0x80]
push 0
push 0
lea edx, [esp + 0x24]
push 0
push edx
push 0xf
push eax
push ebx
call fcn.0043d390
add esp, 0x1c
mov eax, dword [esp + 0x10]
test eax, eax
je 0x479567
lea ecx, [esp + 0x3c]
push 0x40
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x60]
push eax
push ecx
push ebx
call fcn.0043cf90
mov esi, eax
add esp, 0x18
cmp esi, 0xffff8750
jne 0x479581
mov eax, dword [esp + 0x80]
lea edx, [esp + 0x24]
push 0
push edx
push eax
push ebx
call fcn.0043e640
add esp, 0x10
mov esi, eax
test esi, esi
jne 0x4795e1
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x20], eax
push 0x12
mov edx, dword [ecx + 0x10]
add edx, eax
lea eax, [esp + 0x40]
mov dword [esp + 0x24], edx
lea edx, [esp + 0x28]
push eax
push edx
push ecx
call fcn.00434960
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4794f6
jmp 0x4795e1
mov ecx, dword [esp + 0x80]
push 0
push 0
lea eax, [esp + 0x2c]
push 0
push eax
push 0x1a
push ecx
push ebx
call fcn.0043d390
add esp, 0x1c
cmp esi, 0xffff86f3
jne 0x4795eb
xor esi, esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x47960d
lea edx, [esp + 0x54]
push 0x40
push edx
push ebx
call fcn.0043d310
add esp, 0xc
test eax, eax
je 0x47960d
test esi, esi
jne 0x47960d
mov esi, eax
mov eax, dword [esp + 0x78]
push eax
call fcn.004347c0
add esp, 4
test eax, eax
je 0x479624
test esi, esi
jne 0x479624
mov esi, eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret