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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4da14b
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
mov eax, dword [esi + 0x238]
test eax, eax
je 0x490828
push ebx
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x34]
mov dword [esp + 0x30], 0
push fcn.004011f0
push 0x471b50
rep stosd dword es:[edi], eax
push 7
lea eax, [esp + 0x24]
push 3
push eax
call fcn.004ce784
mov bl, 0xff
mov dword [esp + 0x78], 0
mov byte [esp + 0x10], bl
mov byte [esp + 0x11], 0
mov byte [esp + 0x12], bl
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x80], 1
call fcn.00404030
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x12], bl
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x23]
mov byte [esp + 0x80], 2
call fcn.00404030
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], bl
mov byte [esp + 0x12], bl
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x26]
mov byte [esp + 0x80], 3
call fcn.00404030
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], bl
mov byte [esp + 0x12], 0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x29]
mov byte [esp + 0x80], 4
call fcn.00404030
mov byte [esp + 0x10], bl
mov byte [esp + 0x11], bl
mov byte [esp + 0x12], 0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 5
call fcn.00404030
mov byte [esp + 0x10], bl
mov byte [esp + 0x11], bl
mov byte [esp + 0x12], bl
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
mov byte [esp + 0x7c], 6
push eax
lea ecx, [esp + 0x2f]
call fcn.00404030
mov byte [esp + 0x10], bl
mov byte [esp + 0x11], 0
mov byte [esp + 0x12], 0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x32]
mov byte [esp + 0x80], 7
call fcn.00404030
lea eax, [esp + 0x30]
lea ecx, [esp + 0xf]
push eax
push ecx
mov ecx, dword [esi + 0x38]
mov byte [esp + 0x80], 0
mov byte [esp + 0x17], 0x61
call fcn.00445bf0
mov al, byte [esi + 0x2bc]
test al, al
mov eax, dword [esi + 0x234]
mov edi, dword [eax + 0xb0]
je 0x4907be
cmp edi, eax
je 0x490808
mov al, byte [edi + 0x48]
test al, al
jne 0x4907ac
movsx edx, word [esi + 0x2c0]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edx
mov edx, dword [esi + 0x2b4]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esi + 0x2b8]
push ecx
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ecx, edi
call fcn.004251a0
mov edi, dword [edi + 0xb0]
mov eax, dword [esi + 0x234]
cmp edi, eax
jne 0x490776
jmp 0x490808
cmp edi, eax
je 0x490808
mov al, byte [edi + 0x48]
test al, al
jne 0x4907f8
movsx edx, word [esi + 0x2be]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edx
mov edx, dword [esi + 0x2b4]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esi + 0x2b8]
push ecx
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ecx, edi
call fcn.004251a0
mov edi, dword [edi + 0xb0]
mov eax, dword [esi + 0x234]
cmp edi, eax
jne 0x4907c2
push fcn.004011f0
push 7
lea edx, [esp + 0x20]
push 3
push edx
mov dword [esp + 0x88], 0xffffffff
call fcn.004ce690
pop edi
pop ebx
mov ecx, dword [esp + 0x68]
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret