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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45b558
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x4737e0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
cmp dword [edi + 0x188], 0
je 0x4105c6
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x4659a4
call fcn.00401ac0
call fcn.004131e0
lea esi, [esp + 0x2c]
call fcn.0040a5c0
xor eax, eax
mov dword [esp + 0x60], 0
cmp dword [edi + 0x178], eax
mov dword [esp + 0x10], eax
jg 0x4105e6
lea esi, [esp + 0x2c]
call fcn.0040a950
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x10]
mov edi, edx
test eax, eax
jl 0x410963
cmp eax, dword [edi + 0x178]
jge 0x410963
mov ecx, dword [edi + 0x174]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
push esi
lea ecx, [esp + 0x30]
call fcn.00401d60
lea edx, [esi + 4]
push edx
lea ecx, [esp + 0x34]
call fcn.00401d60
lea eax, [esi + 8]
push eax
lea ecx, [esp + 0x38]
call fcn.00401d60
lea ecx, [esi + 0xc]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00401d60
lea edx, [esi + 0x10]
push edx
lea ecx, [esp + 0x40]
call fcn.00401d60
lea eax, [esi + 0x14]
push eax
lea ecx, [esp + 0x44]
call fcn.00401d60
mov edi, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov esi, dword [esp + 0x2c]
cmp dword [esi - 0xc], 0
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
je 0x410946
mov edx, dword [esp + 0x10]
sub edx, 0
je 0x4107f4
sub edx, 1
je 0x410739
push edi
push ebx
push ecx
push eax
mov eax, dword [esp + 0x50]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov edi, esp
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x78], 0xc
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov edi, esp
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x7c], 0xd
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov dword [esp + 0x38], esp
mov edi, esp
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x80], 0xe
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov dword [esp + 0x40], esp
mov edi, esp
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x84], 0xf
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov dword [esp + 0x48], esp
mov edi, esp
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x88], 0x10
mov dword [esp + 0x50], esp
jmp 0x410926
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x150]
cmp edx, 2
je 0x410750
cmp edx, 3
jne 0x410946
push edi
push ebx
push ecx
push eax
mov eax, dword [esp + 0x50]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x3c], esp
mov edi, esp
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x78], 7
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov dword [esp + 0x3c], esp
mov edi, esp
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x7c], 8
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov dword [esp + 0x3c], esp
mov edi, esp
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x80], 9
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov dword [esp + 0x3c], esp
mov edi, esp
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x84], 0xa
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov dword [esp + 0x3c], esp
mov edi, esp
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x88], 0xb
jmp 0x410922
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14c]
cmp eax, 2
je 0x410821
cmp eax, 3
je 0x410821
lea ecx, [esp + 0x3c]
push 0x4659a8
push ecx
call fcn.00405560
add esp, 8
test al, al
je 0x410946
lea edx, [esp + 0x34]
push str.Youxunbox
push edx
call fcn.00405560
add esp, 8
test al, al
je 0x41087b
mov eax, dword [esp + 0x30]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x2c], esp
mov edi, esp
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x68], 1
add esi, 0xfffffff0
mov dword [esp + 0x2c], esp
mov edi, esp
push esi
call fcn.00401ff0
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov byte [esp + 0x68], 0
call fcn.00413340
jmp 0x410946
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
push edi
push ebx
push eax
mov eax, dword [esp + 0x4c]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x3c], esp
mov edi, esp
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov dword [esp + 0x3c], esp
mov edi, esp
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x7c], 3
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov dword [esp + 0x3c], esp
mov edi, esp
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x80], 4
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov dword [esp + 0x3c], esp
mov edi, esp
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x84], 5
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov dword [esp + 0x3c], esp
mov edi, esp
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x88], 6
mov dword [esp + 0x3c], esp
add esi, 0xfffffff0
mov edi, esp
push esi
call fcn.00401ff0
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov byte [esp + 0x88], 0
call fcn.00410970
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 8]
inc eax
cmp eax, dword [edx + 0x178]
mov dword [esp + 0x10], eax
jl 0x4105e0
jmp 0x4105bd
call fcn.0041d8d8
int3