Function at 0x51cba4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x1b8
mov eax, 0x58b143
call fcn.004a0767
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.0051dd4c
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.00405c70
add bl, 1
je 0x51cc5e
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.00406120
jmp 0x51d89e
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.0057d83c
add esp, 0x10
test al, al
je 0x51d728
cmp dword [ebp - 0x194], 0
je 0x51d728
push dword [ebp - 0x180]
call fcn.00496d80
mov dword [ebp - 0x190], eax
test eax, eax
jne 0x51cd63
push 0x30
lea eax, [ebp - 0x40]
push 0x5a3460
push eax
call fcn.0051bf08
add esp, 0xc
mov ecx, dword [ebp - 0x174]
push eax
mov byte [ebp - 4], 0xc
call fcn.00412560
xor ebx, ebx
lea ecx, [ebp - 0x40]
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.00406120
push dword [edi + 0x14]
lea ecx, [ebp - 0x28]
call fcn.004053a0
push 0x10
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xd
push 0x5a32c4
push eax
call fcn.0051bf51
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xe
jb 0x51cd18
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x58]
call fcn.004053a0
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.0051d8da
add esp, 0x18
lea ecx, [ebp - 0x58]
xor esi, esi
inc esi
push ebx
push esi
call fcn.00405c70
push ebx
push esi
lea ecx, [ebp - 0x40]
call fcn.00405c70
push ebx
push esi
lea ecx, [ebp - 0x28]
call fcn.00405c70
push ebx
push esi
jmp 0x51cc4e
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.0051e0b1
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.00405c70
add bl, 1
je 0x51cde1
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0xa0]
call fcn.00406120
jmp 0x51d87c
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.0057d83c
add esp, 0x10
test al, al
je 0x51d5cd
cmp dword [ebp - 0x188], 0
je 0x51d5cd
mov esi, dword [0x58ee78]
push 1
call esi
push 0x51d9ec
lea ecx, [ebp - 0x1c4]
call fcn.0051ca01
push dword [ebp - 0x1c0]
mov byte [ebp - 4], 0x1c
call fcn.00565c4a
pop ecx
push 0
call esi
push dword [ebp - 0x1c0]
call fcn.00523c40
push 0xb
lea eax, [ebp - 0x40]
push 0x5a31c0
push eax
call fcn.0051bf08
add esp, 0x10
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x1d
jb 0x51ce7f
mov eax, dword [eax]
mov esi, dword [ebp - 0x190]
push eax
push esi
call fcn.00496d90
push 0
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x1c
mov ebx, eax
call fcn.00406120
push 0x15
lea eax, [ebp - 0x70]
push 0x5a31cc
push eax
call fcn.0051bf08
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x1e
jb 0x51cebd
mov eax, dword [eax]
push eax
push esi
call fcn.00496d90
push 0
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x1c
mov esi, eax
call fcn.00406120
test ebx, ebx
jne 0x51cfa7
push 0x33
lea eax, [ebp - 0x40]
push 0x5a3494
push eax
call fcn.0051bf08
add esp, 0xc
mov ecx, dword [ebp - 0x174]
push eax
mov byte [ebp - 4], 0x1f
call fcn.00412560
push ebx
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x1c
call fcn.00406120
push dword [edi + 0x14]
lea ecx, [ebp - 0x28]
call fcn.004053a0
push 0x12
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x20
push 0x5a32d8
push eax
call fcn.0051bf51
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x21
jb 0x51cf3e
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x58]
call fcn.004053a0
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.0051d8da
add esp, 0x18
lea ecx, [ebp - 0x58]
xor esi, esi
inc esi
push ebx
push esi
call fcn.00405c70
push ebx
push esi
lea ecx, [ebp - 0x40]
call fcn.00405c70
push ebx
push esi
lea ecx, [ebp - 0x28]
call fcn.00405c70
lea ecx, [ebp - 0x1c4]
call fcn.0051cb2a
push ebx
push esi
lea ecx, [ebp - 0xa0]
call fcn.00406120
push ebx
push esi
jmp 0x51d87f
push dword [ebp - 0x1c0]
call ebx
cmp dword [0x5fa1d8], 0
je 0x51cfd2
test esi, esi
je 0x51cfd2
cmp dword [0x5fa1dc], 8
mov eax, 0x5fa1c8
cmovae eax, dword [0x5fa1c8]
push eax
call esi
mov eax, dword [edi + 0x1c]
xor ebx, ebx
test eax, eax
je 0x51d0cc
cmp dword [edi + 0x20], ebx
je 0x51d0cc
cmp dword [edi + 0x24], ebx
je 0x51d0cc
mov esi, ebx
test eax, eax
je 0x51d0cc
mov eax, dword [edi + 0x20]
cmp dword [eax + esi*4], ebx
je 0x51d0c2
mov eax, dword [edi + 0x24]
cmp dword [eax + esi*4], 0
je 0x51d0c2
push dword [eax + esi*4]
lea ecx, [ebp - 0x28]
call fcn.004053a0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x23
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0041a8b0
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x24
jb 0x51d03e
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.004053a0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x25
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041a8f0
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x51d06d
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.0051c737
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00406120
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00405c70
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.00406120
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x1c
call fcn.00405c70
inc esi
cmp esi, dword [edi + 0x1c]
jb 0x51cffb
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.00406180
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.0051da80
push eax
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.0051db89
xor esi, esi
mov byte [ebp - 4], 0x28
push ebx
inc esi
lea ecx, [ebp - 0x58]
push esi
call fcn.00406120
cmp dword [ebp - 0x198], 0
je 0x51d494
cmp dword [ebp - 0x198], esi
je 0x51d494
cmp byte [edi + 0x28], 0
mov esi, dword [ebp - 0x18c]
je 0x51d1fb
push 0x11
lea eax, [ebp - 0x168]
mov dword [ebp - 0x16c], esi
push 0x5a3318
push eax
call fcn.0051bf08
add esp, 0xc
push 0x5a36b8
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0x29
call fcn.00405560
push dword [edi + 0x10]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x2a
call fcn.004053a0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x2b
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.0041a8f0
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x2d
call fcn.00405c70
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x120]
call fcn.00405610
lea eax, [ebp - 0x16c]
mov byte [ebp - 4], 0x2e
push eax
call fcn.0051e8e7
pop ecx
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x28
call fcn.0051cacd
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.0051c090
push dword [ebp - 0x198]
mov byte [ebp - 4], 0x2f
call fcn.0051e63a
pop ecx
push eax
lea ecx, [ebp - 0xb8]
call fcn.00405610
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.00405560
push 0x4e
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x31
push str.NC_9
push eax
call fcn.0051bf08
push 0x5befa8
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x32
push eax
call fcn.004145a0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x33
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0047e6f0
add esp, 0x24
mov ecx, dword [ebp - 0x174]
push eax
mov byte [ebp - 4], 0x34
call fcn.00412560
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00406120
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.00406120
push ebx
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x31
call fcn.00406120
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.0051c0c4
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.0051c0c4
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.0051c0c4
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 0x5a3318
push eax
call fcn.0051bf51
add esp, 0x3c
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x35
jb 0x51d3b1
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x40]
call fcn.004053a0
push 0x5a36bc
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x36
call fcn.004053a0
push dword [edi + 0x14]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x37
call fcn.004053a0
lea eax, [ebp - 0x17c]
mov byte [ebp - 4], 0x38
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0041a8d0
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.00405c70
push ebx
push esi
lea ecx, [ebp - 0x70]
call fcn.00405c70
push ebx
push esi
lea ecx, [ebp - 0x58]
call fcn.00405c70
push ebx
push esi
lea ecx, [ebp - 0x40]
call fcn.00405c70
push ebx
push esi
lea ecx, [ebp - 0xf0]
call fcn.00405c70
push ebx
push esi
lea ecx, [ebp - 0x28]
call fcn.00406120
push ebx
push esi
lea ecx, [ebp - 0xb8]
call fcn.00406120
push ebx
push esi
lea ecx, [ebp - 0xd0]
call fcn.00406120
push dword [ebp - 0x19c]
mov dword [ebp - 0xd8], 0x5bda78
push dword [ebp - 0x1a4]
push dword [ebp - 0x1a8]
call fcn.0051e4ee
add esp, 0xc
jmp 0x51cf88
lea eax, [ebp - 0x1b4]
mov dword [ebp - 0x178], str.result
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x17c], eax
call fcn.0051dcd3
cmp eax, 4
jne 0x51d55e
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.0051cb4c
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.0041a8d0
push eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x3b
push eax
call fcn.0041a8f0
add esp, 0x10
mov ecx, dword [ebp - 0x174]
push eax
mov byte [ebp - 4], 0x3c
call fcn.00412560
push ebx
push esi
lea ecx, [ebp - 0xb8]
call fcn.00406120
push ebx
push esi
lea ecx, [ebp - 0xf0]
call fcn.00405c70
mov byte [ebp - 0x16f], 1
lea ecx, [ebp - 0x28]
jmp 0x51d59b
cmp dword [edi], 0xff01
jne 0x51d56f
mov byte [ebp - 0x16f], 1
jmp 0x51d5a3
push 0x6b
lea eax, [ebp - 0xb8]
push 0x5a3380
push eax
call fcn.0051bf08
add esp, 0xc
mov ecx, dword [ebp - 0x174]
push eax
mov byte [ebp - 4], 0x3d
call fcn.00412560
lea ecx, [ebp - 0xb8]
push ebx
push 1
call fcn.00406120
push dword [ebp - 0x19c]
push dword [ebp - 0x1a4]
push dword [ebp - 0x1a8]
call fcn.0051e4ee
add esp, 0xc
lea ecx, [ebp - 0x1c4]
call fcn.0051cb2a
jmp 0x51cdce
cmp byte [edi + 0x28], 0
je 0x51d671
push 0x12
lea eax, [ebp - 0x168]
mov dword [ebp - 0x16c], esi
push 0x5a32ec
push eax
call fcn.0051bf08
add esp, 0xc
push 0x5a36b8
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0x12
call fcn.00405560
push dword [edi + 0x10]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x13
call fcn.004053a0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.0041a8f0
pop ecx
pop ecx
xor ebx, ebx
mov byte [ebp - 4], 0x16
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00405c70
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x120]
call fcn.00405610
lea eax, [ebp - 0x16c]
mov byte [ebp - 4], 0x17
push eax
call fcn.0051e8e7
pop ecx
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x10
call fcn.0051cacd
jmp 0x51d673
xor ebx, ebx
push 0x18
lea eax, [ebp - 0xb8]
push 0x5a3534
push eax
call fcn.0051bf08
add esp, 0xc
mov ecx, dword [ebp - 0x174]
push eax
mov byte [ebp - 4], 0x18
call fcn.00412560
push ebx
push 1
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x10
call fcn.00406120
push dword [edi + 0x14]
lea ecx, [ebp - 0x70]
call fcn.004053a0
push 0x12
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x19
push 0x5a32ec
push eax
call fcn.0051bf51
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x1a
jb 0x51d6dc
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x40]
call fcn.004053a0
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.0051d8da
add esp, 0x18
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.00405c70
push ebx
push 1
lea ecx, [ebp - 0xb8]
call fcn.00405c70
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.00405c70
jmp 0x51cdce
cmp byte [edi + 0x28], 0
je 0x51d7cb
push 0x16
lea eax, [ebp - 0x168]
mov dword [ebp - 0x16c], esi
push 0x5a3300
push eax
call fcn.0051bf08
add esp, 0xc
push 0x5a36b4
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 2
call fcn.00405560
push dword [edi + 0xc]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.004053a0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.0041a8f0
pop ecx
pop ecx
xor ebx, ebx
mov byte [ebp - 4], 6
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00405c70
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x120]
call fcn.00405610
lea eax, [ebp - 0x16c]
mov byte [ebp - 4], 7
push eax
call fcn.0051e8e7
pop ecx
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], bl
call fcn.0051cacd
jmp 0x51d7cd
xor ebx, ebx
push 0x1b
lea eax, [ebp - 0xb8]
push 0x5a3444
push eax
call fcn.0051bf08
add esp, 0xc
mov ecx, dword [ebp - 0x174]
push eax
mov byte [ebp - 4], 8
call fcn.00412560
push ebx
push 1
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], bl
call fcn.00406120
push dword [edi + 0x14]
lea ecx, [ebp - 0x70]
call fcn.004053a0
push 0x16
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 9
push 0x5a3300
push eax
call fcn.0051bf51
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xa
jb 0x51d835
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x40]
call fcn.004053a0
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.0051d8da
add esp, 0x18
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.00405c70
push ebx
push 1
lea ecx, [ebp - 0xb8]
call fcn.00405c70
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.00405c70
push ebx
push 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.00406120
mov eax, dword [ebp - 0x190]
test eax, eax
je 0x51d89e
push eax
call fcn.00496da0
cmp dword [ebp - 0x180], 0
je 0x51d8b9
push dword [ebp - 0x180]
call fcn.004a0163
pop ecx
mov dword [ebp - 0x180], ebx
cmp dword [ebp - 0x184], 0
je 0x51d8ce
push dword [ebp - 0x184]
call fcn.004a0163
pop ecx
mov al, byte [ebp - 0x16f]
call fcn.004a0711
ret