Function at 0x5546b4
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x5546bd
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404690
mov eax, dword [ebp - 0xc]
call fcn.00404690
mov eax, dword [ebp + 0xc]
call fcn.00404690
xor eax, eax
push ebp
push 0x554d2e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.00409654
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x14]
call fcn.00408764
lea edx, [ebp - 0x30]
mov eax, dword [ebp + 0xc]
call fcn.00409654
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x18]
call fcn.00408764
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp + 0xc]
call fcn.004044a0
mov edx, eax
mov ecx, 1
mov eax, dword [ebp + 0xc]
call fcn.00404700
mov eax, dword [ebp - 0x34]
mov edx, 0x554d48
call fcn.004045ec
jne 0x554766
mov eax, dword [ebp + 0xc]
call fcn.004044a0
mov edx, eax
lea eax, [ebp + 0xc]
mov ecx, 1
call fcn.00404740
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00408764
mov eax, dword [ebp - 0x38]
push eax
lea edx, [ebp - 0x40]
mov eax, dword [ebp + 0xc]
call fcn.00408874
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.00408764
mov eax, dword [ebp - 0x3c]
pop edx
call fcn.004047e4
test eax, eax
jg 0x5547ab
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
call fcn.004047e4
test eax, eax
jle 0x554b9d
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0xc]
call fcn.00409598
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.00408798
mov edx, dword [ebp - 0x44]
mov eax, 0x554d54
call fcn.004047e4
test eax, eax
jle 0x5547ee
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0xc]
call fcn.00408874
mov eax, dword [ebp - 0x4c]
call fcn.004046a0
mov edx, eax
mov eax, ebx
call fcn.0054a064
mov eax, dword [ebp + 8]
call fcn.00492aa8
mov ebx, eax
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.00492abc
add eax, 0x20
mov edx, dword [ebp - 8]
call fcn.00404234
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.00492abc
add eax, 0x24
push eax
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0xc]
call fcn.00409598
mov edx, dword [ebp - 0x50]
pop eax
call fcn.00404234
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.00492abc
add eax, 0x28
mov edx, dword [ebp - 0xc]
call fcn.00404234
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.00492abc
add eax, 0x1c
mov edx, 0x554d64
call fcn.00404234
xor eax, eax
push ebp
push 0x55488b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0xc]
call fcn.00409654
mov eax, dword [ebp - 0x54]
mov edx, 0x20
call fcn.004092a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x554895
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0xc]
call fcn.00409598
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
call fcn.00408798
mov edx, dword [ebp - 0x58]
mov eax, 0x554d70
call fcn.004047e4
test eax, eax
jle 0x5549a7
lea edx, [ebp - 0x60]
mov eax, dword [0xbd3574]
call fcn.00408874
cmp dword [ebp - 0x60], 0
jne 0x5548f8
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0xc]
call fcn.00409598
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
call fcn.00408798
mov edx, dword [ebp - 0x64]
mov eax, 0xbd3574
call fcn.00404234
jmp 0x55492b
push dword [0xbd3574]
push 0x554d80
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0xc]
call fcn.00409598
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x6c]
call fcn.00408798
push dword [ebp - 0x6c]
mov eax, 0xbd3574
mov edx, 3
call fcn.00404560
mov cl, 1
mov edx, 0x554d8c
mov eax, dword [ebp - 0x1c]
call fcn.00549b9c
xor eax, eax
push ebp
push 0x554968
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 0xc]
call fcn.00409598
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 4]
call fcn.0054aef8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x554972
xor eax, eax
push ebp
push 0x55499d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 0xc]
call fcn.00409598
mov eax, dword [ebp - 0x78]
call fcn.005427b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5549a7
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0xc]
call fcn.00409598
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x7c]
call fcn.00408798
mov edx, dword [ebp - 0x7c]
mov eax, 0x554da8
call fcn.004047e4
test eax, eax
jle 0x554b9d
mov eax, dword [0xbd3584]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x554b9d
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.00409598
lea ecx, [ebp - 0x88]
mov edx, dword [ebp - 0x10]
mov eax, dword [0xbd3584]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x84]
call fcn.00408624
mov eax, dword [ebp - 0x84]
push eax
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 0x20]
call fcn.00408624
mov eax, dword [ebp - 0x8c]
pop edx
call fcn.004047e4
test eax, eax
jle 0x554b91
lea ecx, [ebp - 0x90]
mov edx, dword [ebp - 0x10]
mov eax, dword [0xbd3584]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x90]
mov eax, 0x554db8
call fcn.004047e4
mov ebx, eax
lea ecx, [ebp - 0x94]
mov edx, dword [ebp - 0x10]
mov eax, dword [0xbd3584]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x94]
mov eax, 0x554dc4
call fcn.004047e4
mov esi, eax
test ebx, ebx
jle 0x554ac4
cmp ebx, esi
jge 0x554ac4
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x98]
mov edx, dword [ebp - 0x10]
mov eax, dword [0xbd3584]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x98]
mov ecx, esi
sub ecx, ebx
dec ecx
lea edx, [ebx + 1]
call fcn.00404700
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x24]
call fcn.00408874
cmp dword [ebp - 0x9c], 0
je 0x554b91
lea edx, [ebp - 0xa0]
mov eax, 0x554dd0
call fcn.00408798
mov eax, dword [ebp - 0xa0]
push eax
lea edx, [ebp - 0xa8]
mov eax, dword [ebp - 0x24]
call fcn.00409598
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xa4]
call fcn.00408798
mov eax, dword [ebp - 0xa4]
pop edx
call fcn.004047e4
test eax, eax
jne 0x554b91
xor eax, eax
push ebp
push 0x554b4c
push dword fs:[eax]
mov dword fs:[eax], esp
mov cl, 1
mov edx, 0x554d8c
mov eax, dword [ebp - 0x1c]
call fcn.00549b9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x554b56
xor eax, eax
push ebp
push 0x554b87
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x24]
call fcn.00409598
mov eax, dword [ebp - 0xac]
call fcn.005427b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x554b91
inc dword [ebp - 0x10]
dec dword [ebp - 0x28]
jne 0x5549f0
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 0xc]
call fcn.00408624
mov eax, dword [ebp - 0xb0]
push eax
lea edx, [ebp - 0xb4]
mov eax, 0x554e7c
call fcn.00408624
mov eax, dword [ebp - 0xb4]
pop edx
call fcn.004047e4
test eax, eax
jg 0x554ce1
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 0xc]
call fcn.00409598
mov eax, dword [ebp - 0xbc]
lea edx, [ebp - 0xb8]
call fcn.00408798
mov edx, dword [ebp - 0xb8]
mov eax, 0x554ea0
call fcn.004047e4
test eax, eax
jle 0x554ce1
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.005544b0
lea edx, [ebp - 0xc0]
mov eax, dword [ebp - 0x20]
call fcn.00408764
mov eax, dword [ebp - 0xc0]
push eax
lea edx, [ebp - 0xc8]
mov eax, dword [ebp + 0xc]
call fcn.00408874
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0xc4]
call fcn.00408764
mov eax, dword [ebp - 0xc4]
pop edx
call fcn.004047e4
test eax, eax
jg 0x554c6e
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 0xc]
call fcn.004047e4
test eax, eax
jle 0x554ce1
mov eax, dword [ebp + 8]
call fcn.00492aa8
mov ebx, eax
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.00492abc
add eax, 0x20
mov edx, dword [ebp - 8]
call fcn.00404234
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.00492abc
add eax, 0x24
push eax
lea edx, [ebp - 0xcc]
mov eax, dword [ebp - 0xc]
call fcn.00409598
mov edx, dword [ebp - 0xcc]
pop eax
call fcn.00404234
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.00492abc
add eax, 0x28
mov edx, dword [ebp - 0xc]
call fcn.00404234
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.00492abc
add eax, 0x1c
mov edx, 0x554d64
call fcn.00404234
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x554d35
lea eax, [ebp - 0xcc]
mov edx, 0x29
call fcn.00404204
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00404204
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404204
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404204
lea eax, [ebp + 0xc]
call fcn.004041e0
ret