Function at 0x45f190
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b59f5
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x4d0b90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x118]
mov edx, dword [ebp + 0x14]
mov dword [ecx + 0x14], edx
mov eax, dword [ebp - 0x118]
mov dword [eax + 0x4c], 0x500
mov ecx, dword [ebp - 0x118]
mov dword [ecx + 0x50], 0x2d0
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
call fcn.0049d9d0
add esp, 4
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x194]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x118]
cmp dword [edx + 0x10], 0
jne 0x45f257
push 0x30
mov ecx, 0x489f1d0
call fcn.00411310
push eax
push 0x4c5ec8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.004a1801
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4c5ee4
mov ecx, dword [ebp - 0x118]
add ecx, 0x28
call fcn.004945e0
push str.TOMOHAHA
mov ecx, dword [ebp - 0x118]
add ecx, 0x38
call fcn.004945e0
lea ecx, [ebp - 0x1e0]
call fcn.00494520
mov dword [ebp - 4], 0
push 0x5432e50
lea ecx, [ebp - 0x1e0]
call fcn.00494580
push str._wave.pck
lea ecx, [ebp - 0x1e0]
call fcn.00494630
lea ecx, [ebp - 0x1e0]
call fcn.00411210
push eax
mov ecx, dword [ebp - 0x118]
add ecx, 0x548
call fcn.004945e0
lea ecx, [ebp - 0x1d0]
call fcn.00494520
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1bc]
call fcn.00494520
mov byte [ebp - 4], 2
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x45f3e5
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x1d0]
call fcn.004945e0
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x1bc]
call fcn.004945e0
mov dword [ebp - 0x124], 0
push 0
push 0x5c
lea ecx, [ebp - 0x1bc]
call fcn.00494820
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jl 0x45f3ab
lea ecx, [ebp - 0x1bc]
call fcn.004111f0
mov ecx, dword [ebp - 0x124]
add ecx, 1
sub eax, ecx
mov dword [ebp - 0x180], eax
mov edx, dword [ebp - 0x180]
push edx
lea ecx, [ebp - 0x1bc]
call fcn.00494a00
push 0
push 0x5c
lea ecx, [ebp - 0x1bc]
call fcn.00494820
mov dword [ebp - 0x124], eax
jmp 0x45f35d
push 0
lea ecx, [ebp - 0x1bc]
call fcn.00411210
push eax
lea ecx, [ebp - 0x1d0]
call fcn.00494860
push eax
lea ecx, [ebp - 0x1d0]
call fcn.00494930
lea eax, [ebp - 0x1d0]
push eax
mov ecx, dword [ebp - 0x118]
add ecx, 0x18
call fcn.00494580
mov dword [ebp - 0x11c], 0
jmp 0x45f400
mov ecx, dword [ebp - 0x11c]
add ecx, 1
mov dword [ebp - 0x11c], ecx
cmp dword [ebp - 0x11c], 0x26
jge 0x45f91a
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x118]
cmp dword [eax + edx*4 + 0x174], 0
je 0x45f482
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + ecx*4 + 0x174]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
je 0x45f461
push 1
mov ecx, dword [ebp - 0x128]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x128]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x184], eax
jmp 0x45f46b
mov dword [ebp - 0x184], 0
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x118]
mov dword [edx + ecx*4 + 0x174], 0
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0x1f
ja case.0x45f4a8.2
mov ecx, dword [ebp - 0x17c]
movzx edx, byte [ecx + 0x45f9e8]
jmp dword [edx*4 + 0x45f9bc]
push 0x54
call fcn.0049d96a
add esp, 4
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x12c], 0
je 0x45f4df
mov ecx, dword [ebp - 0x12c]
call fcn.00422410
mov dword [ebp - 0x130], eax
jmp 0x45f4e9
mov dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x188], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x188]
mov dword [edx + ecx*4 + 0x174], eax
jmp case.0x45f4a8.2
push 0x248
call fcn.0049d96a
add esp, 4
mov dword [ebp - 0x134], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x134], 0
je 0x45f54a
mov ecx, dword [ebp - 0x134]
call fcn.00436b80
mov dword [ebp - 0x138], eax
jmp 0x45f554
mov dword [ebp - 0x138], 0
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x18c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x18c]
mov dword [eax + edx*4 + 0x174], ecx
jmp case.0x45f4a8.2
push 0x244
call fcn.0049d96a
add esp, 4
mov dword [ebp - 0x13c], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x13c], 0
je 0x45f5b5
mov ecx, dword [ebp - 0x13c]
call fcn.0041f790
mov dword [ebp - 0x140], eax
jmp 0x45f5bf
mov dword [ebp - 0x140], 0
mov edx, dword [ebp - 0x140]
mov dword [ebp - 0x190], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x118]
mov edx, dword [ebp - 0x190]
mov dword [ecx + eax*4 + 0x174], edx
jmp case.0x45f4a8.2
push 0x1c0
call fcn.0049d96a
add esp, 4
mov dword [ebp - 0x144], eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x144], 0
je 0x45f620
mov ecx, dword [ebp - 0x144]
call fcn.00415ea0
mov dword [ebp - 0x148], eax
jmp 0x45f62a
mov dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x1a8], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x1a8]
mov dword [edx + ecx*4 + 0x174], eax
jmp case.0x45f4a8.2
push 0x310
call fcn.0049d96a
add esp, 4
mov dword [ebp - 0x14c], eax
mov byte [ebp - 4], 7
cmp dword [ebp - 0x14c], 0
je 0x45f68b
mov ecx, dword [ebp - 0x14c]
call fcn.0043b740
mov dword [ebp - 0x150], eax
jmp 0x45f695
mov dword [ebp - 0x150], 0
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x198], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x198]
mov dword [eax + edx*4 + 0x174], ecx
jmp case.0x45f4a8.2
push 0x28c4
call fcn.0049d96a
add esp, 4
mov dword [ebp - 0x154], eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x154], 0
je 0x45f6f6
mov ecx, dword [ebp - 0x154]
call fcn.00420ff0
mov dword [ebp - 0x158], eax
jmp 0x45f700
mov dword [ebp - 0x158], 0
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x19c], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x118]
mov edx, dword [ebp - 0x19c]
mov dword [ecx + eax*4 + 0x174], edx
jmp case.0x45f4a8.2
push 0xea40
call fcn.0049d96a
add esp, 4
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x15c], 0
je 0x45f761
mov ecx, dword [ebp - 0x15c]
call fcn.0041cc60
mov dword [ebp - 0x160], eax
jmp 0x45f76b
mov dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x1a0], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x1a0]
mov dword [edx + ecx*4 + 0x174], eax
jmp case.0x45f4a8.2
push 0x3d24
call fcn.0049d96a
add esp, 4
mov dword [ebp - 0x164], eax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x164], 0
je 0x45f7cc
mov ecx, dword [ebp - 0x164]
call fcn.0041be40
mov dword [ebp - 0x168], eax
jmp 0x45f7d6
mov dword [ebp - 0x168], 0
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x1a4], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x1a4]
mov dword [eax + edx*4 + 0x174], ecx
jmp case.0x45f4a8.2
push 0xcac4
call fcn.0049d96a
add esp, 4
mov dword [ebp - 0x16c], eax
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x16c], 0
je 0x45f837
mov ecx, dword [ebp - 0x16c]
call fcn.00426e30
mov dword [ebp - 0x170], eax
jmp 0x45f841
mov dword [ebp - 0x170], 0
mov edx, dword [ebp - 0x170]
mov dword [ebp - 0x1c0], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x118]
mov edx, dword [ebp - 0x1c0]
mov dword [ecx + eax*4 + 0x174], edx
jmp case.0x45f4a8.2
push 0x1e50
call fcn.0049d96a
add esp, 4
mov dword [ebp - 0x174], eax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x174], 0
je 0x45f89f
mov ecx, dword [ebp - 0x174]
call fcn.0043fbc0
mov dword [ebp - 0x178], eax
jmp 0x45f8a9
mov dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x1ac], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x1ac]
mov dword [edx + ecx*4 + 0x174], eax
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x118]
cmp dword [edx + ecx*4 + 0x174], 0
je 0x45f915
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + eax*4 + 0x174]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x118]
mov edx, dword [edx]
mov ecx, dword [ecx + eax*4 + 0x174]
mov eax, dword [edx + 4]
call eax
jmp 0x45f3f1
mov ecx, dword [ebp - 0x118]
mov dword [ecx + 0x48], 0
mov edx, dword [ebp - 0x118]
add edx, 0x18
push edx
mov ecx, dword [ebp - 0x118]
add ecx, 0x680
call fcn.00494580
push str.cgpsbpack.dat
mov ecx, dword [ebp - 0x118]
add ecx, 0x680
call fcn.00494630
mov ecx, dword [ebp - 0x118]
call fcn.00466490
mov byte [ebp - 0x11d], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1bc]
call fcn.00494560
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1d0]
call fcn.00494560
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.00494560
mov al, byte [ebp - 0x11d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049d708
mov esp, ebp
pop ebp
ret 0x10