Function at 0x401910
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4f0
mov eax, dword [0x434094]
xor eax, ebp
mov dword [ebp - 8], eax
push edi
mov dword [ebp - 4], 0
mov ecx, 0x456708
call fcn.00403e10
test eax, eax
je 0x401cd4
cmp dword [0x457114], 6
je 0x401953
cmp dword [0x457114], 7
jne 0x401bf1
mov eax, dword [0x431888]
mov dword [ebp - 0x288], eax
mov ecx, dword [0x43188c]
mov dword [ebp - 0x284], ecx
mov edx, dword [0x431890]
mov dword [ebp - 0x280], edx
mov ax, word [0x431894]
mov word [ebp - 0x27c], ax
push 0x72
push 0
lea ecx, [ebp - 0x27a]
push ecx
call fcn.00419370
add esp, 0xc
mov edx, dword [0x431898]
mov dword [ebp - 0x208], edx
mov eax, dword [0x43189c]
mov dword [ebp - 0x204], eax
mov ecx, dword [0x4318a0]
mov dword [ebp - 0x200], ecx
mov dx, word [0x4318a4]
mov word [ebp - 0x1fc], dx
push 0x72
push 0
lea eax, [ebp - 0x1fa]
push eax
call fcn.00419370
add esp, 0xc
mov ecx, dword [0x4318a8]
mov dword [ebp - 0x188], ecx
mov edx, dword [0x4318ac]
mov dword [ebp - 0x184], edx
mov eax, dword [0x4318b0]
mov dword [ebp - 0x180], eax
mov cx, word [0x4318b4]
mov word [ebp - 0x17c], cx
push 0x72
push 0
lea edx, [ebp - 0x17a]
push edx
call fcn.00419370
add esp, 0xc
mov eax, dword [0x4318b8]
mov dword [ebp - 0x108], eax
mov ecx, dword [0x4318bc]
mov dword [ebp - 0x104], ecx
mov edx, dword [0x4318c0]
mov dword [ebp - 0x100], edx
mov eax, dword [0x4318c4]
mov dword [ebp - 0xfc], eax
push 0x70
push 0
lea ecx, [ebp - 0xf8]
push ecx
call fcn.00419370
add esp, 0xc
mov edx, dword [0x4318c8]
mov dword [ebp - 0x88], edx
mov eax, dword [0x4318cc]
mov dword [ebp - 0x84], eax
mov ecx, dword [0x4318d0]
mov dword [ebp - 0x80], ecx
mov edx, dword [0x4318d4]
mov dword [ebp - 0x7c], edx
mov ax, word [0x4318d8]
mov word [ebp - 0x78], ax
push 0x6e
push 0
lea ecx, [ebp - 0x76]
push ecx
call fcn.00419370
add esp, 0xc
mov dword [ebp - 0x28c], 0
jmp 0x401abd
mov edx, dword [ebp - 0x28c]
add edx, 1
mov dword [ebp - 0x28c], edx
cmp dword [ebp - 0x28c], 5
jge 0x401bec
mov eax, dword [ebp - 0x28c]
shl eax, 7
lea ecx, [ebp + eax - 0x288]
push ecx
mov ecx, 0x456708
call fcn.00404030
test eax, eax
je 0x401be7
mov edx, dword [ebp - 0x28c]
shl edx, 7
lea eax, [ebp + edx - 0x288]
mov dword [ebp - 0x4ac], eax
mov dword [ebp - 0x4b0], 0x4565d8
mov ecx, dword [ebp - 0x4b0]
mov dword [ebp - 0x4b4], ecx
mov edx, dword [ebp - 0x4ac]
mov ax, word [edx]
mov word [ebp - 0x4b6], ax
mov ecx, dword [ebp - 0x4b0]
mov dx, word [ebp - 0x4b6]
mov word [ecx], dx
mov eax, dword [ebp - 0x4ac]
add eax, 2
mov dword [ebp - 0x4ac], eax
mov ecx, dword [ebp - 0x4b0]
add ecx, 2
mov dword [ebp - 0x4b0], ecx
cmp word [ebp - 0x4b6], 0
jne 0x401b19
mov dword [0x435450], 6
mov dword [ebp - 0x4bc], 0x45711c
mov dword [ebp - 0x4c0], 0x456558
mov edx, dword [ebp - 0x4c0]
mov dword [ebp - 0x4c4], edx
mov eax, dword [ebp - 0x4bc]
mov cx, word [eax]
mov word [ebp - 0x4c6], cx
mov edx, dword [ebp - 0x4c0]
mov ax, word [ebp - 0x4c6]
mov word [edx], ax
mov ecx, dword [ebp - 0x4bc]
add ecx, 2
mov dword [ebp - 0x4bc], ecx
mov edx, dword [ebp - 0x4c0]
add edx, 2
mov dword [ebp - 0x4c0], edx
cmp word [ebp - 0x4c6], 0
jne 0x401b8b
mov eax, dword [ebp - 0x28c]
mov dword [0x435454], eax
mov dword [ebp - 4], 1
jmp 0x401bec
jmp 0x401aae
jmp 0x401cd4
mov ecx, dword [0x457114]
mov dword [0x435450], ecx
mov dword [ebp - 0x4cc], 0x45711c
mov dword [ebp - 0x4d0], 0x456558
mov edx, dword [ebp - 0x4d0]
mov dword [ebp - 0x4d4], edx
mov eax, dword [ebp - 0x4cc]
mov cx, word [eax]
mov word [ebp - 0x4d6], cx
mov edx, dword [ebp - 0x4d0]
mov ax, word [ebp - 0x4d6]
mov word [edx], ax
mov ecx, dword [ebp - 0x4cc]
add ecx, 2
mov dword [ebp - 0x4cc], ecx
mov edx, dword [ebp - 0x4d0]
add edx, 2
mov dword [ebp - 0x4d0], edx
cmp word [ebp - 0x4d6], 0
jne 0x401c1d
mov dword [ebp - 0x4dc], 0x4571a0
mov dword [ebp - 0x4e0], 0x4565d8
mov eax, dword [ebp - 0x4e0]
mov dword [ebp - 0x4e4], eax
mov ecx, dword [ebp - 0x4dc]
mov dx, word [ecx]
mov word [ebp - 0x4e6], dx
mov eax, dword [ebp - 0x4e0]
mov cx, word [ebp - 0x4e6]
mov word [eax], cx
mov edx, dword [ebp - 0x4dc]
add edx, 2
mov dword [ebp - 0x4dc], edx
mov eax, dword [ebp - 0x4e0]
add eax, 2
mov dword [ebp - 0x4e0], eax
cmp word [ebp - 0x4e6], 0
jne 0x401c85
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
jne 0x401cee
mov dword [0x435450], 0xffffffff
mov dword [0x4566e8], 0
cmp dword [0x456550], 3
jne 0x401f22
cmp dword [0x435450], 0
jl 0x401d0d
cmp dword [0x435450], 5
jle 0x401d21
mov dword [0x4566e8], 0
jmp 0x401f22
cmp dword [0x4566e8], 0
jne 0x401f22
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x290], 0
xor ecx, ecx
mov word [ebp - 0x4a0], cx
push 0x206
push 0
lea edx, [ebp - 0x49e]
push edx
call fcn.00419370
add esp, 0xc
lea eax, [ebp - 0x4a0]
push eax
call fcn.004036f0
add esp, 4
lea ecx, [ebp - 0x4a0]
add ecx, 0xfffffffe
mov dword [ebp - 0x4ec], ecx
mov edx, dword [ebp - 0x4ec]
mov ax, word [edx + 2]
mov word [ebp - 0x4ee], ax
add dword [ebp - 0x4ec], 2
cmp word [ebp - 0x4ee], 0
jne 0x401d7f
mov edi, dword [ebp - 0x4ec]
mov ecx, dword [0x4318dc]
mov dword [edi], ecx
mov edx, dword [0x4318e0]
mov dword [edi + 4], edx
mov eax, dword [0x4318e4]
mov dword [edi + 8], eax
mov ecx, dword [0x4318e8]
mov dword [edi + 0xc], ecx
mov edx, dword [0x4318ec]
mov dword [edi + 0x10], edx
mov eax, dword [0x4318f0]
mov dword [edi + 0x14], eax
lea ecx, [ebp - 0x4a0]
push ecx
call dword [0x42a140]
cmp eax, 0xffffffff
jne 0x401e57
lea edx, [ebp - 0x298]
push edx
push 0x4318f4
push 0x83
call fcn.00403760
add esp, 0xc
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0
je 0x401e1d
cmp dword [ebp - 0x298], 0xa
jge 0x401e27
jmp 0x401f22
push 0x42daef
lea eax, [ebp - 0x4a0]
push eax
mov ecx, dword [ebp - 0x298]
push ecx
mov edx, dword [ebp - 0x290]
push edx
call fcn.00406500
add esp, 0x10
test eax, eax
je 0x401e57
jmp 0x401f22
call dword [0x42a13c]
push eax
lea eax, [ebp - 0x4a0]
push eax
mov ecx, 0x4572bc
call fcn.004010b0
test eax, eax
jne 0x401e7d
jmp 0x401f22
cmp dword [ebp - 0x290], 0
je 0x401ea1
mov ecx, dword [ebp - 0x290]
mov dword [ebp - 0x4a8], ecx
mov edx, dword [ebp - 0x4a8]
push edx
call fcn.0041734d
add esp, 4
mov dword [ebp - 0x294], 0
lea eax, [ebp - 0x294]
push eax
push 0x28
call dword [0x42a138]
push eax
call dword [0x42a008]
test eax, eax
je 0x401edb
push 1
push 0x431974
mov ecx, dword [ebp - 0x294]
push ecx
call fcn.004044d0
add esp, 0xc
cmp dword [ebp - 0x294], 0
je 0x401ef1
mov edx, dword [ebp - 0x294]
push edx
call dword [0x42a134]
lea eax, [ebp - 0x4a0]
push eax
mov ecx, dword [0x457118]
push ecx
call fcn.004042a0
add esp, 8
mov dword [ebp - 0x4a4], eax
cmp dword [ebp - 0x4a4], 0
jne 0x401f22
mov edx, dword [0x457118]
mov dword [0x4566e8], edx
mov eax, dword [ebp - 4]
pop edi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00417358
mov esp, ebp
pop ebp
ret