Function at 0x4473a4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x447911
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x20], 0x10
jne 0x4473f9
mov eax, dword [ebp - 4]
test byte [eax + 0x2cc], 4
je 0x4473f9
lea edx, [ebp - 8]
mov eax, dword [0x4bebfc]
call fcn.0040623c
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x40f680]
call fcn.0040c3f4
call fcn.00403588
mov eax, dword [0x4bf7d8]
call fcn.0044b578
mov eax, dword [ebp - 4]
or byte [eax + 0x2cc], 4
xor edx, edx
push ebp
push 0x4478f4
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x20], 0x10
jne 0x4478dc
mov eax, dword [ebp - 4]
cmp byte [eax + 0x168], 0
je 0x4477d7
xor eax, eax
push ebp
push 0x44745c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov bx, 0xffb1
call fcn.00403024
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x447473
mov eax, dword [ebp - 4]
cmp byte [eax + 0x218], 4
je 0x44749f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x218], 6
jne 0x447557
mov eax, dword [ebp - 4]
cmp byte [eax + 0x217], 1
jne 0x447557
mov eax, dword [ebp - 4]
cmp byte [eax + 0x217], 1
jne 0x4474e5
mov eax, dword [0x4bf7d8]
mov eax, dword [eax + 0x38]
call fcn.0042c9d4
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x38]
sar ebx, 1
jns 0x4474c7
adc ebx, 0
mov eax, dword [0x4bf7d8]
mov eax, dword [eax + 0x38]
call fcn.0042ca18
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x3c]
sar esi, 1
jns 0x447517
adc esi, 0
jmp 0x447517
mov eax, dword [0x4bf7dc]
call fcn.00448a44
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x38]
sar ebx, 1
jns 0x4474fe
adc ebx, 0
mov eax, dword [0x4bf7dc]
call fcn.00448a38
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x3c]
sar esi, 1
jns 0x447517
adc esi, 0
test ebx, ebx
jge 0x44751d
xor ebx, ebx
test esi, esi
jge 0x447523
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x7c]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x47], 0
je 0x4476e3
mov eax, dword [ebp - 4]
call fcn.00445960
jmp 0x4476e3
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x218]
mov edx, eax
add dl, 0xfa
sub dl, 2
jae 0x44763d
mov eax, dword [0x4bf7d8]
mov esi, dword [eax + 0x38]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x218], 7
jne 0x44759d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [0x440d4c]
call fcn.00402fc0
test al, al
je 0x44759d
mov eax, dword [ebp - 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x4475cb
mov ebx, dword [esi + 0x38]
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x38]
sar ebx, 1
jns 0x4475b1
adc ebx, 0
add ebx, dword [esi + 0x30]
mov eax, dword [esi + 0x3c]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x3c]
sar eax, 1
jns 0x4475c4
adc eax, 0
add eax, dword [esi + 0x34]
mov esi, eax
jmp 0x4475fd
mov eax, dword [0x4bf7dc]
call fcn.00448a44
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x38]
sar ebx, 1
jns 0x4475e4
adc ebx, 0
mov eax, dword [0x4bf7dc]
call fcn.00448a38
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x3c]
sar esi, 1
jns 0x4475fd
adc esi, 0
test ebx, ebx
jge 0x447603
xor ebx, ebx
test esi, esi
jge 0x447609
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x7c]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x47], 0
je 0x4476e3
mov eax, dword [ebp - 4]
call fcn.00445960
jmp 0x4476e3
cmp al, 5
jne 0x4476e3
mov eax, dword [ebp - 4]
cmp byte [eax + 0x217], 1
jne 0x44768b
mov eax, dword [0x4bf7d8]
mov eax, dword [eax + 0x38]
call fcn.0042c9d4
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x38]
sar ebx, 1
jns 0x44766d
adc ebx, 0
mov eax, dword [0x4bf7d8]
mov eax, dword [eax + 0x38]
call fcn.0042ca18
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x3c]
sar esi, 1
jns 0x4476bd
adc esi, 0
jmp 0x4476bd
mov eax, dword [0x4bf7dc]
call fcn.00448a74
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x38]
sar ebx, 1
jns 0x4476a4
adc ebx, 0
mov eax, dword [0x4bf7dc]
call fcn.00448a68
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x3c]
sar esi, 1
jns 0x4476bd
adc esi, 0
test ebx, ebx
jge 0x4476c3
xor ebx, ebx
test esi, esi
jge 0x4476c9
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x7c]
mov eax, dword [ebp - 4]
mov byte [eax + 0x218], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x217], 1
jne 0x4477b2
mov eax, dword [ebp - 4]
cmp byte [eax + 0x213], 2
jne 0x44773f
push 0
mov eax, dword [ebp - 4]
call fcn.00433090
push eax
push 0x223
mov eax, dword [0x4bf7d8]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 0x23c]
push eax
call fcn.00407f00
push 3
mov eax, dword [ebp - 4]
call fcn.00433090
push eax
call fcn.00407fd8
jmp 0x447790
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x213]
mov eax, dword [eax*4 + 0x4bda74]
push eax
mov eax, dword [ebp - 4]
call fcn.00433090
push eax
call fcn.00407fd8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3c]
shl edx, 0x10
or eax, edx
push eax
push 0
push 5
mov eax, dword [ebp - 4]
call fcn.00433090
push eax
push 0x407b68
call fcn.00407b00
mov eax, dword [ebp - 4]
call fcn.0042d1b4
push 0
push 0
push 0x234
mov eax, dword [0x4bf7d8]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 0x23c]
push eax
call fcn.00407f00
jmp 0x4478dc
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x213]
mov eax, dword [eax*4 + 0x4bda74]
push eax
mov eax, dword [ebp - 4]
call fcn.00433090
push eax
call fcn.00407fd8
jmp 0x4478dc
xor eax, eax
push ebp
push 0x4477fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov bx, 0xffb2
call fcn.00403024
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x447812
mov eax, dword [0x4bf7dc]
mov eax, dword [eax + 0x60]
cmp eax, dword [ebp - 4]
jne 0x447829
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00446664
mov eax, dword [ebp - 4]
cmp byte [eax + 0x217], 1
jne 0x447842
mov eax, dword [ebp - 4]
call fcn.004305f8
jmp 0x4478dc
mov eax, dword [ebp - 4]
test byte [eax + 0x2cc], 8
je 0x44786d
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00433090
push eax
call fcn.00407fa8
jmp 0x4478dc
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00433090
mov esi, eax
call fcn.00407c40
cmp esi, eax
jne 0x4478a3
mov eax, dword [ebp - 4]
call fcn.00433090
push eax
call fcn.00407de0
test eax, eax
jne 0x4478a3
mov eax, dword [ebp - 4]
call fcn.00433090
call fcn.004422c0
mov ebx, eax
test ebx, ebx
je 0x4478cc
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00433090
push eax
call fcn.00407fa8
push ebx
call fcn.00407f18
jmp 0x4478dc
push 0
mov eax, dword [ebp - 4]
call fcn.00433090
push eax
call fcn.00407fd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4478fb
mov eax, dword [ebp - 4]
and byte [eax + 0x2cc], 0xfb
ret