Function at 0x51cb69
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x1b8
mov eax, 0x58ba66
call fcn.004a0b36
mov esi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x18c], esi
mov dword [ebp - 0x174], ebx
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x188], eax
mov byte [ebp - 0x16f], al
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x88], al
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x40]
mov eax, dword [esi]
push 5
push ecx
mov ecx, esi
call dword [eax + 0x90]
push ebx
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
push ecx
push esi
push edi
push eax
push dword [edi + 0xc]
push dword [edi + 4]
call fcn.0051dd11
add esp, 0x1c
mov byte [ebp - 4], 0
mov bl, al
lea ecx, [ebp - 0x40]
neg bl
push 0
push 1
sbb bl, bl
call fcn.004060d0
add bl, 1
je 0x51cc23
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.00406580
jmp 0x51d863
cmp dword [ebp - 0x74], 0x10
lea ecx, [ebp - 0x194]
push ecx
lea ecx, [ebp - 0x180]
push ecx
push dword [ebp - 0x78]
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
call fcn.0057e204
add esp, 0x10
test al, al
je 0x51d6ed
cmp dword [ebp - 0x194], 0
je 0x51d6ed
push dword [ebp - 0x180]
call fcn.00496440
mov dword [ebp - 0x190], eax
test eax, eax
jne 0x51cd28
push 0x30
lea eax, [ebp - 0x40]
push 0x5a3430
push eax
call fcn.0051bec9
add esp, 0xc
mov ecx, dword [ebp - 0x174]
push eax
mov byte [ebp - 4], 0xc
call fcn.004129c0
xor ebx, ebx
lea ecx, [ebp - 0x40]
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.00406580
push dword [edi + 0x14]
lea ecx, [ebp - 0x28]
call fcn.00405800
push 0x10
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xd
push 0x5a3294
push eax
call fcn.0051bf12
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xe
jb 0x51ccdd
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x58]
call fcn.00405800
push 1
push ebx
push esi
push dword [edi]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0051d89f
add esp, 0x18
lea ecx, [ebp - 0x58]
xor esi, esi
inc esi
push ebx
push esi
call fcn.004060d0
push ebx
push esi
lea ecx, [ebp - 0x40]
call fcn.004060d0
push ebx
push esi
lea ecx, [ebp - 0x28]
call fcn.004060d0
push ebx
push esi
jmp 0x51cc13
and dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x40]
push 5
push ecx
mov ecx, esi
mov byte [ebp - 4], 0x10
call dword [eax + 0x90]
push dword [ebp - 0x174]
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x11
push ecx
push esi
push edi
push eax
push dword [edi + 0x10]
push dword [edi + 8]
call fcn.0051e076
add esp, 0x1c
mov byte [ebp - 4], 0x10
mov bl, al
lea ecx, [ebp - 0x40]
neg bl
push 0
push 1
sbb bl, bl
call fcn.004060d0
add bl, 1
je 0x51cda6
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0xa0]
call fcn.00406580
jmp 0x51d841
cmp dword [ebp - 0x8c], 0x10
lea ecx, [ebp - 0x188]
push ecx
lea ecx, [ebp - 0x184]
push ecx
push dword [ebp - 0x90]
lea eax, [ebp - 0xa0]
cmovae eax, dword [ebp - 0xa0]
push eax
call fcn.0057e204
add esp, 0x10
test al, al
je 0x51d592
cmp dword [ebp - 0x188], 0
je 0x51d592
mov esi, dword [0x58ee78]
push 1
call esi
push 0x51d9b1
lea ecx, [ebp - 0x1c4]
call fcn.0051c9c6
push dword [ebp - 0x1c0]
mov byte [ebp - 4], 0x1c
call fcn.0056669a
pop ecx
push 0
call esi
push dword [ebp - 0x1c0]
call fcn.00523a31
push 0xb
lea eax, [ebp - 0x40]
push 0x5a3190
push eax
call fcn.0051bec9
add esp, 0x10
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x1d
jb 0x51ce44
mov eax, dword [eax]
mov esi, dword [ebp - 0x190]
push eax
push esi
call fcn.00496450
push 0
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x1c
mov ebx, eax
call fcn.00406580
push 0x15
lea eax, [ebp - 0x70]
push 0x5a319c
push eax
call fcn.0051bec9
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x1e
jb 0x51ce82
mov eax, dword [eax]
push eax
push esi
call fcn.00496450
push 0
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x1c
mov esi, eax
call fcn.00406580
test ebx, ebx
jne 0x51cf6c
push 0x33
lea eax, [ebp - 0x40]
push 0x5a3464
push eax
call fcn.0051bec9
add esp, 0xc
mov ecx, dword [ebp - 0x174]
push eax
mov byte [ebp - 4], 0x1f
call fcn.004129c0
push ebx
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x1c
call fcn.00406580
push dword [edi + 0x14]
lea ecx, [ebp - 0x28]
call fcn.00405800
push 0x12
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x20
push 0x5a32a8
push eax
call fcn.0051bf12
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x21
jb 0x51cf03
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x58]
call fcn.00405800
mov esi, dword [ebp - 0x18c]
lea eax, [ebp - 0x28]
push 1
push ebx
push esi
push dword [edi]
mov byte [ebp - 4], 0x22
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0051d89f
add esp, 0x18
lea ecx, [ebp - 0x58]
xor esi, esi
inc esi
push ebx
push esi
call fcn.004060d0
push ebx
push esi
lea ecx, [ebp - 0x40]
call fcn.004060d0
push ebx
push esi
lea ecx, [ebp - 0x28]
call fcn.004060d0
lea ecx, [ebp - 0x1c4]
call fcn.0051caef
push ebx
push esi
lea ecx, [ebp - 0xa0]
call fcn.00406580
push ebx
push esi
jmp 0x51d844
push dword [ebp - 0x1c0]
call ebx
cmp dword [0x5fa228], 0
je 0x51cf97
test esi, esi
je 0x51cf97
cmp dword [0x5fa22c], 8
mov eax, 0x5fa218
cmovae eax, dword [0x5fa218]
push eax
call esi
mov eax, dword [edi + 0x1c]
xor ebx, ebx
test eax, eax
je 0x51d091
cmp dword [edi + 0x20], ebx
je 0x51d091
cmp dword [edi + 0x24], ebx
je 0x51d091
mov esi, ebx
test eax, eax
je 0x51d091
mov eax, dword [edi + 0x20]
cmp dword [eax + esi*4], ebx
je 0x51d087
mov eax, dword [edi + 0x24]
cmp dword [eax + esi*4], 0
je 0x51d087
push dword [eax + esi*4]
lea ecx, [ebp - 0x28]
call fcn.00405800
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x23
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0041acf0
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x24
jb 0x51d003
mov eax, dword [eax]
mov dword [ebp - 0x1ac], eax
lea ecx, [ebp - 0x58]
mov eax, dword [edi + 0x20]
push dword [eax + esi*4]
call fcn.00405800
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x25
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041ad30
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x51d032
mov eax, dword [eax]
mov dword [ebp - 0x178], eax
lea ecx, [ebp - 0x1b4]
lea eax, [ebp - 0x1ac]
mov dword [ebp - 0x17c], ecx
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.0051c6d9
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00406580
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.004060d0
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.00406580
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x1c
call fcn.004060d0
inc esi
cmp esi, dword [edi + 0x1c]
jb 0x51cfc0
push dword [ebp - 0x188]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 0xf
push dword [ebp - 0x184]
mov dword [ebp - 0x48], ebx
mov byte [ebp - 0x58], bl
call fcn.004065e0
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x58]
mov eax, dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x58]
push ebx
mov byte [ebp - 4], 0x26
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x178], ecx
call fcn.0051da45
push eax
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.0051db4e
xor esi, esi
mov byte [ebp - 4], 0x28
push ebx
inc esi
lea ecx, [ebp - 0x58]
push esi
call fcn.00406580
cmp dword [ebp - 0x198], 0
je 0x51d459
cmp dword [ebp - 0x198], esi
je 0x51d459
cmp byte [edi + 0x28], 0
mov esi, dword [ebp - 0x18c]
je 0x51d1c0
push 0x11
lea eax, [ebp - 0x168]
mov dword [ebp - 0x16c], esi
push 0x5a32e8
push eax
call fcn.0051bec9
add esp, 0xc
push 0x5a3688
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0x29
call fcn.004059c0
push dword [edi + 0x10]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x2a
call fcn.00405800
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x2b
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.0041ad30
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x2d
call fcn.004060d0
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x120]
call fcn.00405a70
lea eax, [ebp - 0x16c]
mov byte [ebp - 4], 0x2e
push eax
call fcn.0051e8ac
pop ecx
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x28
call fcn.0051ca92
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.0051c051
push dword [ebp - 0x198]
mov byte [ebp - 4], 0x2f
call fcn.0051e5ff
pop ecx
push eax
lea ecx, [ebp - 0xb8]
call fcn.00405a70
cmp dword [ebp - 0xbc], 0x10
lea eax, [ebp - 0xd0]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x30
cmovae eax, dword [ebp - 0xd0]
push eax
call fcn.004059c0
push 0x4e
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x31
push str.NC_9
push eax
call fcn.0051bec9
push 0x5be9c4
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x32
push eax
call fcn.00414a00
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x33
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0047eda0
add esp, 0x24
mov ecx, dword [ebp - 0x174]
push eax
mov byte [ebp - 4], 0x34
call fcn.004129c0
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00406580
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.00406580
push ebx
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x31
call fcn.00406580
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x16d]
cmovae ecx, dword [ebp - 0x28]
push edx
add eax, ecx
mov byte [ebp - 0x16d], 0x3b
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x16e]
push edx
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x16e], 9
cmovae ecx, dword [ebp - 0x28]
push eax
push ecx
call fcn.0051c085
mov byte [ebp - 0x16e], 0x3b
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x16d], 0xd
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x16e]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
push edx
add eax, ecx
lea edx, [ebp - 0x16d]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push edx
cmovae ecx, dword [ebp - 0x28]
push eax
push ecx
call fcn.0051c085
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x16e]
cmovae ecx, dword [ebp - 0x28]
push edx
add eax, ecx
mov byte [ebp - 0x16e], 0x3b
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x16d]
push edx
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x16d], 0xa
cmovae ecx, dword [ebp - 0x28]
push eax
push ecx
call fcn.0051c085
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x11
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0xf0]
push 0x5a32e8
push eax
call fcn.0051bf12
add esp, 0x3c
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x35
jb 0x51d376
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x40]
call fcn.00405800
push 0x5a368c
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x36
call fcn.00405800
push dword [edi + 0x14]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x37
call fcn.00405800
lea eax, [ebp - 0x17c]
mov byte [ebp - 4], 0x38
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0041ad10
pop ecx
pop ecx
mov edx, dword [esi]
mov ecx, esi
push ebx
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x39
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
push eax
call dword [edx + 4]
xor esi, esi
lea ecx, [ebp - 0x108]
push ebx
inc esi
push esi
call fcn.004060d0
push ebx
push esi
lea ecx, [ebp - 0x70]
call fcn.004060d0
push ebx
push esi
lea ecx, [ebp - 0x58]
call fcn.004060d0
push ebx
push esi
lea ecx, [ebp - 0x40]
call fcn.004060d0
push ebx
push esi
lea ecx, [ebp - 0xf0]
call fcn.004060d0
push ebx
push esi
lea ecx, [ebp - 0x28]
call fcn.00406580
push ebx
push esi
lea ecx, [ebp - 0xb8]
call fcn.00406580
push ebx
push esi
lea ecx, [ebp - 0xd0]
call fcn.00406580
push dword [ebp - 0x19c]
mov dword [ebp - 0xd8], 0x5bd498
push dword [ebp - 0x1a4]
push dword [ebp - 0x1a8]
call fcn.0051e4b3
add esp, 0xc
jmp 0x51cf4d
lea eax, [ebp - 0x1b4]
mov dword [ebp - 0x178], str.result
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x17c], eax
call fcn.0051dc98
cmp eax, 4
jne 0x51d523
lea eax, [ebp - 0x1b4]
mov dword [ebp - 0x178], str.result
mov dword [ebp - 0x17c], eax
lea ecx, [ebp - 0x17c]
lea eax, [ebp - 0x28]
push eax
call fcn.0051cb11
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x3a
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.0041ad10
push eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x3b
push eax
call fcn.0041ad30
add esp, 0x10
mov ecx, dword [ebp - 0x174]
push eax
mov byte [ebp - 4], 0x3c
call fcn.004129c0
push ebx
push esi
lea ecx, [ebp - 0xb8]
call fcn.00406580
push ebx
push esi
lea ecx, [ebp - 0xf0]
call fcn.004060d0
mov byte [ebp - 0x16f], 1
lea ecx, [ebp - 0x28]
jmp 0x51d560
cmp dword [edi], 0xff01
jne 0x51d534
mov byte [ebp - 0x16f], 1
jmp 0x51d568
push 0x6b
lea eax, [ebp - 0xb8]
push 0x5a3350
push eax
call fcn.0051bec9
add esp, 0xc
mov ecx, dword [ebp - 0x174]
push eax
mov byte [ebp - 4], 0x3d
call fcn.004129c0
lea ecx, [ebp - 0xb8]
push ebx
push 1
call fcn.00406580
push dword [ebp - 0x19c]
push dword [ebp - 0x1a4]
push dword [ebp - 0x1a8]
call fcn.0051e4b3
add esp, 0xc
lea ecx, [ebp - 0x1c4]
call fcn.0051caef
jmp 0x51cd93
cmp byte [edi + 0x28], 0
je 0x51d636
push 0x12
lea eax, [ebp - 0x168]
mov dword [ebp - 0x16c], esi
push 0x5a32bc
push eax
call fcn.0051bec9
add esp, 0xc
push 0x5a3688
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0x12
call fcn.004059c0
push dword [edi + 0x10]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x13
call fcn.00405800
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.0041ad30
pop ecx
pop ecx
xor ebx, ebx
mov byte [ebp - 4], 0x16
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004060d0
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x120]
call fcn.00405a70
lea eax, [ebp - 0x16c]
mov byte [ebp - 4], 0x17
push eax
call fcn.0051e8ac
pop ecx
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x10
call fcn.0051ca92
jmp 0x51d638
xor ebx, ebx
push 0x18
lea eax, [ebp - 0xb8]
push 0x5a3504
push eax
call fcn.0051bec9
add esp, 0xc
mov ecx, dword [ebp - 0x174]
push eax
mov byte [ebp - 4], 0x18
call fcn.004129c0
push ebx
push 1
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x10
call fcn.00406580
push dword [edi + 0x14]
lea ecx, [ebp - 0x70]
call fcn.00405800
push 0x12
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x19
push 0x5a32bc
push eax
call fcn.0051bf12
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x1a
jb 0x51d6a1
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x40]
call fcn.00405800
push 1
push ebx
push esi
push dword [edi]
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0051d89f
add esp, 0x18
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.004060d0
push ebx
push 1
lea ecx, [ebp - 0xb8]
call fcn.004060d0
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.004060d0
jmp 0x51cd93
cmp byte [edi + 0x28], 0
je 0x51d790
push 0x16
lea eax, [ebp - 0x168]
mov dword [ebp - 0x16c], esi
push 0x5a32d0
push eax
call fcn.0051bec9
add esp, 0xc
push 0x5a3684
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 2
call fcn.004059c0
push dword [edi + 0xc]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00405800
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.0041ad30
pop ecx
pop ecx
xor ebx, ebx
mov byte [ebp - 4], 6
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004060d0
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x120]
call fcn.00405a70
lea eax, [ebp - 0x16c]
mov byte [ebp - 4], 7
push eax
call fcn.0051e8ac
pop ecx
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], bl
call fcn.0051ca92
jmp 0x51d792
xor ebx, ebx
push 0x1b
lea eax, [ebp - 0xb8]
push 0x5a3414
push eax
call fcn.0051bec9
add esp, 0xc
mov ecx, dword [ebp - 0x174]
push eax
mov byte [ebp - 4], 8
call fcn.004129c0
push ebx
push 1
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], bl
call fcn.00406580
push dword [edi + 0x14]
lea ecx, [ebp - 0x70]
call fcn.00405800
push 0x16
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 9
push 0x5a32d0
push eax
call fcn.0051bf12
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xa
jb 0x51d7fa
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x40]
call fcn.00405800
push 1
push ebx
push esi
push dword [edi]
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0051d89f
add esp, 0x18
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.004060d0
push ebx
push 1
lea ecx, [ebp - 0xb8]
call fcn.004060d0
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.004060d0
push ebx
push 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.00406580
mov eax, dword [ebp - 0x190]
test eax, eax
je 0x51d863
push eax
call fcn.00496460
cmp dword [ebp - 0x180], 0
je 0x51d87e
push dword [ebp - 0x180]
call fcn.004a0532
pop ecx
mov dword [ebp - 0x180], ebx
cmp dword [ebp - 0x184], 0
je 0x51d893
push dword [ebp - 0x184]
call fcn.004a0532
pop ecx
mov al, byte [ebp - 0x16f]
call fcn.004a0ae0
ret