Function at 0x45e900
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c09e5
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x4deb90]
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.004a0b10
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 0x45e9c7
push 0x30
mov ecx, 0x51ca6a0
call fcn.00414f30
push eax
push 0x4d21c4
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.004a49d4
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 0x4d21b4
mov ecx, dword [ebp - 0x118]
add ecx, 0x28
call fcn.00497710
push str.KABENO3
mov ecx, dword [ebp - 0x118]
add ecx, 0x38
call fcn.00497710
lea ecx, [ebp - 0x1e0]
call fcn.00497650
mov dword [ebp - 4], 0
push 0x5d535e8
lea ecx, [ebp - 0x1e0]
call fcn.004976b0
push str._wave.pck
lea ecx, [ebp - 0x1e0]
call fcn.00497760
lea ecx, [ebp - 0x1e0]
call fcn.00411240
push eax
mov ecx, dword [ebp - 0x118]
add ecx, 0x548
call fcn.00497710
lea ecx, [ebp - 0x1d0]
call fcn.00497650
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1bc]
call fcn.00497650
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 0x45eb55
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x1d0]
call fcn.00497710
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x1bc]
call fcn.00497710
mov dword [ebp - 0x124], 0
push 0
push 0x5c
lea ecx, [ebp - 0x1bc]
call fcn.00497950
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jl 0x45eb1b
lea ecx, [ebp - 0x1bc]
call fcn.00411220
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.00497b30
push 0
push 0x5c
lea ecx, [ebp - 0x1bc]
call fcn.00497950
mov dword [ebp - 0x124], eax
jmp 0x45eacd
push 0
lea ecx, [ebp - 0x1bc]
call fcn.00411240
push eax
lea ecx, [ebp - 0x1d0]
call fcn.00497990
push eax
lea ecx, [ebp - 0x1d0]
call fcn.00497a60
lea eax, [ebp - 0x1d0]
push eax
mov ecx, dword [ebp - 0x118]
add ecx, 0x18
call fcn.004976b0
mov dword [ebp - 0x11c], 0
jmp 0x45eb70
mov ecx, dword [ebp - 0x11c]
add ecx, 1
mov dword [ebp - 0x11c], ecx
cmp dword [ebp - 0x11c], 0x26
jge 0x45f08a
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x118]
cmp dword [eax + edx*4 + 0x174], 0
je 0x45ebf2
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 0x45ebd1
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 0x45ebdb
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.0x45ec18.2
mov ecx, dword [ebp - 0x17c]
movzx edx, byte [ecx + 0x45f158]
jmp dword [edx*4 + 0x45f12c]
push 0x54
call fcn.004a0ab8
add esp, 4
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x12c], 0
je 0x45ec4f
mov ecx, dword [ebp - 0x12c]
call fcn.00422730
mov dword [ebp - 0x130], eax
jmp 0x45ec59
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.0x45ec18.2
push 0x248
call fcn.004a0ab8
add esp, 4
mov dword [ebp - 0x134], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x134], 0
je 0x45ecba
mov ecx, dword [ebp - 0x134]
call fcn.00436240
mov dword [ebp - 0x138], eax
jmp 0x45ecc4
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.0x45ec18.2
push 0x244
call fcn.004a0ab8
add esp, 4
mov dword [ebp - 0x13c], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x13c], 0
je 0x45ed25
mov ecx, dword [ebp - 0x13c]
call fcn.0041fbb0
mov dword [ebp - 0x140], eax
jmp 0x45ed2f
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.0x45ec18.2
push 0x224
call fcn.004a0ab8
add esp, 4
mov dword [ebp - 0x144], eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x144], 0
je 0x45ed90
mov ecx, dword [ebp - 0x144]
call fcn.00416170
mov dword [ebp - 0x148], eax
jmp 0x45ed9a
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.0x45ec18.2
push 0x310
call fcn.004a0ab8
add esp, 4
mov dword [ebp - 0x14c], eax
mov byte [ebp - 4], 7
cmp dword [ebp - 0x14c], 0
je 0x45edfb
mov ecx, dword [ebp - 0x14c]
call fcn.0043ad50
mov dword [ebp - 0x150], eax
jmp 0x45ee05
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.0x45ec18.2
push 0x28c4
call fcn.004a0ab8
add esp, 4
mov dword [ebp - 0x154], eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x154], 0
je 0x45ee66
mov ecx, dword [ebp - 0x154]
call fcn.004213d0
mov dword [ebp - 0x158], eax
jmp 0x45ee70
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.0x45ec18.2
push 0xea40
call fcn.004a0ab8
add esp, 4
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x15c], 0
je 0x45eed1
mov ecx, dword [ebp - 0x15c]
call fcn.0041d020
mov dword [ebp - 0x160], eax
jmp 0x45eedb
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.0x45ec18.2
push 0x3d24
call fcn.004a0ab8
add esp, 4
mov dword [ebp - 0x164], eax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x164], 0
je 0x45ef3c
mov ecx, dword [ebp - 0x164]
call fcn.0041c200
mov dword [ebp - 0x168], eax
jmp 0x45ef46
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.0x45ec18.2
push 0xcac4
call fcn.004a0ab8
add esp, 4
mov dword [ebp - 0x16c], eax
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x16c], 0
je 0x45efa7
mov ecx, dword [ebp - 0x16c]
call fcn.00426e00
mov dword [ebp - 0x170], eax
jmp 0x45efb1
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.0x45ec18.2
push 0x1e50
call fcn.004a0ab8
add esp, 4
mov dword [ebp - 0x174], eax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x174], 0
je 0x45f00f
mov ecx, dword [ebp - 0x174]
call fcn.0043e860
mov dword [ebp - 0x178], eax
jmp 0x45f019
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 0x45f085
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 0x45eb61
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, 0x674
call fcn.004976b0
push str.cgpsbpack.dat
mov ecx, dword [ebp - 0x118]
add ecx, 0x674
call fcn.00497760
mov ecx, dword [ebp - 0x118]
call fcn.00465bd0
mov byte [ebp - 0x11d], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1bc]
call fcn.00497690
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1d0]
call fcn.00497690
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.00497690
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.004a0848
mov esp, ebp
pop ebp
ret 0x10