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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62c39a
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x652018]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x479bfc
lea ecx, [esp + 0x2c]
call dword [0x660330]
mov dword [esp + 0x68], edi
mov dword [esp + 0x2c], 0x40cc48
mov dword [esp + 0x38], 0x40cb40
mov dword [esp + 0x68], 0xffffffff
lea eax, [esp + 0x2c]
push 0x651bb0
push eax
call 0x5a4c84
cmp word [edi], 0x60
je 0x479c3b
lea ecx, [esp + 0x2c]
call dword [0x660330]
mov dword [esp + 0x68], 1
mov dword [esp + 0x2c], 0x40cc48
mov dword [esp + 0x38], 0x40bbf0
mov dword [esp + 0x68], 0xffffffff
lea eax, [esp + 0x2c]
push 0x651bb0
push eax
call 0x5a4c84
mov eax, dword [edi + 0x24]
xor ebx, ebx
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov ecx, dword [eax + 0x28]
call 0x3fbafe
push dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
push eax
call 0x3c653e
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x28], eax
mov ecx, eax
call 0x3fbafe
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [edi]
shr eax, 0x1d
test al, 1
je 0x479d15
mov eax, dword [edi + 0x30]
add eax, 0xffffffd3
cmp eax, 0x1f
ja 0x479d15
movzx eax, byte [eax + 0x4f5b24]
jmp dword [eax*4 + 0x4f5b10]
push ecx
lea ecx, [esp + 0x40]
call 0x3bccae
mov dword [esp + 0x68], 2
lea eax, [edi + 4]
push ecx
push eax
push dword [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x30], eax
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
push dword [esp + 0x34]
call fcn.0047d5ee
mov ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
test byte [eax + 0x79], 4
je 0x479d79
test byte [eax + 1], 8
jne 0x479d79
push dword [esp + 0x24]
push dword [ebp + 0x14]
push ecx
mov ecx, dword [esp + 0x24]
push dword [ecx + 0x2c]
mov ecx, dword [esi + 0x38]
push eax
call 0x58b31e
jmp 0x479f63
cmp dword [edi + 0x2c], 0
je 0x479da1
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x210]
call fcn.00480e8e
mov ecx, dword [ebp + 0x10]
push eax
push ecx
push dword [ebp + 0xc]
mov ecx, esi
push dword [edi + 0x2c]
call fcn.0047f8ce
jmp 0x479da3
xor eax, eax
mov ecx, dword [edi + 0x2c]
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x479ec1
test eax, eax
jne 0x479dde
mov dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x3c]
call 0x3bd04e
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
test ecx, ecx
je 0x479ec1
movzx eax, word [ecx]
cmp ax, 0x5b
je 0x479dfb
cmp ax, 0x53
je 0x479dfb
cmp ax, 0x57
jne 0x479dfe
mov ecx, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x1c]
call 0x3e915e
test al, al
je 0x479ec1
mov ecx, dword [esp + 0x14]
call 0x3e9d0e
mov ecx, eax
call 0x3c4c8e
test al, al
je 0x479ec1
mov ecx, dword [esp + 0x14]
call 0x3e9d0e
mov ecx, eax
call 0x3c4cce
mov eax, dword [eax + 0x90]
shr eax, 0x11
test al, 1
jne 0x479e93
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x210]
mov eax, dword [ecx]
push dword [eax + 0x10]
lea eax, [ecx + 0x90]
push eax
lea ecx, [esp + 0x34]
call fcn.00402cde
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
dec esi
neg esi
sbb esi, esi
not esi
and esi, dword [esp + 0x30]
call 0x3e9d0e
mov ecx, eax
call 0x3c4cce
push 1
mov edx, esi
mov ecx, eax
call 0x3dcd0e
test al, al
je 0x479ec1
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
call 0x3e9d0e
mov ecx, eax
call 0x3c4cce
mov ecx, eax
test ecx, ecx
je 0x479ec1
lea eax, [edi + 4]
push eax
push dword [ebp + 0x14]
push ecx
push dword [esp + 0x28]
mov ecx, dword [esi + 0x38]
call 0x58876e
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x14]
test byte [esi + 0x78], 6
je 0x479f06
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x28]
call 0x3fbafe
test byte [eax + 0x78], 2
je 0x479f06
cmp dword [edi + 0x28], 0
jne 0x479f06
lea eax, [edi + 4]
push eax
push dword [ebp + 0x14]
mov eax, dword [esp + 0x20]
push dword [esp + 0x24]
push dword [eax + 0x2c]
push esi
mov esi, dword [esp + 0x34]
mov ecx, dword [esi + 0x38]
call 0x589a5e
mov ebx, eax
jmp 0x479f0a
mov esi, dword [esp + 0x20]
test ebx, ebx
jne 0x479f65
mov eax, dword [edi]
shr eax, 0x1c
test al, 1
je 0x479f37
mov ecx, dword [esi + 0x38]
lea eax, [edi + 4]
mov edi, dword [ebp + 0x14]
push eax
push edi
push dword [esp + 0x30]
push dword [esp + 0x28]
call 0x5898ee
mov ebx, eax
test ebx, ebx
jne 0x479f65
jmp 0x479f3a
mov edi, dword [ebp + 0x14]
push dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov ecx, 0x2000
push edi
push dword [esp + 0x30]
push dword [esp + 0x28]
test word [eax + 2], cx
push dword [eax + 0x2c]
mov ecx, dword [esi + 0x38]
push dword [esp + 0x28]
call 0x5896ce
mov ebx, eax
mov dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x3c]
call 0x3bd04e
mov eax, ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10