Function at 0x500145
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x1d0
mov eax, 0x5717df
call fcn.0048287a
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
and dword [ebp - 0x1dc], 0
mov dword [ebp - 0x18c], ebx
mov dword [ebp - 0x1a4], esi
call fcn.004ffb06
test al, al
je 0x50018c
and dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
jmp 0x500d09
xor eax, eax
mov dword [ebp - 0xbc], 0xf
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0xc0], eax
mov byte [ebp - 0xd0], al
mov dword [ebp - 4], eax
call fcn.004fe98c
test al, al
jne 0x500c8c
and dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], al
mov eax, dword [esi]
lea ecx, [ebp - 0x40]
push 5
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
call dword [eax + 0x8c]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
push ecx
push esi
push edi
push eax
push dword [edi + 0xc]
push dword [edi + 4]
call fcn.00501729
add esp, 0x18
mov byte [ebp - 4], 1
mov bl, al
lea ecx, [ebp - 0x40]
neg bl
push 0
push 1
sbb bl, bl
call fcn.00405b10
add bl, 1
je 0x50022d
mov byte [ebp - 4], 0
push 0
jmp 0x500c7c
call fcn.004fe817
test al, al
jne 0x500222
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x1ac]
push ecx
lea ecx, [ebp - 0x198]
push ecx
push dword [ebp - 0x48]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.005611d4
add esp, 0x10
test al, al
je 0x500b54
cmp dword [ebp - 0x1ac], 0
je 0x500b54
call fcn.004ffc6b
test al, al
jne 0x500222
push dword [ebp - 0x198]
call fcn.00478580
mov dword [ebp - 0x1a8], eax
test eax, eax
jne 0x50030c
push dword [edi + 0x14]
lea ecx, [ebp - 0x28]
call fcn.00405280
push 0x10
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xc
push 0x58a248
push eax
call fcn.00500e61
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xd
jb 0x5002bc
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x70]
call fcn.00405280
push 1
xor ebx, ebx
mov byte [ebp - 4], 0xe
push ebx
push esi
push dword [edi]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00500d5f
add esp, 0x18
lea ecx, [ebp - 0x70]
xor esi, esi
inc esi
push ebx
push esi
call fcn.00405b10
push ebx
push esi
lea ecx, [ebp - 0x40]
call fcn.00405b10
push ebx
push esi
lea ecx, [ebp - 0x28]
call fcn.00405b10
push ebx
mov byte [ebp - 4], bl
push esi
jmp 0x500c7e
call fcn.004ffb06
test al, al
jne 0x500222
and dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], al
mov eax, dword [esi]
lea ecx, [ebp - 0x40]
push 5
push ecx
mov ecx, esi
mov byte [ebp - 4], 0xf
call dword [eax + 0x8c]
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x10
push ecx
push esi
push edi
push eax
push dword [edi + 0x10]
push dword [edi + 8]
call fcn.00501984
add esp, 0x18
mov byte [ebp - 4], 0xf
mov bl, al
lea ecx, [ebp - 0x40]
neg bl
push 0
push 1
sbb bl, bl
call fcn.00405b10
add bl, 1
je 0x50038a
xor ebx, ebx
lea ecx, [ebp - 0x88]
push ebx
push 1
call fcn.00405f90
jmp 0x500c78
call fcn.004fff69
test al, al
jne 0x500375
call fcn.004fe817
test al, al
jne 0x500375
cmp dword [ebp - 0x74], 0x10
lea ecx, [ebp - 0x1a0]
push ecx
lea ecx, [ebp - 0x19c]
push ecx
push dword [ebp - 0x78]
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
call fcn.005611d4
add esp, 0x10
test al, al
je 0x500a28
cmp dword [ebp - 0x1a0], 0
je 0x500a28
mov esi, dword [0x575e34]
push 1
call esi
push 0x5013c9
lea ecx, [ebp - 0x1d8]
call fcn.004ff955
push dword [ebp - 0x1d4]
mov byte [ebp - 4], 0x1a
call fcn.00549884
pop ecx
xor ebx, ebx
push ebx
call esi
push dword [ebp - 0x1d4]
call fcn.00509091
push 0xb
lea eax, [ebp - 0x40]
push 0x58a15c
push eax
call fcn.00500de3
add esp, 0x10
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x1b
jb 0x500435
mov eax, dword [eax]
push eax
push dword [ebp - 0x1a8]
call fcn.00478590
push ebx
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x1a
mov esi, eax
call fcn.00405f90
test esi, esi
jne 0x5004ef
push dword [edi + 0x14]
lea ecx, [ebp - 0x28]
call fcn.00405280
push 0x12
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x1c
push 0x58a25c
push eax
call fcn.00500e61
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x1d
jb 0x500488
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x70]
call fcn.00405280
mov esi, dword [ebp - 0x1a4]
lea eax, [ebp - 0x28]
push 1
push ebx
push esi
push dword [edi]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00500d5f
add esp, 0x18
lea ecx, [ebp - 0x70]
xor esi, esi
inc esi
push ebx
push esi
call fcn.00405b10
push ebx
push esi
lea ecx, [ebp - 0x40]
call fcn.00405b10
push ebx
push esi
lea ecx, [ebp - 0x28]
call fcn.00405b10
lea ecx, [ebp - 0x1d8]
call fcn.004ffa8c
push ebx
push esi
lea ecx, [ebp - 0x88]
call fcn.00405f90
jmp 0x500302
push dword [ebp - 0x1d4]
call esi
mov eax, dword [edi + 0x18]
test eax, eax
jle 0x5005f5
cmp dword [edi + 0x1c], ebx
je 0x5005f5
cmp dword [edi + 0x20], ebx
je 0x5005f5
mov esi, ebx
test eax, eax
jle 0x5005f5
mov eax, dword [edi + 0x1c]
cmp dword [eax + esi*4], ebx
je 0x5005eb
mov eax, dword [edi + 0x20]
cmp dword [eax + esi*4], 0
je 0x5005eb
push dword [eax + esi*4]
lea ecx, [ebp - 0x28]
call fcn.00405280
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00419c40
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x20
jb 0x500564
mov eax, dword [eax]
mov dword [ebp - 0x1a8], eax
lea ecx, [ebp - 0x70]
mov eax, dword [edi + 0x1c]
push dword [eax + esi*4]
call fcn.00405280
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00419c80
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x500593
mov eax, dword [eax]
mov dword [ebp - 0x190], eax
lea ecx, [ebp - 0x1c8]
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0x194], ecx
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.004ff668
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00405f90
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.00405b10
push ebx
push 1
lea ecx, [ebp - 0xa0]
call fcn.00405f90
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x1a
call fcn.00405b10
inc esi
cmp esi, dword [edi + 0x18]
jl 0x50051e
push dword [ebp - 0x1a0]
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0xf
push dword [ebp - 0x19c]
mov dword [ebp - 0x60], ebx
mov byte [ebp - 0x70], bl
call fcn.00405ff0
cmp dword [ebp - 0x5c], 0x10
lea ecx, [ebp - 0x70]
mov eax, dword [ebp - 0x60]
cmovae ecx, dword [ebp - 0x70]
push ebx
mov byte [ebp - 4], 0x22
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x190], ecx
call fcn.0050145d
push eax
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x1c0]
push eax
lea ecx, [ebp - 0x1d4]
call fcn.00501566
xor esi, esi
mov byte [ebp - 4], 0x24
push ebx
inc esi
lea ecx, [ebp - 0x70]
push esi
call fcn.00405f90
cmp dword [ebp - 0x1b0], 0
je 0x500962
cmp dword [ebp - 0x1b0], esi
je 0x500962
cmp byte [edi + 0x24], 0
mov esi, dword [ebp - 0x1a4]
je 0x50072d
push 0x11
lea eax, [ebp - 0x180]
mov dword [ebp - 0x184], esi
push 0x58a29c
push eax
call fcn.00500de3
add esp, 0xc
push 0x58a3f8
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x25
call fcn.00405410
push dword [edi + 0x10]
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x26
call fcn.00405280
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x27
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.00419c80
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x29
call fcn.00405b10
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x138]
call fcn.004054c0
lea eax, [ebp - 0x184]
mov byte [ebp - 4], 0x2a
push eax
call fcn.00503cfe
pop ecx
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 0x24
call fcn.004ffa2f
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.004fef60
push dword [ebp - 0x1b0]
mov byte [ebp - 4], 0x2b
call fcn.00502355
pop ecx
push eax
lea ecx, [ebp - 0xb8]
call fcn.004054c0
cmp dword [ebp - 0xd4], 0x10
lea eax, [ebp - 0xe8]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x2c
cmovae eax, dword [ebp - 0xe8]
push eax
call fcn.00405410
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x185]
cmovae ecx, dword [ebp - 0x28]
push edx
add eax, ecx
mov byte [ebp - 4], 0x2d
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x186]
push edx
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x185], 0x3b
cmovae ecx, dword [ebp - 0x28]
push eax
push ecx
mov byte [ebp - 0x186], 9
call fcn.004fef94
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x186]
cmovae ecx, dword [ebp - 0x28]
push edx
add eax, ecx
mov byte [ebp - 0x186], 0x3b
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x185]
push edx
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x185], 0xd
cmovae ecx, dword [ebp - 0x28]
push eax
push ecx
call fcn.004fef94
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x186]
cmovae ecx, dword [ebp - 0x28]
push edx
add eax, ecx
mov byte [ebp - 0x186], 0x3b
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x185]
push edx
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x185], 0xa
cmovae ecx, dword [ebp - 0x28]
push eax
push ecx
call fcn.004fef94
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x11
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x190], eax
push 0x58a29c
lea eax, [ebp - 0x108]
push eax
call fcn.00500e61
add esp, 0x3c
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x2e
jb 0x500876
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x40]
call fcn.00405280
push 0x58a3fc
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x2f
call fcn.00405280
push dword [edi + 0x14]
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x30
call fcn.00405280
lea eax, [ebp - 0x194]
mov byte [ebp - 4], 0x31
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.00419c60
pop ecx
pop ecx
mov edx, dword [esi]
mov ecx, esi
push ebx
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x32
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xa0]
push eax
call dword [edx + 4]
xor esi, esi
lea ecx, [ebp - 0x120]
push ebx
inc esi
push esi
call fcn.00405b10
push ebx
push esi
lea ecx, [ebp - 0xa0]
call fcn.00405b10
push ebx
push esi
lea ecx, [ebp - 0x70]
call fcn.00405b10
push ebx
push esi
lea ecx, [ebp - 0x40]
call fcn.00405b10
push ebx
push esi
lea ecx, [ebp - 0x108]
call fcn.00405b10
push ebx
push esi
lea ecx, [ebp - 0x28]
call fcn.00405f90
push ebx
push esi
lea ecx, [ebp - 0xb8]
call fcn.00405f90
push ebx
push esi
lea ecx, [ebp - 0xe8]
call fcn.00405f90
mov dword [ebp - 0xf0], 0x5a5f74
push dword [ebp - 0x1b4]
push dword [ebp - 0x1bc]
push dword [ebp - 0x1c0]
call fcn.00502209
add esp, 0xc
jmp 0x5004d2
lea eax, [ebp - 0x1c8]
mov edi, 0x58a404
lea ecx, [ebp - 0x194]
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x190], edi
call fcn.005016b0
cmp eax, 4
jne 0x500943
lea eax, [ebp - 0x1c8]
mov dword [ebp - 0x190], edi
mov dword [ebp - 0x194], eax
lea ecx, [ebp - 0x194]
lea eax, [ebp - 0x28]
push eax
call fcn.004ffaae
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x33
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x190], eax
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00419c60
push eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x34
push eax
call fcn.00419c80
add esp, 0x10
push eax
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x35
call fcn.00411f80
push ebx
push esi
lea ecx, [ebp - 0xb8]
call fcn.00405f90
push ebx
push esi
lea ecx, [ebp - 0x108]
call fcn.00405b10
push ebx
push esi
lea ecx, [ebp - 0x28]
call fcn.00405f90
jmp 0x500943
cmp byte [edi + 0x24], 0
je 0x500acc
push 0x12
lea eax, [ebp - 0x180]
mov dword [ebp - 0x184], esi
push 0x58a270
push eax
call fcn.00500de3
add esp, 0xc
push 0x58a3f8
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x11
call fcn.00405410
push dword [edi + 0x10]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x12
call fcn.00405280
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.00419c80
pop ecx
pop ecx
xor ebx, ebx
mov byte [ebp - 4], 0x15
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00405b10
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x138]
call fcn.004054c0
lea eax, [ebp - 0x184]
mov byte [ebp - 4], 0x16
push eax
call fcn.00503cfe
pop ecx
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 0xf
call fcn.004ffa2f
jmp 0x500ace
xor ebx, ebx
push dword [edi + 0x14]
lea ecx, [ebp - 0xa0]
call fcn.00405280
push 0x12
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x17
push 0x58a270
push eax
call fcn.00500e61
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x18
jb 0x500b02
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x40]
call fcn.00405280
push 1
push ebx
push esi
push dword [edi]
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00500d5f
add esp, 0x18
lea ecx, [ebp - 0x40]
xor esi, esi
inc esi
push ebx
push esi
call fcn.00405b10
push ebx
push esi
lea ecx, [ebp - 0xb8]
call fcn.00405b10
push ebx
push esi
lea ecx, [ebp - 0xa0]
call fcn.00405b10
jmp 0x5004dd
cmp byte [edi + 0x24], 0
je 0x500bf5
push 0x16
lea eax, [ebp - 0x180]
mov dword [ebp - 0x184], esi
push 0x58a284
push eax
call fcn.00500de3
add esp, 0xc
push 0x58a3f4
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 3
call fcn.00405410
push dword [edi + 0xc]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00405280
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.00419c80
pop ecx
pop ecx
xor ebx, ebx
mov byte [ebp - 4], 7
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00405b10
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x138]
call fcn.004054c0
lea eax, [ebp - 0x184]
mov byte [ebp - 4], 8
push eax
call fcn.00503cfe
pop ecx
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 1
call fcn.004ffa2f
jmp 0x500bf7
xor ebx, ebx
push dword [edi + 0x14]
lea ecx, [ebp - 0xa0]
call fcn.00405280
push 0x16
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 9
push 0x58a284
push eax
call fcn.00500e61
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xa
jb 0x500c2b
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x40]
call fcn.00405280
push 1
push ebx
push esi
push dword [edi]
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00500d5f
add esp, 0x18
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.00405b10
push ebx
push 1
lea ecx, [ebp - 0xb8]
call fcn.00405b10
push ebx
push 1
lea ecx, [ebp - 0xa0]
call fcn.00405b10
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00405f90
mov ebx, dword [ebp - 0x18c]
call fcn.004ffc6b
test al, al
je 0x500ca6
xor eax, eax
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], eax
mov byte [ebx], al
push eax
jmp 0x500cfc
cmp dword [ebp - 0x198], 0
je 0x500cc2
push dword [ebp - 0x198]
call fcn.00482276
and dword [ebp - 0x198], 0
pop ecx
cmp dword [ebp - 0x19c], 0
je 0x500cde
push dword [ebp - 0x19c]
call fcn.00482276
and dword [ebp - 0x19c], 0
pop ecx
and dword [ebx + 0x10], 0
lea eax, [ebp - 0xd0]
mov dword [ebx + 0x14], 0xf
mov ecx, ebx
push eax
mov byte [ebx], 0
call fcn.00406450
push 0
push 1
lea ecx, [ebp - 0xd0]
call fcn.00405f90
mov eax, ebx
call fcn.00482824
ret