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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4da344
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0xde8598]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push esi
push edi
mov eax, dword [0xde8598]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], ecx
xor edi, edi
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], edi
call fcn.00405b70
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x194], edi
call fcn.00405c80
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x194], 1
call fcn.0040a650
push 0xde9420
mov esi, 1
push eax
mov byte [esp + 0x198], 2
mov dword [esp + 0x20], esi
call dword [0x4eb29c]
add esp, 8
test al, al
jne 0x478ccb
push 0x63
push 0x4fede8
push 0x4ff0c8
call dword [0x4eb350]
add esp, 0xc
lea ecx, [esp + 0x3c]
mov dword [esp + 0x190], esi
call dword [0x4eb23c]
push 0x4ef9b8
lea ecx, [esp + 0xcc]
call dword [0x4eb244]
mov byte [esp + 0xe4], 0
mov byte [esp + 0xe5], 0
mov dword [esp + 0xe8], esi
mov dword [esp + 0xec], esi
lea ecx, [esp + 0x10c]
mov byte [esp + 0x190], 3
call fcn.00478730
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x194], 4
call fcn.0040a710
lea ecx, [esp + 0xf0]
mov byte [esp + 0x190], 5
call dword [0x4eb240]
lea eax, [esp + 0x17]
push eax
lea ecx, [esp + 0x1b]
push ecx
lea ecx, [esp + 0x60]
mov byte [esp + 0x198], 6
call fcn.00477c10
mov byte [esp + 0x190], 7
cmp dword [esp + 0x20], edi
je 0x47908c
mov bl, 9
push 0xde94ac
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x28]
call fcn.0040a6b0
push eax
lea ecx, [esp + 0xf4]
mov byte [esp + 0x194], 8
call dword [0x4eb258]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x190], 7
call dword [0x4eb23c]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
call fcn.0040a710
cmp dword [esp + 0x28], 0
mov byte [esp + 0x190], bl
je 0x478f64
mov edi, dword [esp + 0x1c]
add edi, 0x20
lea esp, [esp]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x110]
call fcn.00477430
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x110]
call fcn.00471490
push eax
lea ecx, [esp + 0xcc]
mov byte [esp + 0x194], 0xa
call dword [0x4eb258]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x190], bl
call dword [0x4eb23c]
movzx ecx, byte [esp + 0x12d]
movzx eax, byte [esp + 0x12c]
mov edx, dword [esp + 0x130]
mov byte [esp + 0xe5], cl
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe4], al
mov eax, dword [esp + 0x134]
push ecx
lea ecx, [esp + 0xcc]
mov dword [esp + 0xec], edx
mov dword [esp + 0xf0], eax
call fcn.00474950
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x194], 0xb
call fcn.004779c0
mov esi, eax
lea edx, [esp + 0xc8]
push edx
mov ecx, esi
call dword [0x4eb258]
movzx eax, byte [esp + 0xe4]
mov byte [esi + 0x1c], al
movzx ecx, byte [esp + 0xe5]
mov byte [esi + 0x1d], cl
mov edx, dword [esp + 0xe8]
mov dword [esi + 0x20], edx
mov eax, dword [esp + 0xec]
lea ecx, [esp + 0x3c]
mov dword [esi + 0x24], eax
mov byte [esp + 0x190], bl
call dword [0x4eb23c]
mov ecx, dword [esp + 0xe8]
lea edx, [esp + 0x3c]
mov dword [esp + 0x18], ecx
push edx
lea ecx, [esp + 0xcc]
call fcn.00474950
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
mov byte [esp + 0x198], 0xc
call fcn.004778b0
mov ecx, eax
call dword [0x4eb258]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x190], bl
call dword [0x4eb23c]
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x2c]
call fcn.0040a740
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push ecx
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x198], 0xd
call fcn.00405cb0
mov byte [esp + 0x190], bl
lea ecx, [esp + 0x84]
call fcn.0040a6e0
cmp dword [esp + 0x28], 0
jne 0x478de0
sub esp, 0x20
lea eax, [esp + 0x78]
mov dword [esp + 0x38], esp
mov ecx, esp
push eax
call fcn.004781c0
sub esp, 0x1c
lea edx, [esp + 0x12c]
mov ecx, esp
mov dword [esp + 0xb4], esp
push edx
mov byte [esp + 0x1d0], 0xe
call dword [0x4eb314]
lea eax, [esp + 0xc8]
push eax
mov byte [esp + 0x1d0], bl
call fcn.004785b0
add esp, 0x40
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx + 0x18]
mov edx, dword [esi + 4]
add ecx, 4
push eax
push edx
push esi
mov byte [esp + 0x19c], 0xf
call fcn.004788e0
mov ecx, dword [esp + 0x1c]
push 1
add ecx, 4
mov edi, eax
call fcn.00475190
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
lea ecx, [esp + 0xa8]
mov byte [esp + 0x190], 0x10
call fcn.00478270
lea ecx, [esp + 0x8c]
mov byte [esp + 0x190], bl
call dword [0x4eb23c]
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [esp + 0x5c]
call fcn.00475d20
mov eax, dword [esp + 0x70]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x74], 0
mov dword [eax], eax
mov eax, dword [esp + 0x70]
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x24]
mov dword [eax + 8], eax
call fcn.0040a740
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push ecx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x198], 0x11
call fcn.00405cb0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x190], bl
call fcn.0040a6e0
lea ecx, [esp + 0x28]
mov byte [esp + 0x190], 7
call fcn.0040a6e0
cmp dword [esp + 0x20], 0
jne 0x478d7a
lea ecx, [esp + 0x58]
mov byte [esp + 0x190], 6
call fcn.00478270
lea ecx, [esp + 0xf0]
mov byte [esp + 0x190], 5
call dword [0x4eb23c]
lea ecx, [esp + 0x20]
mov byte [esp + 0x190], 4
call fcn.0040a6e0
lea ecx, [esp + 0x10c]
mov byte [esp + 0x190], 3
call fcn.004786a0
lea ecx, [esp + 0xc8]
mov byte [esp + 0x190], 1
call dword [0x4eb23c]
lea ecx, [esp + 0x34]
mov byte [esp + 0x190], 0
call fcn.0040a6e0
lea ecx, [esp + 0x30]
mov dword [esp + 0x190], 0xffffffff
call fcn.00405c50
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.004cab76
mov esp, ebp
pop ebp
ret 4