Function at 0x413841
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4dc
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
mov edi, 0x206
push edi
mov word [esp + 0xdc], ax
xor esi, esi
lea eax, [esp + 0xde]
push esi
push eax
call fcn.004243a0
add esp, 0xc
xor eax, eax
push edi
mov word [esp + 0x2e4], ax
lea eax, [esp + 0x2e6]
push esi
push eax
call fcn.004243a0
add esp, 0xc
xor eax, eax
push 0x7e
mov word [esp + 0x5c], ax
lea eax, [esp + 0x5e]
push esi
push eax
call fcn.004243a0
add esp, 0xc
mov edi, ebx
call fcn.00413379
lea eax, [ebx + 4]
push 3
push dword [eax]
mov dword [esp + 0x28], eax
call fcn.0040b516
mov edi, dword [0x430444]
push 1
push dword [ebx + 0x18b0]
push 0x30
push dword [ebx + 0x18b8]
call edi
push 0x103
push 0x33
lea eax, [esp + 0x2e8]
call fcn.0040b568
push 0x3f
push 0x37
lea eax, [esp + 0x60]
call fcn.0040b568
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 4]
cmp eax, 1
jne 0x413916
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x2e4]
push eax
push 0x436d20
jmp 0x41392d
cmp eax, 2
jne 0x413943
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x2e4]
push eax
push str._s__64__s_
push 0x103
lea esi, [esp + 0xe8]
call fcn.0041641f
add esp, 0x10
xor esi, esi
lea eax, [esp + 0xd8]
push eax
push dword [ebx + 0x18b8]
call dword [0x430424]
push 0x80c086
push esi
push 0x409
push dword [ebx + 0x19dc]
call edi
push 0x640000
push esi
push 0x401
push dword [ebx + 0x19dc]
call edi
push esi
push esi
push 0x402
push dword [ebx + 0x19dc]
call edi
lea edi, [ebx + 0x18d8]
call fcn.00416408
push esi
push dword [ebx + 0x18dc]
call dword [0x430420]
push 0x104
push 0x20
lea eax, [esp + 0xe0]
call fcn.0040b568
lea eax, [esp + 0xd8]
push eax
push dword [ebx + 0x1938]
call dword [0x430424]
lea edi, [ebx + 0x1958]
call fcn.00416408
push esi
push dword [ebx + 0x195c]
call dword [0x430420]
push 0x104
push 0x2d
lea eax, [esp + 0xe0]
call fcn.0040b568
lea eax, [esp + 0xd8]
push eax
push dword [ebx + 0x19b8]
call dword [0x430424]
lea edi, [ebx + 0x1a20]
call fcn.00416408
lea eax, [ebx + 0x1a24]
push esi
push dword [eax]
mov dword [esp + 0x2c], eax
call dword [0x430420]
push 0x104
push 0xf
lea eax, [esp + 0xe0]
call fcn.0040b568
lea ecx, [esp + 0xd8]
lea eax, [ebx + 0x1a80]
push ecx
push dword [eax]
mov dword [esp + 0x38], eax
call dword [0x430424]
lea edi, [ebx + 0x1aa0]
call fcn.00416408
lea eax, [ebx + 0x1aa4]
push esi
push dword [eax]
mov dword [esp + 0x44], eax
call dword [0x430420]
push 0x104
push 0x15
lea eax, [esp + 0xe0]
call fcn.0040b568
lea ecx, [esp + 0xd8]
lea eax, [ebx + 0x1b00]
push ecx
push dword [eax]
mov dword [esp + 0x48], eax
call dword [0x430424]
lea edi, [ebx + 0x1b20]
call fcn.00416408
lea eax, [ebx + 0x1b24]
push esi
push dword [eax]
mov dword [esp + 0x3c], eax
call dword [0x430420]
push 0x104
push 0x14
lea eax, [esp + 0xe0]
call fcn.0040b568
lea ecx, [esp + 0xd8]
lea eax, [ebx + 0x1b80]
push ecx
push dword [eax]
mov dword [esp + 0x34], eax
call dword [0x430424]
lea edi, [ebx + 0x1ba0]
call fcn.00416408
lea eax, [ebx + 0x1ba4]
push esi
push dword [eax]
mov dword [esp + 0x30], eax
call dword [0x430420]
push 0x104
push 0x22
lea eax, [esp + 0xe0]
call fcn.0040b568
lea ecx, [esp + 0xd8]
lea eax, [ebx + 0x1c00]
push ecx
push dword [eax]
mov dword [esp + 0x40], eax
call dword [0x430424]
mov eax, dword [ebx + 0x54]
test byte [eax], 4
je 0x413b5d
push esi
lea eax, [ebx + 0x18d8]
call fcn.0041400e
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx]
lea eax, [ebx + 0x68]
call fcn.0042124d
jmp 0x413d61
lea eax, [esp + 0x10]
push eax
push dword [ebx + 0x18dc]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov esi, dword [0x4303c0]
call esi
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x10]
call fcn.00403f23
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x28]
push dword [eax]
call esi
lea eax, [esp + 0x48]
call fcn.00403f23
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x14]
mov edi, dword [0x430420]
push 0
push dword [ebx + 0x18dc]
mov dword [esp + 0x4c], eax
call edi
push 0
push dword [ebx + 0x1938]
call edi
push 0
push dword [ebx + 0x195c]
call edi
push 0
push dword [ebx + 0x19b8]
call edi
push 0
push dword [ebx + 0x19dc]
call edi
push 0
push dword [ebx + 0x1a00]
call edi
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x28]
push dword [eax]
call esi
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x10]
call fcn.00403f23
mov ebx, dword [esp + 0x44]
push dword [esp + 0x24]
sub dword [esp + 0x18], ebx
sub dword [esp + 0x20], ebx
lea eax, [esp + 0x14]
call fcn.00403f41
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x34]
push dword [eax]
call esi
lea eax, [esp + 0x10]
call fcn.00403f23
push dword [esp + 0x30]
sub dword [esp + 0x18], ebx
sub dword [esp + 0x20], ebx
lea eax, [esp + 0x14]
call fcn.00403f41
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x40]
push dword [eax]
call esi
lea eax, [esp + 0x10]
call fcn.00403f23
sub dword [esp + 0x14], ebx
sub dword [esp + 0x1c], ebx
push dword [esp + 0x3c]
lea eax, [esp + 0x14]
call fcn.00403f41
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x44]
push dword [eax]
call esi
lea eax, [esp + 0x10]
call fcn.00403f23
push dword [esp + 0x40]
sub dword [esp + 0x18], ebx
sub dword [esp + 0x20], ebx
lea eax, [esp + 0x14]
call fcn.00403f41
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x38]
push dword [eax]
call esi
lea eax, [esp + 0x10]
call fcn.00403f23
push dword [esp + 0x34]
sub dword [esp + 0x18], ebx
sub dword [esp + 0x20], ebx
lea eax, [esp + 0x14]
call fcn.00403f41
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x30]
push dword [eax]
call esi
lea eax, [esp + 0x10]
call fcn.00403f23
push dword [esp + 0x2c]
sub dword [esp + 0x18], ebx
sub dword [esp + 0x20], ebx
lea eax, [esp + 0x14]
call fcn.00403f41
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x2c]
push dword [eax]
call esi
lea eax, [esp + 0x10]
call fcn.00403f23
push dword [esp + 0x28]
sub dword [esp + 0x18], ebx
sub dword [esp + 0x20], ebx
lea eax, [esp + 0x14]
call fcn.00403f41
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x3c]
push dword [eax]
call esi
lea eax, [esp + 0x10]
call fcn.00403f23
push dword [esp + 0x38]
sub dword [esp + 0x18], ebx
sub dword [esp + 0x20], ebx
lea eax, [esp + 0x14]
call fcn.00403f41
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret