Function at 0x51c087
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x1b8
mov eax, 0x583bb3
call fcn.004a00f2
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.0051d22f
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 0x51c141
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.00406120
jmp 0x51cd81
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.0057632c
add esp, 0x10
test al, al
je 0x51cc0b
cmp dword [ebp - 0x194], 0
je 0x51cc0b
push dword [ebp - 0x180]
call fcn.00495a90
mov dword [ebp - 0x190], eax
test eax, eax
jne 0x51c246
push 0x30
lea eax, [ebp - 0x40]
push 0x59b430
push eax
call fcn.0051b40a
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 0x59b294
push eax
call fcn.0051b453
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xe
jb 0x51c1fb
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.0051cdbd
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 0x51c131
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.0051d594
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 0x51c2c4
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0xa0]
call fcn.00406120
jmp 0x51cd5f
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.0057632c
add esp, 0x10
test al, al
je 0x51cab0
cmp dword [ebp - 0x188], 0
je 0x51cab0
mov esi, dword [0x586e58]
push 1
call esi
push 0x51cecf
lea ecx, [ebp - 0x1c4]
call fcn.0051bee4
push dword [ebp - 0x1c0]
mov byte [ebp - 4], 0x1c
call fcn.0055e815
pop ecx
push 0
call esi
push dword [ebp - 0x1c0]
call fcn.00522dbf
push 0xb
lea eax, [ebp - 0x40]
push 0x59b190
push eax
call fcn.0051b40a
add esp, 0x10
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x1d
jb 0x51c362
mov eax, dword [eax]
mov esi, dword [ebp - 0x190]
push eax
push esi
call fcn.00495aa0
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 0x59b19c
push eax
call fcn.0051b40a
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x1e
jb 0x51c3a0
mov eax, dword [eax]
push eax
push esi
call fcn.00495aa0
push 0
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x1c
mov esi, eax
call fcn.00406120
test ebx, ebx
jne 0x51c48a
push 0x33
lea eax, [ebp - 0x40]
push 0x59b464
push eax
call fcn.0051b40a
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 0x59b2a8
push eax
call fcn.0051b453
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x21
jb 0x51c421
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.0051cdbd
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.0051c00d
push ebx
push esi
lea ecx, [ebp - 0xa0]
call fcn.00406120
push ebx
push esi
jmp 0x51cd62
push dword [ebp - 0x1c0]
call ebx
cmp dword [0x5f11d8], 0
je 0x51c4b5
test esi, esi
je 0x51c4b5
cmp dword [0x5f11dc], 8
mov eax, 0x5f11c8
cmovae eax, dword [0x5f11c8]
push eax
call esi
mov eax, dword [edi + 0x1c]
xor ebx, ebx
test eax, eax
je 0x51c5af
cmp dword [edi + 0x20], ebx
je 0x51c5af
cmp dword [edi + 0x24], ebx
je 0x51c5af
mov esi, ebx
test eax, eax
je 0x51c5af
mov eax, dword [edi + 0x20]
cmp dword [eax + esi*4], ebx
je 0x51c5a5
mov eax, dword [edi + 0x24]
cmp dword [eax + esi*4], 0
je 0x51c5a5
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.0041a890
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x24
jb 0x51c521
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.0041a8d0
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x51c550
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.0051bc1a
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 0x51c4de
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.0051cf63
push eax
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.0051d06c
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 0x51c977
cmp dword [ebp - 0x198], esi
je 0x51c977
cmp byte [edi + 0x28], 0
mov esi, dword [ebp - 0x18c]
je 0x51c6de
push 0x11
lea eax, [ebp - 0x168]
mov dword [ebp - 0x16c], esi
push 0x59b2e8
push eax
call fcn.0051b40a
add esp, 0xc
push 0x59b688
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.0041a8d0
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.0051ddca
pop ecx
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x28
call fcn.0051bfb0
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.0051b592
push dword [ebp - 0x198]
mov byte [ebp - 4], 0x2f
call fcn.0051db1d
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.0051b40a
push 0x5b5d98
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.0047e3f0
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.0051b5c6
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.0051b5c6
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.0051b5c6
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 0x59b2e8
push eax
call fcn.0051b453
add esp, 0x3c
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x35
jb 0x51c894
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x40]
call fcn.004053a0
push 0x59b68c
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.0041a8b0
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], 0x5b4858
push dword [ebp - 0x1a4]
push dword [ebp - 0x1a8]
call fcn.0051d9d1
add esp, 0xc
jmp 0x51c46b
lea eax, [ebp - 0x1b4]
mov dword [ebp - 0x178], str.result
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x17c], eax
call fcn.0051d1b6
cmp eax, 4
jne 0x51ca41
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.0051c02f
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.0041a8b0
push eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x3b
push eax
call fcn.0041a8d0
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 0x51ca7e
cmp dword [edi], 0xff01
jne 0x51ca52
mov byte [ebp - 0x16f], 1
jmp 0x51ca86
push 0x6b
lea eax, [ebp - 0xb8]
push 0x59b350
push eax
call fcn.0051b40a
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.0051d9d1
add esp, 0xc
lea ecx, [ebp - 0x1c4]
call fcn.0051c00d
jmp 0x51c2b1
cmp byte [edi + 0x28], 0
je 0x51cb54
push 0x12
lea eax, [ebp - 0x168]
mov dword [ebp - 0x16c], esi
push 0x59b2bc
push eax
call fcn.0051b40a
add esp, 0xc
push 0x59b688
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.0041a8d0
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.0051ddca
pop ecx
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x10
call fcn.0051bfb0
jmp 0x51cb56
xor ebx, ebx
push 0x18
lea eax, [ebp - 0xb8]
push 0x59b504
push eax
call fcn.0051b40a
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 0x59b2bc
push eax
call fcn.0051b453
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x1a
jb 0x51cbbf
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.0051cdbd
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 0x51c2b1
cmp byte [edi + 0x28], 0
je 0x51ccae
push 0x16
lea eax, [ebp - 0x168]
mov dword [ebp - 0x16c], esi
push 0x59b2d0
push eax
call fcn.0051b40a
add esp, 0xc
push 0x59b684
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.0041a8d0
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.0051ddca
pop ecx
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], bl
call fcn.0051bfb0
jmp 0x51ccb0
xor ebx, ebx
push 0x1b
lea eax, [ebp - 0xb8]
push 0x59b414
push eax
call fcn.0051b40a
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 0x59b2d0
push eax
call fcn.0051b453
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xa
jb 0x51cd18
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.0051cdbd
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 0x51cd81
push eax
call fcn.00495ab0
cmp dword [ebp - 0x180], 0
je 0x51cd9c
push dword [ebp - 0x180]
call fcn.0049faee
pop ecx
mov dword [ebp - 0x180], ebx
cmp dword [ebp - 0x184], 0
je 0x51cdb1
push dword [ebp - 0x184]
call fcn.0049faee
pop ecx
mov al, byte [ebp - 0x16f]
call fcn.004a009c
ret