Function at 0x401d80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b5260
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebp
push esi
mov ebp, ecx
push edi
push 0x4ea948
lea ecx, [esp + 0x10]
call fcn.0049d14a
mov eax, dword [ebp + 0x98]
mov dword [esp + 0x38], 0
dec eax
cmp eax, 4
ja case.default.0x401dc3
jmp dword [eax*4 + 0x40220c]
mov ecx, dword [ebp + 0xa0]
push 5
call fcn.004a1346
mov ecx, dword [ebp + 0xa4]
push 0
call fcn.004a1346
mov ecx, dword [ebp + 0xa8]
push 0
call fcn.004a1346
mov ecx, dword [ebp + 0xac]
push 0
call fcn.004a1346
mov ecx, dword [ebp + 0xb0]
push 0
call fcn.004a1346
push 1
lea ecx, [esp + 0x10]
call fcn.0049d78d
mov eax, dword [esp + 0xc]
mov ecx, ebp
push eax
push 1
call fcn.004a0f6a
mov ecx, eax
call fcn.004a1201
push 0
push 0x3e9
mov ecx, ebp
call fcn.004a0f6a
mov ecx, eax
call fcn.004a1346
push 0
jmp 0x401f27
mov ecx, dword [ebp + 0xb0]
push 5
call fcn.004a1346
push 5
push 0x3e9
mov ecx, ebp
call fcn.004a0f6a
mov ecx, eax
call fcn.004a1346
mov ecx, dword [ebp + 0xa0]
push 0
call fcn.004a1346
mov ecx, dword [ebp + 0xa4]
push 0
call fcn.004a1346
mov ecx, dword [ebp + 0xa8]
push 0
call fcn.004a1346
mov ecx, dword [ebp + 0xac]
push 0
call fcn.004a1346
push 1
lea ecx, [esp + 0x10]
call fcn.0049d78d
mov ecx, dword [esp + 0xc]
push ecx
jmp 0x401f15
mov ecx, dword [ebp + 0xa4]
push 5
call fcn.004a1346
push 5
push 0x3e9
mov ecx, ebp
call fcn.004a0f6a
mov ecx, eax
call fcn.004a1346
mov ecx, dword [ebp + 0xa0]
push 0
call fcn.004a1346
mov ecx, dword [ebp + 0xa8]
push 0
call fcn.004a1346
mov ecx, dword [ebp + 0xac]
push 0
call fcn.004a1346
mov ecx, dword [ebp + 0xb0]
push 0
call fcn.004a1346
push 2
lea ecx, [esp + 0x10]
call fcn.0049d78d
mov edx, dword [esp + 0xc]
push edx
push 1
mov ecx, ebp
call fcn.004a0f6a
mov ecx, eax
call fcn.004a1201
push 1
push 0x3e9
mov ecx, ebp
call fcn.004a0f6a
mov ecx, eax
call fcn.004a1388
push 1
push 1
mov ecx, ebp
call fcn.004a0f6a
mov ecx, eax
call fcn.004a1388
push 1
jmp 0x4021d8
mov ecx, dword [ebp + 0xa8]
push 5
call fcn.004a1346
push 5
push 0x3e9
mov ecx, ebp
call fcn.004a0f6a
mov ecx, eax
call fcn.004a1346
mov ecx, dword [ebp + 0xa0]
push 0
call fcn.004a1346
mov ecx, dword [ebp + 0xa4]
push 0
call fcn.004a1346
mov ecx, dword [ebp + 0xac]
push 0
call fcn.004a1346
mov ecx, dword [ebp + 0xb0]
push 0
call fcn.004a1346
push 2
lea ecx, [esp + 0x10]
call fcn.0049d78d
mov eax, dword [esp + 0xc]
mov ecx, ebp
push eax
push 1
call fcn.004a0f6a
mov ecx, eax
call fcn.004a1201
push 0
push 0x3e9
mov ecx, ebp
call fcn.004a0f6a
mov ecx, eax
call fcn.004a1388
push 0
push 1
mov ecx, ebp
call fcn.004a0f6a
mov ecx, eax
call fcn.004a1388
push 0
push 2
mov ecx, ebp
call fcn.004a0f6a
mov ecx, eax
call fcn.004a1388
mov ecx, dword [ebp + 0xb8]
mov edx, dword [ebp + 0xb4]
push ecx
mov ecx, dword [ebp + 0xa8]
push edx
call fcn.004071e0
mov eax, dword [ebp + 0x1c]
push 0
push 0x32
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
jmp case.default.0x401dc3
xor ecx, ecx
lea edx, [esp + 0x1c]
mov dword [esp + 0x20], ecx
push edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov ecx, 0x4ea878
call fcn.004039f0
cmp dword [esp + 0x1c], 3
jne 0x40210c
push 0x4ea948
lea ecx, [esp + 0x14]
call fcn.0049d14a
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x38], 1
test eax, eax
jne 0x4020ad
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, 0x4ea7b0
call fcn.00401340
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 2
call fcn.0049d215
mov byte [esp + 0x38], 1
lea ecx, [esp + 0x14]
jmp 0x4020e9
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x18]
push edx
push eax
mov ecx, 0x4ea7b0
call fcn.00401340
mov ecx, dword [esp + 0x2c]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x18]
push str._s___d_
push eax
mov byte [esp + 0x48], 3
call fcn.00496a65
add esp, 0x10
mov byte [esp + 0x38], 1
lea ecx, [esp + 0x18]
call fcn.0049d0dc
mov ecx, dword [esp + 0x10]
push 0x10
push 0
push ecx
mov ecx, ebp
call fcn.0049f6a4
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.0049d0dc
sub esp, 0x14
mov ecx, 5
lea esi, [esp + 0x30]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xac]
call fcn.00407640
mov ecx, dword [ebp + 0xac]
push 5
call fcn.004a1346
mov ecx, dword [ebp + 0xa0]
push 0
call fcn.004a1346
mov ecx, dword [ebp + 0xa4]
push 0
call fcn.004a1346
mov ecx, dword [ebp + 0xa8]
push 0
call fcn.004a1346
mov ecx, dword [ebp + 0xb0]
push 0
call fcn.004a1346
push 3
lea ecx, [esp + 0x10]
call fcn.0049d78d
mov edx, dword [esp + 0xc]
mov ecx, ebp
push edx
push 1
call fcn.004a0f6a
mov ecx, eax
call fcn.004a1201
push 0
push 0x3e9
mov ecx, ebp
call fcn.004a0f6a
mov ecx, eax
call fcn.004a1346
push 0
push 2
mov ecx, ebp
call fcn.004a0f6a
mov ecx, eax
call fcn.004a1346
push 0
push 0x3e9
mov ecx, ebp
call fcn.004a0f6a
mov ecx, eax
call fcn.004a1388
push 1
push 1
mov ecx, ebp
call fcn.004a0f6a
mov ecx, eax
call fcn.004a1388
push 0
push 2
mov ecx, ebp
call fcn.004a0f6a
mov ecx, eax
call fcn.004a1388
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.0049d0dc
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x30
ret