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

Disassembly:
push 0xffffffffffffffff
push 0x522118
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
push 6
push 0x54a250
lea ecx, [esp + 0x20]
call fcn.0048a680
xor ebp, ebp
push 6
push 0x54a248
lea ecx, [esp + 0x30]
mov dword [esp + 0x6c], ebp
call fcn.0048a680
push 6
push 0x54a240
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6c], 1
call fcn.0048a680
push 6
push 0x54a238
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 2
call fcn.0048a680
push 6
push 0x54a230
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 3
call fcn.0048a680
push 6
push 0x54a218
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 4
call fcn.0048a680
push 6
push 0x54a228
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 5
call fcn.0048a680
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], 6
call fcn.0048a5e0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], 7
call fcn.00496190
mov al, byte [esp + 0x6c]
mov dword [esp + 0x40], ebp
mov byte [esp + 0x3c], al
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov ecx, dword [esp + 0x6c]
mov ebx, 9
push ecx
push 5
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], bl
call fcn.0048a9f0
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x54a160
call fcn.0048a680
mov ecx, dword [0x55b3dc]
call fcn.004a0490
mov eax, dword [esp + 0x6c]
cmp ax, 5
jae 0x417418
push ebp
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.0048a5f0
mov ecx, dword [0x55b3dc]
call fcn.004a0610
push ebp
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
jmp 0x41742a
cmp ax, bx
jae 0x41743a
push ebp
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.0048a5f0
mov ecx, dword [0x55b3dc]
call fcn.004a0610
push ebp
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.0048a5f0
mov ecx, dword [0x55b3dc]
call fcn.004a0610
sub esp, 0x10
lea edx, [esp + 0x24]
mov esi, esp
mov dword [esp + 0x3c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.0048a5f0
push esi
call fcn.0049de10
add esp, 4
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
mov byte [esp + 0x7c], 0xa
call fcn.0048a5f0
mov ecx, dword [0x55b3dc]
mov byte [esp + 0x78], bl
call fcn.004a0690
mov ecx, dword [0x55b3dc]
call fcn.004a0a70
push 0xc8
mov esi, eax
call fcn.00430630
add esp, 4
cmp si, bp
jne 0x417581
lea ecx, [esp + 0x4c]
call fcn.00496cd0
mov eax, dword [esp + 0x6c]
cmp ax, 5
jae 0x4174db
shl al, 2
inc al
jmp 0x4174dd
add al, 0x10
push eax
push 5
lea ecx, [esp + 0x18]
call fcn.0048a9f0
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.0048a5f0
lea ecx, [esp + 0x50]
call fcn.00496910
lea eax, [esp + 0x3c]
push 1
lea ecx, [esp + 0x50]
push eax
push ecx
mov ecx, 0x558010
call fcn.00405350
cmp ax, 0xff9b
jne 0x41754d
push ebp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x54a1d0
call fcn.0048a680
push ecx
mov byte [esp + 0x74], 0xb
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x54a1c8
jmp 0x417654
push 0xb
push 5
lea ecx, [esp + 0x1c]
call fcn.0048a9f0
push ebp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x54a1d0
call fcn.0048a680
push ecx
mov byte [esp + 0x74], 0xc
mov ecx, esp
mov dword [esp + 0x3c], esp
jmp 0x41764d
cmp si, 1
jne 0x41766c
mov eax, dword [esp + 0x6c]
cmp ax, 5
jb 0x41759e
cmp ax, bx
jb 0x417676
lea ecx, [esp + 0x4c]
call fcn.00496cd0
mov dl, byte [esp + 0x6c]
lea ecx, [esp + 0x10]
shl dl, 2
add dl, 2
push edx
push 5
call fcn.0048a9f0
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.0048a5f0
lea ecx, [esp + 0x50]
call fcn.00496910
lea ecx, [esp + 0x3c]
push 1
lea edx, [esp + 0x50]
push ecx
push edx
mov ecx, 0x558010
call fcn.00405350
cmp ax, 0xff9b
jne 0x41761e
push ebp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x54a1d0
call fcn.0048a680
push ecx
mov byte [esp + 0x74], 0xd
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x54a1c8
jmp 0x417654
push 0xb
push 5
lea ecx, [esp + 0x1c]
call fcn.0048a9f0
push ebp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x54a1d0
call fcn.0048a680
push ecx
mov byte [esp + 0x74], 0xe
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x54a220
call fcn.0048a680
mov ecx, 0x55b3d0
mov byte [esp + 0x74], bl
call fcn.00499670
jmp 0x4173c4
cmp si, 2
jne 0x4173c4
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
cmp esi, edi
mov byte [esp + 0x64], 8
je 0x417699
mov ecx, esi
call fcn.0048a720
add esi, 4
cmp esi, edi
jne 0x417687
mov esi, dword [esp + 0x40]
push esi
call fcn.00514120
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov byte [esp + 0x64], 7
call fcn.004961b0
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], 6
call fcn.0048a720
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 5
call fcn.0048a720
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], 4
call fcn.0048a720
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 3
call fcn.0048a720
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], 2
call fcn.0048a720
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 1
call fcn.0048a720
lea ecx, [esp + 0x28]
mov byte [esp + 0x64], 0
call fcn.0048a720
lea ecx, [esp + 0x18]
mov dword [esp + 0x64], 0xffffffff
call fcn.0048a720
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov ax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x58
ret 4