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

Disassembly:
push 0xffffffffffffffff
push 0x521848
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 0x54a0d4
lea ecx, [esp + 0x20]
call fcn.0048a680
xor ebp, ebp
push 6
push 0x54a0cc
lea ecx, [esp + 0x30]
mov dword [esp + 0x6c], ebp
call fcn.0048a680
push 6
push 0x54a0c4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6c], 1
call fcn.0048a680
push 6
push 0x54a0bc
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 2
call fcn.0048a680
push 6
push 0x54a0b4
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 3
call fcn.0048a680
push 6
push 0x54a09c
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 4
call fcn.0048a680
push 6
push 0x54a0ac
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 0x549fc4
call fcn.0048a680
mov ecx, dword [0x55b3dc]
call fcn.004a0490
mov eax, dword [esp + 0x6c]
cmp ax, 5
jae 0x410c08
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 0x410c1a
cmp ax, bx
jae 0x410c2a
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 0x410d71
lea ecx, [esp + 0x4c]
call fcn.00496cd0
mov eax, dword [esp + 0x6c]
cmp ax, 5
jae 0x410ccb
shl al, 2
inc al
jmp 0x410ccd
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, 0x557ff0
call fcn.00403f50
cmp ax, 0xff9b
jne 0x410d3d
push ebp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x54a034
call fcn.0048a680
push ecx
mov byte [esp + 0x74], 0xb
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x54a02c
jmp 0x410e44
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 0x54a034
call fcn.0048a680
push ecx
mov byte [esp + 0x74], 0xc
mov ecx, esp
mov dword [esp + 0x3c], esp
jmp 0x410e3d
cmp si, 1
jne 0x410e5c
mov eax, dword [esp + 0x6c]
cmp ax, 5
jb 0x410d8e
cmp ax, bx
jb 0x410e66
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, 0x557ff0
call fcn.00403f50
cmp ax, 0xff9b
jne 0x410e0e
push ebp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x54a034
call fcn.0048a680
push ecx
mov byte [esp + 0x74], 0xd
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x54a02c
jmp 0x410e44
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 0x54a034
call fcn.0048a680
push ecx
mov byte [esp + 0x74], 0xe
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x54a0a4
call fcn.0048a680
mov ecx, 0x55b3d0
mov byte [esp + 0x74], bl
call fcn.00499670
jmp 0x410bb4
cmp si, 2
jne 0x410bb4
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
cmp esi, edi
mov byte [esp + 0x64], 8
je 0x410e89
mov ecx, esi
call fcn.0048a720
add esi, 4
cmp esi, edi
jne 0x410e77
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