Function at 0x417da0
Capabilities:
Packed with generic packer

Disassembly:
push 0xffffffffffffffff
push 0x64807d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
mov esi, dword [esp + 0xc8]
mov dword [esp + 0xc0], ebx
mov ecx, dword [esi + 0x8c]
mov eax, dword [ecx + 0x7f8]
cmp eax, ebx
jne 0x417ee0
mov ecx, dword [esi + 0x5550]
lea eax, [esp + 0x80]
call fcn.00453670
mov ebp, eax
mov ecx, str._LEVEL_
lea esi, [esp + 0x10]
mov byte [esp + 0xc0], 1
call fcn.005195d0
push eax
mov edi, 0x6568cc
lea esi, [esp + 0x4c]
mov byte [esp + 0xc4], 2
call fcn.0041e290
add esp, 4
push ebp
push eax
lea esi, [esp + 0x34]
mov byte [esp + 0xc8], 3
call fcn.0041e340
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0xcc], 4
call fcn.00403e20
mov esi, 0x10
cmp dword [esp + 0x44], esi
jb 0x417e7a
mov eax, dword [esp + 0x30]
push eax
call fcn.0061c19a
add esp, 4
cmp dword [esp + 0x60], esi
mov edi, 0xf
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], 0
jb 0x417e9f
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0061c19a
add esp, 4
cmp dword [esp + 0x28], esi
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], 0
jb 0x417ebf
mov edx, dword [esp + 0x14]
push edx
call fcn.0061c19a
add esp, 4
mov byte [esp + 0xc0], 0
cmp dword [esp + 0x98], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], 0
jmp 0x41818a
mov ecx, eax
cmp ecx, 1
jl 0x417ef0
cmp ecx, 0xf
jle 0x418027
jmp 0x7d0479
lea ebp, [eax + eax*2]
lea ebp, [ebp*8 + 0x6a2b88]
call fcn.00413260
cmp eax, ebx
jle 0x41819e
push eax
lea edx, [esp + 0x84]
push edx
mov ecx, str._COUNT_FLAGS_
mov edi, str._ONE_FLAG_
call fcn.00455aa0
push str._FLAGS_COMPLETED_
lea ecx, [esp + 0x4c]
mov byte [esp + 0xc4], 5
call fcn.00404450
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, str.FLAGS
lea edx, [esp + 0x50]
mov byte [esp + 0xc8], 6
call fcn.00513660
add esp, 8
mov edi, 0x10
mov byte [esp + 0xc0], 8
cmp dword [esp + 0x60], edi
jb 0x4180b2
mov edx, dword [esp + 0x4c]
push edx
call fcn.0061c19a
add esp, 4
mov ecx, dword [ebp + 0x14]
lea esi, [esp + 0x9c]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], 0
call fcn.005195d0
mov byte [esp + 0xc0], 9
cmp dword [esp + 0x44], edi
mov ecx, dword [esp + 0x30]
jae 0x4180e8
lea ecx, [esp + 0x30]
cmp dword [eax + 0x18], edi
jb 0x4180f2
mov eax, dword [eax + 4]
jmp 0x4180f5
add eax, 4
push ecx
push eax
push str._s____s
lea esi, [esp + 0x1c]
call fcn.005b0ca0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0xcc], 0xa
call fcn.00403e20
cmp dword [esp + 0x28], edi
jb 0x418130
mov eax, dword [esp + 0x14]
push eax
call fcn.0061c19a
add esp, 4
cmp dword [esp + 0xb4], edi
mov esi, 0xf
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], 0
jb 0x41815b
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.0061c19a
add esp, 4
cmp dword [esp + 0x44], edi
jb 0x41816e
mov edx, dword [esp + 0x30]
push edx
call fcn.0061c19a
add esp, 4
mov byte [esp + 0xc0], 0
cmp dword [esp + 0x98], edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], 0
jb 0x4181bc
mov eax, dword [esp + 0x84]
push eax
call fcn.0061c19a
add esp, 4
jmp 0x4181bc
mov ebp, dword [ebp + 0x14]
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4181a6
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x6c]
call fcn.00404330
mov esi, dword [esp + 0xc8]
mov edx, esi
mov ebx, 0x30c
mov ebp, 0x253
call fcn.004173c0
test al, al
je 0x4181db
lea ebx, [ebp - 2]
mov eax, dword [esi + 0x160]
cmp dword [eax + 0x54], 8
jne 0x418205
mov eax, dword [eax + 0x58]
push 4
xor ecx, ecx
push 0x32
push 0
lea edx, [ecx + 0x32]
call fcn.00511c40
mov ebp, eax
add esp, 0xc
add ebp, 0x253
mov edx, 0xbb
push 0x62
lea ecx, [edx + 0x25]
lea eax, [esp + 0x30]
call fcn.005643d0
mov ecx, dword [eax]
mov esi, dword [0x6a74b0]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x4c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x54], edx
lea edx, [esp + 0x64]
lea edi, [esp + 0x10]
call fcn.00519520
mov byte [esp + 0xc0], 0x10
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, edi
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0xcc]
mov edx, dword [esi]
lea edi, [ecx + 0x20]
push edi
lea edi, [esp + 0x4c]
push edi
lea edi, [esp + 0x18]
push edi
push ebp
sub ebx, eax
mov eax, dword [edx + 0x28]
push ebx
push ecx
mov ecx, esi
call eax
mov esi, 0x10
cmp dword [esp + 0x28], esi
jb 0x418295
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0061c19a
add esp, 4
cmp dword [esp + 0x7c], esi
jb 0x4182a8
mov edx, dword [esp + 0x68]
push edx
call fcn.0061c19a
add esp, 4
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xb4
ret 8