Function at 0x5112b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push edi
cmp dword [ebp + 0x10], 3
jge 0x5112e8
push 0
push 0x5944a4
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
push 0x5944c0
mov edx, dword [ebp + 0xc]
push edx
call fcn.0041fd60
add esp, 0x14
mov eax, 1
jmp 0x512b39
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 8]
movsx edx, byte [ecx]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 0x14]
mov edi, dword [eax + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xffffffff
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x20], 0x61
jne 0x51158f
mov ecx, dword [ebp - 0x24]
push ecx
push 0x5944dc
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x51158f
mov dword [ebp - 0x48], 0x5944e0
mov dword [ebp - 0x38], 1
cmp dword [ebp + 0x10], 5
jge 0x511379
push 0
push 0x5944e4
mov ecx, dword [ebp - 0x48]
push ecx
push 0x594510
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
push 0x594518
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0041fd60
add esp, 0x1c
mov eax, 1
jmp 0x512b39
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00512b3e
add esp, 8
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], 4
jmp 0x5113a1
mov edx, dword [ebp - 0x28]
add edx, 2
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp + 0x10]
jge 0x51158a
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0051ae01
add esp, 0x10
test eax, eax
je 0x5113d9
mov eax, 1
jmp 0x512b39
mov ecx, dword [ebp - 0x28]
add ecx, 1
cmp dword [ebp + 0x10], ecx
jle 0x51142e
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + eax*4 + 4]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0051ae01
add esp, 0x10
test eax, eax
je 0x511411
mov eax, 1
jmp 0x512b39
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x34]
push eax
call fcn.0051b68d
add esp, 8
test eax, eax
jl 0x51142c
xor eax, eax
jmp 0x512b39
jmp 0x511452
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x44]
push ecx
push 1
lea edx, [ebp - 0x44]
push edx
call fcn.0051ba31
add esp, 0xc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x98], 0
je 0x511482
xor ecx, ecx
cmp dword [ebp - 0x38], 0
sete cl
push ecx
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00517eb2
add esp, 0x14
jmp 0x51148e
mov eax, dword [ebp + 8]
push eax
call fcn.00517ba9
add esp, 4
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.0051ced7
add esp, 0x10
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 0x168]
jne 0x511585
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0xa8]
rep stosd dword es:[edi], eax
mov dword [ebp - 0xa8], 0x23
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx]
mov ecx, dword [eax + 0x5c]
add ecx, 1
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa0], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x9c], ecx
push 0x594534
call fcn.004f0909
add esp, 4
mov dword [ebp - 0x74], eax
lea edx, [ebp - 0xa8]
push edx
call fcn.004a222c
add esp, 4
cmp dword [ebp - 0x38], 0
je 0x511578
mov eax, dword [ebp + 8]
cmp dword [eax + 0x178], 0
je 0x511578
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x228]
and edx, 1
test edx, edx
jne 0x511578
mov eax, dword [ebp + 8]
push eax
push 0x4a81e8
push 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.004d2e84
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x228]
or ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x228], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0x188], 1
jmp 0x511398
jmp 0x512b37
cmp dword [ebp - 0x20], 0x62
jne 0x5117e7
mov ecx, dword [ebp - 0x24]
push ecx
push 0x594540
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x5117e7
cmp dword [ebp + 0x10], 4
jl 0x5115c6
cmp dword [ebp + 0x10], 6
jle 0x5115ee
push 0
push 0x594548
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
push 0x594570
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041fd60
add esp, 0x14
mov eax, 1
jmp 0x512b39
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00512b3e
add esp, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1ac], 0
jne 0x511625
mov edx, dword [ebp + 0xc]
push edx
call fcn.004e5fe7
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1ac], eax
cmp dword [ebp + 0x10], 6
jne 0x511744
mov dword [ebp - 0xac], 0
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x14]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x51166c
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1ac]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004e63b1
add esp, 0x10
jmp 0x512b39
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x14]
movsx ecx, byte [eax]
cmp ecx, 0x2b
jne 0x511693
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x14]
add eax, 1
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0x14], eax
mov dword [ebp - 0xac], 1
mov edx, dword [ebp - 0xac]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1ac]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004e613f
add esp, 0x18
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jne 0x5116db
mov eax, 1
jmp 0x512b39
mov edx, dword [ebp - 0xb0]
and edx, 0xbfffc080
test edx, edx
je 0x51173f
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1ac]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004e63b1
add esp, 0x10
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041ffd0
add esp, 4
push 0
push 0x59458c
push 0x5945a0
push 0x5945d8
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0041fd60
add esp, 0x14
mov eax, 1
jmp 0x512b39
jmp 0x5117e2
cmp dword [ebp + 0x10], 5
jne 0x5117c8
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1ac]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004e6541
add esp, 0x10
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
jne 0x5117b1
mov edx, dword [ebp + 0xc]
push edx
call fcn.0041f9c0
add esp, 4
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x5117a3
mov eax, 1
jmp 0x512b39
mov edx, dword [ebp + 0xc]
push edx
call fcn.0041ffd0
add esp, 4
jmp 0x5117c6
push 0
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0041f8f0
add esp, 0xc
jmp 0x5117e2
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1ac]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004e659a
add esp, 0xc
jmp 0x512b37
cmp dword [ebp - 0x20], 0x63
jne 0x51189d
mov eax, dword [ebp - 0x24]
push eax
push 0x5945f4
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x51189d
cmp dword [ebp - 0x24], 2
jb 0x51189d
cmp dword [ebp + 0x10], 5
je 0x51184a
push 0
push 0x5945fc
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
push 0x594618
mov edx, dword [ebp + 0xc]
push edx
call fcn.0041fd60
add esp, 0x14
mov eax, 1
jmp 0x512b39
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00512d60
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x511874
mov eax, 1
jmp 0x512b39
push 0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
push 0x594120
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00522e23
add esp, 0x18
jmp 0x512b39
cmp dword [ebp - 0x20], 0x63
jne 0x511e66
mov ecx, dword [ebp - 0x24]
push ecx
push 0x594634
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x511e66
cmp dword [ebp - 0x24], 2
jb 0x511e66
cmp dword [ebp + 0x10], 4
jge 0x511905
push 0
push 0x594640
push 0x594654
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
push 0x594680
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041fd60
add esp, 0x18
mov eax, 1
jmp 0x512b39
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00512b3e
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 4
jne 0x511945
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x594120
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00522901
add esp, 0x18
jmp 0x512b39
cmp dword [ebp + 0x10], 5
jne 0x511974
push 0
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0x594120
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00522901
add esp, 0x18
jmp 0x512b39
push 0
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x14]
add eax, 0x10
push eax
mov ecx, dword [ebp + 0x10]
sub ecx, 4
push ecx
push 0x594120
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00521c50
add esp, 0x1c
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x14], 0
je 0x5119ef
mov eax, dword [ebp - 4]
add eax, 0x18
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004f0c37
add esp, 0x10
test eax, eax
je 0x5119dc
mov eax, 1
jmp 0x512b39
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
jge 0x5119ef
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp - 4]
cmp dword [edx + 0x1c], 0
je 0x511a20
mov eax, dword [ebp - 4]
add eax, 0x20
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.005086cd
add esp, 0xc
test eax, eax
je 0x511a20
mov eax, 1
jmp 0x512b39
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x34], 0
je 0x511a51
mov edx, dword [ebp - 4]
add edx, 0x38
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x34]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004f07fe
add esp, 0xc
test eax, eax
je 0x511a51
mov eax, 1
jmp 0x512b39
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
je 0x511a88
mov ecx, dword [ebp - 4]
add ecx, 0x40
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x3c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004f0c37
add esp, 0x10
test eax, eax
je 0x511a88
mov eax, 1
jmp 0x512b39
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x44], 0
je 0x511abf
mov edx, dword [ebp - 4]
add edx, 0x48
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x44]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004f0c37
add esp, 0x10
test eax, eax
je 0x511abf
mov eax, 1
jmp 0x512b39
mov edx, dword [ebp - 4]
cmp dword [edx + 0x4c], 0
je 0x511af6
mov eax, dword [ebp - 4]
add eax, 0x50
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x4c]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004f0c37
add esp, 0x10
test eax, eax
je 0x511af6
mov eax, 1
jmp 0x512b39
mov eax, dword [ebp - 4]
cmp dword [eax + 0x54], 0
je 0x511b27
mov ecx, dword [ebp - 4]
add ecx, 0x58
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00479660
add esp, 0xc
test eax, eax
je 0x511b27
mov eax, 1
jmp 0x512b39
mov edx, dword [ebp - 4]
cmp dword [edx + 0x5c], 0
je 0x511b5e
mov eax, dword [ebp - 4]
add eax, 0x60
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5c]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004f0c37
add esp, 0x10
test eax, eax
je 0x511b5e
mov eax, 1
jmp 0x512b39
mov eax, dword [ebp - 4]
cmp dword [eax + 0x64], 0
je 0x511ba8
mov ecx, dword [ebp - 4]
add ecx, 0x68
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x64]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004f0c37
add esp, 0x10
test eax, eax
je 0x511b95
mov eax, 1
jmp 0x512b39
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x68], 0
jge 0x511ba8
mov edx, dword [ebp - 4]
mov dword [edx + 0x68], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x6c], 0
je 0x511bf2
mov ecx, dword [ebp - 4]
add ecx, 0x70
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x6c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004f0c37
add esp, 0x10
test eax, eax
je 0x511bdf
mov eax, 1
jmp 0x512b39
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x70], 0
jge 0x511bf2
mov edx, dword [ebp - 4]
mov dword [edx + 0x70], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
je 0x511c3c
mov ecx, dword [ebp - 4]
add ecx, 0x78
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x74]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004f0c37
add esp, 0x10
test eax, eax
je 0x511c29
mov eax, 1
jmp 0x512b39
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x78], 0
jge 0x511c3c
mov edx, dword [ebp - 4]
mov dword [edx + 0x78], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x80], 0
je 0x511c67
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x80]
push edx
call fcn.00439ac0
add esp, 4
mov eax, dword [ebp - 4]
mov dword [eax + 0x80], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x7c], 0
je 0x511ca8
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x7c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004a9148
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x80], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x80], 0
jne 0x511ca8
mov eax, 1
jmp 0x512b39
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
je 0x511ce2
mov ecx, dword [ebp - 4]
add ecx, 0x88
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x84]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00479660
add esp, 0xc
test eax, eax
je 0x511ce2
mov eax, 1
jmp 0x512b39
mov edx, dword [ebp - 4]
cmp dword [edx + 0x90], 0
je 0x511d1b
mov eax, dword [ebp - 4]
add eax, 0x94
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x90]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00479660
add esp, 0xc
test eax, eax
je 0x511d1b
mov eax, 1
jmp 0x512b39
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
cmp edx, dword [ecx + 0x168]
jne 0x511d56
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x16c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x170], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x174], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x98], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
jne 0x511e38
mov edx, dword [ebp - 4]
cmp dword [edx + 0x14], 0
jne 0x511e38
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
jne 0x511e38
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x24], 0
jne 0x511e38
mov edx, dword [ebp - 4]
cmp dword [edx + 0x28], 0
jne 0x511e38
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2c], 0
jne 0x511e38
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x30], 0
jne 0x511e38
mov edx, dword [ebp - 4]
cmp dword [edx + 0x34], 0
jne 0x511e38
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
jne 0x511e38
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x44], 0
jne 0x511e38
mov edx, dword [ebp - 4]
cmp dword [edx + 0x4c], 0
jne 0x511e38
mov eax, dword [ebp - 4]
cmp dword [eax + 0x54], 0
jne 0x511e38
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x5c], 0
jne 0x511e38
mov edx, dword [ebp - 4]
cmp dword [edx + 0x64], 0
jne 0x511e38
mov eax, dword [ebp - 4]
cmp dword [eax + 0x6c], 0
jne 0x511e38
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x74], 0
jne 0x511e38
mov edx, dword [ebp - 4]
cmp dword [edx + 0x7c], 0
jne 0x511e38
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
jne 0x511e38
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x90], 0
jne 0x511e38
mov edx, dword [ebp - 4]
cmp dword [edx + 0x8c], 0
je 0x511e45
mov eax, dword [ebp - 4]
mov dword [eax + 0x98], 1
push 1
mov ecx, dword [ebp - 4]
push ecx
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.00517eb2
add esp, 0x14
mov eax, dword [ebp - 0xbc]
jmp 0x512b39
cmp dword [ebp - 0x20], 0x64
jne 0x51208d
mov eax, dword [ebp - 0x24]
push eax
push 0x59469c
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x51208d
cmp dword [ebp + 0x10], 4
jge 0x511ebf
push 0
push 0x5946a4
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
push 0x5946c8
mov edx, dword [ebp + 0xc]
push edx
call fcn.0041fd60
add esp, 0x14
mov eax, 1
jmp 0x512b39
mov dword [ebp - 0x28], 3
jmp 0x511ed1
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp + 0x10]
jge 0x512088
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x14
push edx
mov eax, dword [ebp + 8]
call dword [eax + 0x40]
add esp, 8
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
jne 0x511f08
jmp 0x511ec8
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x168]
jne 0x511f24
jmp 0x511ec8
mov edx, dword [ebp - 4]
cmp dword [edx + 0x98], 0
je 0x511f46
push 1
mov eax, dword [ebp - 4]
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00517eb2
add esp, 0x14
lea edx, [ebp - 0x1c]
push edx
push 0
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.0051aac0
add esp, 0x10
lea edx, [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.0051f754
add esp, 4
push eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
push eax
call fcn.0051aac0
add esp, 0x10
push 0
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.0051ced7
add esp, 0x10
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
cmp edx, dword [ecx + 0x168]
jne 0x512019
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x120]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x120], 0x23
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
add eax, 1
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 0x114], eax
push 0x5946e4
call fcn.004f0909
add esp, 4
mov dword [ebp - 0xec], eax
lea ecx, [ebp - 0x120]
push ecx
call fcn.004a222c
add esp, 4
mov edx, dword [ebp - 0xc0]
push edx
call fcn.00475620
add esp, 4
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1ac], 0
je 0x51204a
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1ac]
push eax
call fcn.004e6655
add esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x4c]
sub edx, 1
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0051309c
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x4c]
sub eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x4c], eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00512db1
add esp, 8
jmp 0x511ec8
jmp 0x512b37
cmp dword [ebp - 0x20], 0x6c
jne 0x5121be
mov ecx, dword [ebp - 0x24]
push ecx
push 0x5946f0
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x5121be
cmp dword [ebp + 0x10], 4
je 0x5120ec
cmp dword [ebp + 0x10], 5
je 0x5120ec
push 0
push 0x5946f8
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
push 0x594718
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041fd60
add esp, 0x14
mov eax, 1
jmp 0x512b39
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00512d60
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x512116
mov eax, 1
jmp 0x512b39
cmp dword [ebp + 0x10], 5
jne 0x512182
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00512d60
add esp, 0xc
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
jne 0x51214c
mov eax, 1
jmp 0x512b39
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x128]
mov edx, dword [eax + 4]
cmp edx, dword [ecx + 4]
jge 0x512171
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 4]
sub ecx, 1
mov dword [ebp - 0x124], ecx
jmp 0x512180
mov edx, dword [ebp - 0x128]
mov eax, dword [edx + 4]
mov dword [ebp - 0x124], eax
jmp 0x51218c
mov dword [ebp - 0x124], 0
mov ecx, dword [ebp - 0x124]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0051309c
add esp, 0xc
push 1
mov ecx, dword [ebp - 4]
push ecx
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.00517eb2
add esp, 0x14
jmp 0x512b37
cmp dword [ebp - 0x20], 0x6e
jne 0x512376
mov eax, dword [ebp - 0x24]
push eax
push 0x594734
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x512376
cmp dword [ebp - 0x24], 2
jb 0x512376
cmp dword [ebp + 0x10], 3
je 0x512227
cmp dword [ebp + 0x10], 4
je 0x512227
push 0
push 0x59473c
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
push 0x594750
mov edx, dword [ebp + 0xc]
push edx
call fcn.0041fd60
add esp, 0x14
mov eax, 1
jmp 0x512b39
cmp dword [ebp + 0x10], 3
jne 0x5122ba
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x4c]
shl ecx, 2
push ecx
call fcn.00439980
add esp, 4
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x28], 0
lea edx, [ebp - 0x140]
push edx
mov eax, dword [ebp + 8]
add eax, 0x14
push eax
call fcn.00475770
add esp, 8
mov dword [ebp - 0x134], eax
jmp 0x51228c
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x140]
push edx
call fcn.004757c0
add esp, 4
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x5122ac
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x134]
mov edx, dword [edx + 0xc]
mov dword [ecx + eax*4], edx
jmp 0x51226e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x4c]
mov dword [ebp - 0x12c], ecx
jmp 0x51230c
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0051ae01
add esp, 0x10
test eax, eax
je 0x5122e3
mov eax, 1
jmp 0x512b39
lea ecx, [ebp - 0x12c]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.0051e127
add esp, 8
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
jne 0x51230c
xor eax, eax
jmp 0x512b39
mov eax, dword [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x12c]
push ecx
call fcn.00512f9b
add esp, 8
mov dword [ebp - 0x28], 0
jmp 0x512334
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x12c]
jge 0x512362
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x130]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041fd80
add esp, 8
jmp 0x51232b
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.00439ac0
add esp, 4
jmp 0x512b37
cmp dword [ebp - 0x20], 0x6e
jne 0x5125ed
mov edx, dword [ebp - 0x24]
push edx
push 0x59476c
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x5125ed
cmp dword [ebp - 0x24], 2
jb 0x5125ed
cmp dword [ebp + 0x10], 5
je 0x5123df
cmp dword [ebp + 0x10], 6
je 0x5123df
push 0
push 0x594778
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
push 0x5947a0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0041fd60
add esp, 0x14
mov eax, 1
jmp 0x512b39
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call fcn.00512d60
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x512404
xor eax, eax
jmp 0x512b39
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0051ae01
add esp, 0x10
test eax, eax
je 0x51242d
mov eax, 1
jmp 0x512b39
lea ecx, [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
push eax
call fcn.0051f754
add esp, 4
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
call fcn.0051aac0
add esp, 0x10
cmp dword [ebp + 0x10], 5
jne 0x51246c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x3c], edx
jmp 0x512495
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0051ae01
add esp, 0x10
test eax, eax
je 0x512495
mov eax, 1
jmp 0x512b39
lea edx, [ebp - 0x184]
push edx
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.0051d412
add esp, 0x10
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.0051df8a
add esp, 8
test eax, eax
je 0x51254f
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 8]
mov dword [ebp - 0x188], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18c], ecx
jmp 0x512503
mov edx, dword [ebp - 0x188]
mov eax, dword [ebp - 0x18c]
sub eax, dword [edx + 8]
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp - 0x188]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x188], edx
cmp dword [ebp - 0x18c], 0
jl 0x512535
cmp dword [ebp - 0x18c], 0
jne 0x512533
mov eax, dword [ebp - 0x188]
cmp dword [eax], 0x594f98
jne 0x512533
mov ecx, dword [ebp - 0x188]
mov edx, dword [ecx + 0xc]
cmp edx, dword [ebp - 4]
jne 0x512533
jmp 0x512569
jmp 0x5124df
lea eax, [ebp - 0x184]
push eax
call fcn.0051d982
add esp, 4
test eax, eax
jne 0x51254f
xor eax, eax
jmp 0x512b39
lea ecx, [ebp - 0x184]
push ecx
call fcn.0051d982
add esp, 4
test eax, eax
jne 0x512569
xor eax, eax
jmp 0x512b39
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x184]
push eax
call fcn.0051b68d
add esp, 8
test eax, eax
jl 0x512587
xor eax, eax
jmp 0x512b39
lea ecx, [ebp - 0x160]
push ecx
lea edx, [ebp - 0x184]
push edx
call fcn.0051b5b0
add esp, 8
lea eax, [ebp - 0x160]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0041fd80
add esp, 8
lea edx, [ebp - 0x184]
push edx
call fcn.0051d982
add esp, 4
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x184]
push ecx
call fcn.0051b5b0
add esp, 8
lea edx, [ebp - 0x160]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041fd80
add esp, 8
jmp 0x512b37
cmp dword [ebp - 0x20], 0x70
jne 0x512837
mov ecx, dword [ebp - 0x24]
push ecx
push 0x5947bc
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x512837
cmp dword [ebp - 0x24], 2
jb 0x512837
cmp dword [ebp + 0x10], 5
je 0x512656
cmp dword [ebp + 0x10], 6
je 0x512656
push 0
push 0x5947c8
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
push 0x5947f0
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041fd60
add esp, 0x14
mov eax, 1
jmp 0x512b39
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 0
call fcn.00512d60
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x51267b
xor eax, eax
jmp 0x512b39
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0051ae01
add esp, 0x10
test eax, eax
je 0x5126a4
mov eax, 1
jmp 0x512b39
cmp dword [ebp + 0x10], 5
jne 0x5126c3
lea eax, [ebp - 0x44]
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
call fcn.0051aac0
add esp, 0x10
jmp 0x5126ec
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0051ae01
add esp, 0x10
test eax, eax
je 0x5126ec
mov eax, 1
jmp 0x512b39
lea edx, [ebp - 0x1f0]
push edx
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.0051d694
add esp, 0x10
lea eax, [ebp - 0x1f0]
push eax
call fcn.0051dc04
add esp, 4
test eax, eax
jne 0x512721
xor eax, eax
jmp 0x512b39
mov ecx, dword [ebp - 0x1e4]
cmp dword [ecx], 0x594f98
jne 0x5127b3
lea edx, [ebp - 0x1cc]
push edx
lea eax, [ebp - 0x1f0]
push eax
call fcn.0051b5b0
add esp, 8
lea ecx, [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
push eax
call fcn.0051f754
add esp, 4
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
call fcn.0051aac0
add esp, 0x10
lea eax, [ebp - 0x1f0]
push eax
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x1f0]
push eax
call fcn.0051d412
add esp, 0x10
lea ecx, [ebp - 0x1f0]
push ecx
call fcn.0051d982
add esp, 4
lea edx, [ebp - 0x1ac]
push edx
lea eax, [ebp - 0x1f0]
push eax
call fcn.0051b5b0
add esp, 8
jmp 0x51280c
lea ecx, [ebp - 0x1ac]
push ecx
lea edx, [ebp - 0x1f0]
push edx
call fcn.0051b5b0
add esp, 8
lea eax, [ebp - 0x1f0]
push eax
call fcn.0051dc04
add esp, 4
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x1f0]
push edx
call fcn.0051b68d
add esp, 8
test eax, eax
jge 0x5127f6
xor eax, eax
jmp 0x512b39
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0x1f0]
push ecx
call fcn.0051b5b0
add esp, 8
lea edx, [ebp - 0x1cc]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041fd80
add esp, 8
lea ecx, [ebp - 0x1ac]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0041fd80
add esp, 8
jmp 0x512b37
cmp dword [ebp - 0x20], 0x72
jne 0x512977
mov eax, dword [ebp - 0x24]
push eax
push 0x59480c
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x512977
cmp dword [ebp - 0x24], 3
jb 0x512977
cmp dword [ebp + 0x10], 4
je 0x5128a0
cmp dword [ebp + 0x10], 5
je 0x5128a0
push 0
push 0x594814
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
push 0x594834
mov edx, dword [ebp + 0xc]
push edx
call fcn.0041fd60
add esp, 0x14
mov eax, 1
jmp 0x512b39
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00512d60
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x5128ca
mov eax, 1
jmp 0x512b39
cmp dword [ebp + 0x10], 5
jne 0x512936
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00512d60
add esp, 0xc
mov dword [ebp - 0x1f8], eax
cmp dword [ebp - 0x1f8], 0
jne 0x512900
mov eax, 1
jmp 0x512b39
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [edx + 4]
cmp ecx, dword [eax + 4]
jg 0x512922
mov edx, dword [ebp - 0x1f8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x1f4], eax
jmp 0x512934
mov ecx, dword [ebp - 0x1f8]
mov edx, dword [ecx + 4]
add edx, 1
mov dword [ebp - 0x1f4], edx
jmp 0x512945
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x4c]
sub ecx, 1
mov dword [ebp - 0x1f4], ecx
mov edx, dword [ebp - 0x1f4]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0051309c
add esp, 0xc
push 1
mov edx, dword [ebp - 4]
push edx
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00517eb2
add esp, 0x14
jmp 0x512b37
cmp dword [ebp - 0x20], 0x72
jne 0x512ad0
mov ecx, dword [ebp - 0x24]
push ecx
push 0x594850
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x512ad0
cmp dword [ebp - 0x24], 3
jb 0x512ad0
cmp dword [ebp + 0x10], 4
je 0x5129da
push 0
push 0x594858
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
push 0x594870
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041fd60
add esp, 0x14
mov eax, 1
jmp 0x512b39
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 0
call fcn.00512d60
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x5129ff
xor eax, eax
jmp 0x512b39
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
push eax
call fcn.0051aac0
add esp, 0x10
lea ecx, [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
push eax
call fcn.0051f754
add esp, 4
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
call fcn.0051aac0
add esp, 0x10
lea eax, [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.0051d412
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.0051df8a
add esp, 8
test eax, eax
je 0x512a90
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0051b5b0
add esp, 8
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041fd80
add esp, 8
lea ecx, [ebp - 0x23c]
push ecx
call fcn.0051d982
add esp, 4
test eax, eax
je 0x512ace
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x23c]
push eax
call fcn.0051b5b0
add esp, 8
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0041fd80
add esp, 8
jmp 0x512a90
jmp 0x512b37
cmp dword [ebp - 0x20], 0x72
jne 0x512b0c
mov eax, dword [ebp - 0x24]
push eax
push 0x59488c
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x512b0c
cmp dword [ebp - 0x24], 2
jb 0x512b0c
mov dword [ebp - 0x48], 0x594894
mov dword [ebp - 0x38], 0
jmp 0x511342
push 0
push 0x59489c
push 0x5948c8
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 8]
push ecx
push 0x594900
mov edx, dword [ebp + 0xc]
push edx
call fcn.0041fd60
add esp, 0x18
mov eax, 1
jmp 0x512b39
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret