Function at 0x5014d8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x1b8
mov eax, 0x58acc4
call fcn.00513400
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.00502680
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.004081f0
add bl, 1
je 0x501592
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.00408600
jmp 0x5021d2
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.0057d704
add esp, 0x10
test al, al
je 0x50205c
cmp dword [ebp - 0x194], 0
je 0x50205c
push dword [ebp - 0x180]
call fcn.00487940
mov dword [ebp - 0x190], eax
test eax, eax
jne 0x501697
push 0x30
lea eax, [ebp - 0x40]
push 0x5a1e20
push eax
call fcn.005008ca
add esp, 0xc
mov ecx, dword [ebp - 0x174]
push eax
mov byte [ebp - 4], 0xc
call fcn.00407e80
xor ebx, ebx
lea ecx, [ebp - 0x40]
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.00408600
push dword [edi + 0x14]
lea ecx, [ebp - 0x28]
call fcn.00407c80
push 0x10
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xd
push 0x5a1c84
push eax
call fcn.00500913
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xe
jb 0x50164c
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x58]
call fcn.00407c80
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.0050220e
add esp, 0x18
lea ecx, [ebp - 0x58]
xor esi, esi
inc esi
push ebx
push esi
call fcn.004081f0
push ebx
push esi
lea ecx, [ebp - 0x40]
call fcn.004081f0
push ebx
push esi
lea ecx, [ebp - 0x28]
call fcn.004081f0
push ebx
push esi
jmp 0x501582
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.005029e5
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.004081f0
add bl, 1
je 0x501715
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0xa0]
call fcn.00408600
jmp 0x5021b0
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.0057d704
add esp, 0x10
test al, al
je 0x501f01
cmp dword [ebp - 0x188], 0
je 0x501f01
mov esi, dword [0x58fe68]
push 1
call esi
push 0x502320
lea ecx, [ebp - 0x1c4]
call fcn.00501335
push dword [ebp - 0x1c0]
mov byte [ebp - 4], 0x1c
call fcn.00565b9d
pop ecx
push 0
call esi
push dword [ebp - 0x1c0]
call fcn.005083c0
push 0xb
lea eax, [ebp - 0x40]
push 0x5a1b80
push eax
call fcn.005008ca
add esp, 0x10
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x1d
jb 0x5017b3
mov eax, dword [eax]
mov esi, dword [ebp - 0x190]
push eax
push esi
call fcn.00487950
push 0
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x1c
mov ebx, eax
call fcn.00408600
push 0x15
lea eax, [ebp - 0x70]
push 0x5a1b8c
push eax
call fcn.005008ca
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x1e
jb 0x5017f1
mov eax, dword [eax]
push eax
push esi
call fcn.00487950
push 0
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x1c
mov esi, eax
call fcn.00408600
test ebx, ebx
jne 0x5018db
push 0x33
lea eax, [ebp - 0x40]
push 0x5a1e54
push eax
call fcn.005008ca
add esp, 0xc
mov ecx, dword [ebp - 0x174]
push eax
mov byte [ebp - 4], 0x1f
call fcn.00407e80
push ebx
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x1c
call fcn.00408600
push dword [edi + 0x14]
lea ecx, [ebp - 0x28]
call fcn.00407c80
push 0x12
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x20
push 0x5a1c98
push eax
call fcn.00500913
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x21
jb 0x501872
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x58]
call fcn.00407c80
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.0050220e
add esp, 0x18
lea ecx, [ebp - 0x58]
xor esi, esi
inc esi
push ebx
push esi
call fcn.004081f0
push ebx
push esi
lea ecx, [ebp - 0x40]
call fcn.004081f0
push ebx
push esi
lea ecx, [ebp - 0x28]
call fcn.004081f0
lea ecx, [ebp - 0x1c4]
call fcn.0050145e
push ebx
push esi
lea ecx, [ebp - 0xa0]
call fcn.00408600
push ebx
push esi
jmp 0x5021b3
push dword [ebp - 0x1c0]
call ebx
cmp dword [0x5d7d10], 0
je 0x501906
test esi, esi
je 0x501906
cmp dword [0x5d7d14], 8
mov eax, 0x5d7d00
cmovae eax, dword [0x5d7d00]
push eax
call esi
mov eax, dword [edi + 0x1c]
xor ebx, ebx
test eax, eax
je 0x501a00
cmp dword [edi + 0x20], ebx
je 0x501a00
cmp dword [edi + 0x24], ebx
je 0x501a00
mov esi, ebx
test eax, eax
je 0x501a00
mov eax, dword [edi + 0x20]
cmp dword [eax + esi*4], ebx
je 0x5019f6
mov eax, dword [edi + 0x24]
cmp dword [eax + esi*4], 0
je 0x5019f6
push dword [eax + esi*4]
lea ecx, [ebp - 0x28]
call fcn.00407c80
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x23
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004168a0
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x24
jb 0x501972
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.00407c80
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x25
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004168e0
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x5019a1
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.00501047
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00408600
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.004081f0
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.00408600
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x1c
call fcn.004081f0
inc esi
cmp esi, dword [edi + 0x1c]
jb 0x50192f
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.00408750
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.005023b4
push eax
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.005024bd
xor esi, esi
mov byte [ebp - 4], 0x28
push ebx
inc esi
lea ecx, [ebp - 0x58]
push esi
call fcn.00408600
cmp dword [ebp - 0x198], 0
je 0x501dc8
cmp dword [ebp - 0x198], esi
je 0x501dc8
cmp byte [edi + 0x28], 0
mov esi, dword [ebp - 0x18c]
je 0x501b2f
push 0x11
lea eax, [ebp - 0x168]
mov dword [ebp - 0x16c], esi
push 0x5a1cd8
push eax
call fcn.005008ca
add esp, 0xc
push 0x5a2078
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0x29
call fcn.00407f10
push dword [edi + 0x10]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x2a
call fcn.00407c80
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x2b
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.004168e0
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x2d
call fcn.004081f0
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x120]
call fcn.00407fc0
lea eax, [ebp - 0x16c]
mov byte [ebp - 4], 0x2e
push eax
call fcn.0050321d
pop ecx
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x28
call fcn.00501401
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.005009bf
push dword [ebp - 0x198]
mov byte [ebp - 4], 0x2f
call fcn.00502f70
pop ecx
push eax
lea ecx, [ebp - 0xb8]
call fcn.00407fc0
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.00407f10
push 0x4e
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x31
push str.NC_9
push eax
call fcn.005008ca
push 0x5c0130
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x32
push eax
call fcn.00421ca0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x33
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00471ac0
add esp, 0x24
mov ecx, dword [ebp - 0x174]
push eax
mov byte [ebp - 4], 0x34
call fcn.00407e80
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00408600
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.00408600
push ebx
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x31
call fcn.00408600
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.005009f3
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.005009f3
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.005009f3
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 0x5a1cd8
push eax
call fcn.00500913
add esp, 0x3c
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x35
jb 0x501ce5
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x40]
call fcn.00407c80
push 0x5a207c
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x36
call fcn.00407c80
push dword [edi + 0x14]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x37
call fcn.00407c80
lea eax, [ebp - 0x17c]
mov byte [ebp - 4], 0x38
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004168c0
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.004081f0
push ebx
push esi
lea ecx, [ebp - 0x70]
call fcn.004081f0
push ebx
push esi
lea ecx, [ebp - 0x58]
call fcn.004081f0
push ebx
push esi
lea ecx, [ebp - 0x40]
call fcn.004081f0
push ebx
push esi
lea ecx, [ebp - 0xf0]
call fcn.004081f0
push ebx
push esi
lea ecx, [ebp - 0x28]
call fcn.00408600
push ebx
push esi
lea ecx, [ebp - 0xb8]
call fcn.00408600
push ebx
push esi
lea ecx, [ebp - 0xd0]
call fcn.00408600
push dword [ebp - 0x19c]
mov dword [ebp - 0xd8], 0x5bf1f0
push dword [ebp - 0x1a4]
push dword [ebp - 0x1a8]
call fcn.00502e22
add esp, 0xc
jmp 0x5018bc
lea eax, [ebp - 0x1b4]
mov dword [ebp - 0x178], str.result
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x17c], eax
call fcn.00502607
cmp eax, 4
jne 0x501e92
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.00501480
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.004168c0
push eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x3b
push eax
call fcn.004168e0
add esp, 0x10
mov ecx, dword [ebp - 0x174]
push eax
mov byte [ebp - 4], 0x3c
call fcn.00407e80
push ebx
push esi
lea ecx, [ebp - 0xb8]
call fcn.00408600
push ebx
push esi
lea ecx, [ebp - 0xf0]
call fcn.004081f0
mov byte [ebp - 0x16f], 1
lea ecx, [ebp - 0x28]
jmp 0x501ecf
cmp dword [edi], 0xff01
jne 0x501ea3
mov byte [ebp - 0x16f], 1
jmp 0x501ed7
push 0x6b
lea eax, [ebp - 0xb8]
push 0x5a1d40
push eax
call fcn.005008ca
add esp, 0xc
mov ecx, dword [ebp - 0x174]
push eax
mov byte [ebp - 4], 0x3d
call fcn.00407e80
lea ecx, [ebp - 0xb8]
push ebx
push 1
call fcn.00408600
push dword [ebp - 0x19c]
push dword [ebp - 0x1a4]
push dword [ebp - 0x1a8]
call fcn.00502e22
add esp, 0xc
lea ecx, [ebp - 0x1c4]
call fcn.0050145e
jmp 0x501702
cmp byte [edi + 0x28], 0
je 0x501fa5
push 0x12
lea eax, [ebp - 0x168]
mov dword [ebp - 0x16c], esi
push 0x5a1cac
push eax
call fcn.005008ca
add esp, 0xc
push 0x5a2078
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0x12
call fcn.00407f10
push dword [edi + 0x10]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x13
call fcn.00407c80
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.004168e0
pop ecx
pop ecx
xor ebx, ebx
mov byte [ebp - 4], 0x16
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004081f0
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x120]
call fcn.00407fc0
lea eax, [ebp - 0x16c]
mov byte [ebp - 4], 0x17
push eax
call fcn.0050321d
pop ecx
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x10
call fcn.00501401
jmp 0x501fa7
xor ebx, ebx
push 0x18
lea eax, [ebp - 0xb8]
push 0x5a1ef4
push eax
call fcn.005008ca
add esp, 0xc
mov ecx, dword [ebp - 0x174]
push eax
mov byte [ebp - 4], 0x18
call fcn.00407e80
push ebx
push 1
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x10
call fcn.00408600
push dword [edi + 0x14]
lea ecx, [ebp - 0x70]
call fcn.00407c80
push 0x12
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x19
push 0x5a1cac
push eax
call fcn.00500913
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x1a
jb 0x502010
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x40]
call fcn.00407c80
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.0050220e
add esp, 0x18
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.004081f0
push ebx
push 1
lea ecx, [ebp - 0xb8]
call fcn.004081f0
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.004081f0
jmp 0x501702
cmp byte [edi + 0x28], 0
je 0x5020ff
push 0x16
lea eax, [ebp - 0x168]
mov dword [ebp - 0x16c], esi
push 0x5a1cc0
push eax
call fcn.005008ca
add esp, 0xc
push 0x5a2074
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 2
call fcn.00407f10
push dword [edi + 0xc]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00407c80
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.004168e0
pop ecx
pop ecx
xor ebx, ebx
mov byte [ebp - 4], 6
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004081f0
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x120]
call fcn.00407fc0
lea eax, [ebp - 0x16c]
mov byte [ebp - 4], 7
push eax
call fcn.0050321d
pop ecx
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], bl
call fcn.00501401
jmp 0x502101
xor ebx, ebx
push 0x1b
lea eax, [ebp - 0xb8]
push 0x5a1e04
push eax
call fcn.005008ca
add esp, 0xc
mov ecx, dword [ebp - 0x174]
push eax
mov byte [ebp - 4], 8
call fcn.00407e80
push ebx
push 1
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], bl
call fcn.00408600
push dword [edi + 0x14]
lea ecx, [ebp - 0x70]
call fcn.00407c80
push 0x16
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 9
push 0x5a1cc0
push eax
call fcn.00500913
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xa
jb 0x502169
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x40]
call fcn.00407c80
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.0050220e
add esp, 0x18
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.004081f0
push ebx
push 1
lea ecx, [ebp - 0xb8]
call fcn.004081f0
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.004081f0
push ebx
push 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.00408600
mov eax, dword [ebp - 0x190]
test eax, eax
je 0x5021d2
push eax
call fcn.00487960
cmp dword [ebp - 0x180], 0
je 0x5021ed
push dword [ebp - 0x180]
call fcn.00512935
pop ecx
mov dword [ebp - 0x180], ebx
cmp dword [ebp - 0x184], 0
je 0x502202
push dword [ebp - 0x184]
call fcn.00512935
pop ecx
mov al, byte [ebp - 0x16f]
call fcn.005133aa
ret