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

Disassembly:
push 0xffffffffffffffff
push 0x5dd70b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x44]
mov dword [esp + 0x10], 0
mov dword [esp + 0x38], 0x5ecdf0
mov dword [esp + 0x3c], 0x5ecde8
call fcn.004018e0
mov esi, 1
mov dword [esp + 0x10], esi
push 0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 0
call fcn.00401950
push 0
lea ecx, [esp + 0x40]
mov dword [esp + 0x6c], esi
call fcn.00401a40
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x38], 0x5ecdd4
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 4]
lea ecx, [eax - 0xc]
mov dword [esp + eax + 0x34], ecx
mov edx, dword [0x677e28]
mov dword [esp + 0x68], 2
mov dword [esp + 0xc], edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 3
call fcn.00495350
mov eax, dword [esp + 0x74]
xor edi, edi
test eax, eax
mov byte [esp + 0x68], 4
je 0x491e86
push eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x3c]
call fcn.0048fa80
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x491e9c
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [edx + 4]
lea ecx, [esp + eax + 0x3c]
jmp 0x491eac
mov ecx, dword [esp + 0x38]
push 0x663000
mov edx, dword [ecx + 4]
lea ecx, [esp + edx + 0x3c]
call fcn.0048fd70
cmp edi, 0x80
jge 0x4920b1
mov eax, dword [esp + 0x70]
test eax, eax
je 0x491f00
push eax
lea ecx, [esp + 0x10]
call fcn.0059d986
lea eax, [esp + 0x74]
push 4
push eax
lea ecx, [esp + 0x14]
call fcn.00595cff
mov eax, dword [eax]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x6c], 5
call fcn.0059d986
lea ecx, [esp + 0x74]
mov byte [esp + 0x68], 4
call fcn.0059d7fd
jmp 0x491f0e
push str.sfx
lea ecx, [esp + 0x10]
call fcn.0059d986
call fcn.0055da80
mov ecx, dword [esp + 0xc]
mov esi, dword [ecx - 8]
call fcn.0055da80
push eax
push 8
lea ecx, [esp + 0x14]
call fcn.0059dc2d
add eax, esi
push eax
call fcn.00497040
add esp, 8
call fcn.0055da80
push eax
push 8
lea ecx, [esp + 0x14]
call fcn.0059dc2d
lea edx, [eax + esi + 2]
push edx
call fcn.00497040
add esp, 8
add esi, 4
lea ecx, [esp + 0xc]
push esi
call fcn.0059dc7c
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [ecx + 4]
lea ecx, [esp + edx + 0x3c]
call fcn.0048fd50
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x7c]
push eax
mov edx, dword [ecx + 4]
lea ecx, [esp + edx + 0x3c]
call fcn.0048fe30
lea ecx, [esp + 0x7c]
call fcn.0059d7fd
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x24]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esp + ecx + 0x40]
mov ecx, ebx
push eax
call fcn.00491a70
test eax, eax
jne 0x49205d
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x10]
push eax
mov edx, dword [ecx + 4]
lea ecx, [esp + edx + 0x3c]
call fcn.0048fe30
lea ecx, [esp + 0x10]
call fcn.0059d7fd
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
mov eax, dword [esp + ecx + 0x3c]
lea ecx, [esp + 0x18]
push eax
call fcn.0059d986
lea ecx, [esp + 0x18]
call fcn.0059ddc8
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push 0
push eax
call fcn.00495480
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x492037
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00495550
mov esi, eax
add esp, 4
test esi, esi
jne 0x492037
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push 0x12
push eax
call fcn.004954d0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x492063
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], eax
call fcn.0059dddc
mov ecx, dword [esp + 0x18]
push 0
push 0
push ecx
push esi
lea ecx, [esp + 0x28]
call fcn.00494b30
inc edi
jmp 0x491eb1
lea ecx, [esp + 0x18]
call fcn.0059dddc
mov eax, dword [esp + 0x1c]
xor esi, esi
cmp eax, 0xffffffff
je 0x492082
push eax
call fcn.00495550
add esp, 4
mov esi, eax
test esi, esi
mov dword [esp + 0x1c], 0xffffffff
je 0x4920ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x18]
push 0
push 0
push edx
push esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x30], eax
call fcn.00494b30
cmp edi, 0x80
jne 0x49210b
mov eax, dword [ebx + 4]
lea ecx, [ebx + 4]
push 0
push 0
push eax
push 0x662fe0
call fcn.00497790
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 3
call fcn.004953f0
lea ecx, [esp + 0xc]
mov byte [esp + 0x68], 2
call fcn.0059d7fd
lea ecx, [esp + 0x44]
mov dword [esp + 0x68], 0xffffffff
call fcn.004019c0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x10
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x74]
push eax
mov edx, dword [ecx + 4]
lea ecx, [esp + edx + 0x3c]
call fcn.0048fe30
lea ecx, [esp + 0x74]
call fcn.0059d7fd
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
mov eax, dword [esp + ecx + 0x3c]
mov ecx, dword [esp + 0x78]
push eax
call fcn.0059d986
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 3
call fcn.004953f0
lea ecx, [esp + 0xc]
mov byte [esp + 0x68], 2
call fcn.0059d7fd
lea edx, [esp + 0x44]
mov dword [esp + 0x7c], edx
lea ecx, [esp + 0x58]
mov dword [esp + 0x68], 9
call fcn.0059d7fd
lea ecx, [esp + 0x54]
mov byte [esp + 0x68], 8
call fcn.0059d7fd
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 7
call fcn.0059d7fd
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], 6
call fcn.0059d7fd
lea ecx, [esp + 0x48]
mov dword [esp + 0x68], 0xffffffff
call fcn.0059d7fd
mov ecx, dword [esp + 0x60]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 0x10