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

Disassembly:
push 0xffffffffffffffff
push 0x46bf7e
mov eax, dword fs:[0]
push eax
sub esp, 0x264
push ebx
push esi
push edi
mov eax, dword [0x491c04]
xor eax, esp
push eax
lea eax, [esp + 0x274]
mov dword fs:[0], eax
mov edi, ecx
push 0
lea ecx, [esp + 0x78]
call fcn.0041b650
push 0x474db8
lea ecx, [esp + 0x3c]
mov dword [esp + 0x280], 0
call fcn.00428f60
push str.Setup
lea ecx, [esp + 0x30]
mov byte [esp + 0x280], 1
call fcn.00428f60
mov ecx, dword [edi + 0x1190]
inc ecx
lea esi, [esp + 0x50]
mov byte [esp + 0x27c], 2
call fcn.00417cb0
mov esi, eax
lea eax, [esp + 0x68]
push eax
mov ecx, edi
mov byte [esp + 0x280], 3
call fcn.00417e60
lea ecx, [esp + 0x2c]
push ecx
push eax
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0x288], 4
call fcn.0040caf0
push esi
push eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x288], 5
call fcn.0040caf0
lea ecx, [esp + 0x38]
push ecx
push eax
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x288], 6
call fcn.0040caf0
lea ecx, [esp + 0x44]
mov byte [esp + 0x27c], 8
call fcn.00429130
lea ecx, [esp + 0x5c]
mov byte [esp + 0x27c], 9
call fcn.00429130
lea ecx, [esp + 0x68]
mov byte [esp + 0x27c], 0xa
call fcn.00429130
lea ecx, [esp + 0x50]
mov byte [esp + 0x27c], 0xb
call fcn.00429130
lea ecx, [esp + 0x2c]
mov byte [esp + 0x27c], 0xc
call fcn.00429130
lea ecx, [esp + 0x38]
mov byte [esp + 0x27c], 0xd
call fcn.00429130
push 1
sub esp, 0xc
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00428fd0
mov ecx, edi
call fcn.004180c0
test al, al
jne 0x418518
mov ecx, dword [0x493380]
test ecx, ecx
je 0x418415
push 0
call fcn.00439059
mov ecx, dword [edi + 0x1190]
inc ecx
push ecx
sub esp, 0xc
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00428fd0
lea ecx, [esp + 0x84]
call fcn.0041b800
lea ecx, [esp + 0x74]
call fcn.00431d7e
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x78]
call fcn.0041b870
push 0x473030
mov ecx, eax
mov byte [esp + 0x280], 0xe
call fcn.004291c0
lea ecx, [esp + 0x20]
mov bl, al
mov byte [esp + 0x27c], 0xd
call fcn.00429130
test bl, bl
jne 0x4184a5
push 1
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
push ecx
lea ecx, [esp + 0x88]
call fcn.0041b870
mov ecx, edi
call fcn.004180c0
test al, al
je 0x418415
mov ecx, dword [0x493380]
test ecx, ecx
je 0x4184b6
push 5
call fcn.00439059
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x78]
call fcn.0041b870
push 0x473030
mov ecx, eax
mov byte [esp + 0x280], 0xf
call fcn.004291c0
lea ecx, [esp + 0x20]
mov bl, al
mov byte [esp + 0x27c], 0xd
call fcn.00429130
test bl, bl
je 0x418518
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], 0
call fcn.00429130
lea ecx, [esp + 0x74]
mov dword [esp + 0x27c], 0xffffffff
call fcn.0041b730
xor al, al
jmp 0x41855b
inc dword [edi + 0x1190]
mov eax, dword [edi + 0x1190]
mov dword [0x493344], eax
mov eax, dword [edi + 0x1190]
lea ecx, [esp + 0x14]
mov dword [0x493340], eax
mov byte [esp + 0x27c], 0
call fcn.00429130
lea ecx, [esp + 0x74]
mov dword [esp + 0x27c], 0xffffffff
call fcn.0041b730
mov al, 1
mov ecx, dword [esp + 0x274]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x270
ret