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

Disassembly:
push 0xffffffffffffffff
push 0x4d9c17
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x50c620]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov dword [esp + 0x20], ecx
mov ebx, dword [esp + 0xa4]
mov edi, dword [esp + 0xa0]
mov eax, dword [esp + 0xa8]
mov esi, dword [esp + 0xac]
mov ebp, dword [esp + 0xb0]
mov dword [esp + 0x18], 0
cmp dword [ebx + 0x10], 0
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], eax
jne 0x461709
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
mov dword [esp + 0x98], eax
mov dword [esp + 0x18], 1
jmp 0x4619f6
mov edx, esi
mov ecx, ebx
call fcn.0040fa40
test al, al
jne 0x46172e
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x461727
mov eax, dword [esi]
jmp 0x461729
mov eax, esi
xor ecx, ecx
mov word [eax], cx
xor eax, eax
cmp dword [esi + 0x10], eax
jne 0x461756
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], eax
mov word [edi], ax
mov dword [esp + 0x98], eax
mov dword [esp + 0x18], 1
jmp 0x4619f6
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
mov dword [esp + 0x98], 1
lea edx, [esp + 0x44]
mov ecx, ebx
call fcn.0040f950
test al, al
jne 0x4617b0
cmp dword [esp + 0x58], 8
lea eax, [esp + 0x44]
mov dword [esp + 0x54], 0
cmovae eax, dword [esp + 0x44]
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x44]
cmp ebp, eax
je 0x4617c4
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebp
call fcn.004029b0
cmp dword [esp + 0x54], 0
jne 0x4618a8
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
push eax
push dword [esp + 0x3c]
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
call fcn.004029b0
mov byte [esp + 0xb0], 2
mov byte [esp + 0xb0], 1
lea ecx, [esp + 0x44]
call fcn.0048d290
add esp, 0x18
mov byte [esp + 0x98], 3
lea ecx, [esp + 0x44]
push eax
call fcn.004024d0
mov byte [esp + 0x98], 1
cmp dword [esp + 0x40], 8
jb 0x461840
push dword [esp + 0x2c]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
cmp dword [esp + 0x54], eax
jne 0x4618a8
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], eax
mov word [edi], ax
mov dword [esp + 0x18], 1
mov byte [esp + 0x98], al
cmp dword [esp + 0x58], 8
jb 0x46188c
push dword [esp + 0x44]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
jmp 0x4619f6
mov ecx, esi
call fcn.004103f0
test al, al
jne 0x4618ba
mov ecx, esi
call fcn.00410ad0
mov ecx, esi
call fcn.004103f0
test al, al
jne 0x4618fb
mov esi, dword [esp + 0x20]
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x78], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
mov dword [esp + 0x18], 1
mov byte [esp + 0x98], al
jmp 0x4619ed
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push esi
push eax
call fcn.0040d9b0
add esp, 0xc
mov byte [esp + 0x98], 4
lea edx, [esp + 0x74]
push str..tmp
lea ecx, [esp + 0x60]
call fcn.0040d170
add esp, 4
mov byte [esp + 0x98], 5
lea ecx, [esp + 0x5c]
call fcn.004102a0
test al, al
je 0x461993
mov eax, dword [esp + 0xb4]
cmp byte [eax + 0x64], 0
jne 0x4619af
mov esi, 1
push str..tmp
push esi
lea ecx, [esp + 0x7c]
call fcn.00402700
push eax
lea eax, [esp + 0x68]
push 0x4ef668
push eax
call fcn.00417410
add esp, 0x14
lea ecx, [esp + 0x5c]
call fcn.004102a0
test al, al
je 0x461993
lea ecx, [esp + 0x5c]
call fcn.00406060
inc esi
cmp esi, 0x2710
jb 0x461952
cmp dword [esp + 0x6c], 0
jne 0x4619af
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
jmp 0x4619bb
lea eax, [esp + 0x5c]
mov ecx, edi
push eax
call fcn.00405650
mov dword [esp + 0x18], 1
mov byte [esp + 0x98], 4
lea ecx, [esp + 0x5c]
call fcn.00402150
mov byte [esp + 0x98], 1
lea ecx, [esp + 0x74]
call fcn.00402150
mov byte [esp + 0x98], 0
lea ecx, [esp + 0x44]
call fcn.00402150
mov eax, edi
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004b0ff2
add esp, 0x88
ret 0x18