Function at 0x45cf80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0fc2
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x4ca010]
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 + 0x18], edx
mov eax, dword [ebp - 0x118]
mov dword [eax + 0x50], 0x500
mov ecx, dword [ebp - 0x118]
mov dword [ecx + 0x54], 0x2d0
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
call fcn.00498ffa
add esp, 4
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x194]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 0x118]
cmp dword [edx + 0x14], 0
jne 0x45d047
push 0x30
mov ecx, 0x45cfa60
call fcn.00411310
push eax
push 0x4c1e2c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.0049cd11
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4c1e48
mov ecx, dword [ebp - 0x118]
add ecx, 0x2c
call fcn.0048fc00
push str.MAMA_HAHA
mov ecx, dword [ebp - 0x118]
add ecx, 0x3c
call fcn.0048fc00
lea ecx, [ebp - 0x1e0]
call fcn.0048fb40
mov dword [ebp - 4], 0
push 0x5160638
lea ecx, [ebp - 0x1e0]
call fcn.0048fba0
push str._wave.pck
lea ecx, [ebp - 0x1e0]
call fcn.0048fc50
lea ecx, [ebp - 0x1e0]
call fcn.00411210
push eax
mov ecx, dword [ebp - 0x118]
add ecx, 0x560
call fcn.0048fc00
lea ecx, [ebp - 0x1d0]
call fcn.0048fb40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1bc]
call fcn.0048fb40
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 0x45d1d5
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x1d0]
call fcn.0048fc00
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x1bc]
call fcn.0048fc00
mov dword [ebp - 0x124], 0
push 0
push 0x5c
lea ecx, [ebp - 0x1bc]
call fcn.0048fe40
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jl 0x45d19b
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.00490030
push 0
push 0x5c
lea ecx, [ebp - 0x1bc]
call fcn.0048fe40
mov dword [ebp - 0x124], eax
jmp 0x45d14d
push 0
lea ecx, [ebp - 0x1bc]
call fcn.00411210
push eax
lea ecx, [ebp - 0x1d0]
call fcn.0048fe80
push eax
lea ecx, [ebp - 0x1d0]
call fcn.0048ff50
lea eax, [ebp - 0x1d0]
push eax
mov ecx, dword [ebp - 0x118]
add ecx, 0x1c
call fcn.0048fba0
mov dword [ebp - 0x11c], 0
jmp 0x45d1f0
mov ecx, dword [ebp - 0x11c]
add ecx, 1
mov dword [ebp - 0x11c], ecx
cmp dword [ebp - 0x11c], 0x28
jge 0x45d707
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x118]
cmp dword [eax + edx*4 + 0x178], 0
je 0x45d272
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + ecx*4 + 0x178]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
je 0x45d251
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 0x45d25b
mov dword [ebp - 0x184], 0
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x118]
mov dword [edx + ecx*4 + 0x178], 0
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0x26
ja case.0x45d298.2
mov ecx, dword [ebp - 0x17c]
movzx edx, byte [ecx + 0x45d7d4]
jmp dword [edx*4 + 0x45d7a8]
push 0x54
call fcn.00498f94
add esp, 4
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x12c], 0
je 0x45d2cf
mov ecx, dword [ebp - 0x12c]
call fcn.00421c30
mov dword [ebp - 0x130], eax
jmp 0x45d2d9
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 + 0x178], eax
jmp case.0x45d298.2
push 0x248
call fcn.00498f94
add esp, 4
mov dword [ebp - 0x134], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x134], 0
je 0x45d33a
mov ecx, dword [ebp - 0x134]
call fcn.00435020
mov dword [ebp - 0x138], eax
jmp 0x45d344
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 + 0x178], ecx
jmp case.0x45d298.2
push 0x244
call fcn.00498f94
add esp, 4
mov dword [ebp - 0x13c], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x13c], 0
je 0x45d3a5
mov ecx, dword [ebp - 0x13c]
call fcn.0041c7a0
mov dword [ebp - 0x140], eax
jmp 0x45d3af
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 + 0x178], edx
jmp case.0x45d298.2
push 0x200
call fcn.00498f94
add esp, 4
mov dword [ebp - 0x144], eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x144], 0
je 0x45d410
mov ecx, dword [ebp - 0x144]
call fcn.00415f80
mov dword [ebp - 0x148], eax
jmp 0x45d41a
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 + 0x178], eax
jmp case.0x45d298.2
push 0x310
call fcn.00498f94
add esp, 4
mov dword [ebp - 0x14c], eax
mov byte [ebp - 4], 7
cmp dword [ebp - 0x14c], 0
je 0x45d47b
mov ecx, dword [ebp - 0x14c]
call fcn.00439c60
mov dword [ebp - 0x150], eax
jmp 0x45d485
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 + 0x178], ecx
jmp case.0x45d298.2
push 0x28c4
call fcn.00498f94
add esp, 4
mov dword [ebp - 0x154], eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x154], 0
je 0x45d4e6
mov ecx, dword [ebp - 0x154]
call fcn.0041e040
mov dword [ebp - 0x158], eax
jmp 0x45d4f0
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 + 0x178], edx
jmp case.0x45d298.2
push 0xca9c
call fcn.00498f94
add esp, 4
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x15c], 0
je 0x45d551
mov ecx, dword [ebp - 0x15c]
call fcn.004264b0
mov dword [ebp - 0x160], eax
jmp 0x45d55b
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 + 0x178], eax
jmp case.0x45d298.2
push 0x1e50
call fcn.00498f94
add esp, 4
mov dword [ebp - 0x164], eax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x164], 0
je 0x45d5bc
mov ecx, dword [ebp - 0x164]
call fcn.0043dab0
mov dword [ebp - 0x168], eax
jmp 0x45d5c6
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 + 0x178], ecx
jmp case.0x45d298.2
push 0x38
call fcn.00498f94
add esp, 4
mov dword [ebp - 0x16c], eax
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x16c], 0
je 0x45d624
mov ecx, dword [ebp - 0x16c]
call fcn.0041f330
mov dword [ebp - 0x170], eax
jmp 0x45d62e
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 + 0x178], edx
jmp case.0x45d298.2
push 0x1e50
call fcn.00498f94
add esp, 4
mov dword [ebp - 0x174], eax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x174], 0
je 0x45d68c
mov ecx, dword [ebp - 0x174]
call fcn.00420a90
mov dword [ebp - 0x178], eax
jmp 0x45d696
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 + 0x178], eax
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x118]
cmp dword [edx + ecx*4 + 0x178], 0
je 0x45d702
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + eax*4 + 0x178]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x118]
mov edx, dword [edx]
mov ecx, dword [ecx + eax*4 + 0x178]
mov eax, dword [edx + 4]
call eax
jmp 0x45d1e1
mov ecx, dword [ebp - 0x118]
mov dword [ecx + 0x4c], 0
mov edx, dword [ebp - 0x118]
add edx, 0x1c
push edx
mov ecx, dword [ebp - 0x118]
add ecx, 0x698
call fcn.0048fba0
push str.cgpsbpack.dat
mov ecx, dword [ebp - 0x118]
add ecx, 0x698
call fcn.0048fc50
mov ecx, dword [ebp - 0x118]
call fcn.00464390
mov byte [ebp - 0x11d], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1bc]
call fcn.0048fb80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1d0]
call fcn.0048fb80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.0048fb80
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.00498d32
mov esp, ebp
pop ebp
ret 0x10