Function at 0x10001b40
Capabilities:
Get common file path
Link many functions at runtime
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x10002883
sub eax, 1
jne 0x1000288f
push 0xf9
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
movq xmm0, qword [0x10014cdc]
lea ecx, [ebp - 0x108]
add ecx, eax
mov ax, word [0x10014ce4]
movq qword [ecx], xmm0
mov word [ecx + 8], ax
mov al, byte [0x10014ce6]
mov byte [ecx + 0xa], al
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1001a4a0], eax
test eax, eax
jne 0x10001bd1
push 0x10
push 0x10014ce7
push str.Cannot_load_original_winmm.dll_library
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10014d10
push eax
call esi
push 0x10014d1c
push dword [0x1001a4a0]
mov dword [0x1001a4a4], eax
call esi
push 0x10014d2c
push dword [0x1001a4a0]
mov dword [0x1001a4a8], eax
call esi
push 0x10014d3c
push dword [0x1001a4a0]
mov dword [0x1001a4ac], eax
call esi
push 0x10014d50
push dword [0x1001a4a0]
mov dword [0x1001a4b0], eax
call esi
push 0x10014d68
push dword [0x1001a4a0]
mov dword [0x1001a4b4], eax
call esi
push 0x10014d74
push dword [0x1001a4a0]
mov dword [0x1001a4b8], eax
call esi
push 0x10014d80
push dword [0x1001a4a0]
mov dword [0x1001a4bc], eax
call esi
push 0x10014d8c
push dword [0x1001a4a0]
mov dword [0x1001a4c0], eax
call esi
push 0x10014d98
push dword [0x1001a4a0]
mov dword [0x1001a4c4], eax
call esi
push 0x10014dac
push dword [0x1001a4a0]
mov dword [0x1001a4c8], eax
call esi
push 0x10014db8
push dword [0x1001a4a0]
mov dword [0x1001a4cc], eax
call esi
push 0x10014dc8
push dword [0x1001a4a0]
mov dword [0x1001a4d0], eax
call esi
push 0x10014dd8
push dword [0x1001a4a0]
mov dword [0x1001a4d4], eax
call esi
push 0x10014de8
push dword [0x1001a4a0]
mov dword [0x1001a4d8], eax
call esi
push 0x10014df8
push dword [0x1001a4a0]
mov dword [0x1001a4dc], eax
call esi
push 0x10014e08
push dword [0x1001a4a0]
mov dword [0x1001a4e0], eax
call esi
push 0x10014e18
push dword [0x1001a4a0]
mov dword [0x1001a4e4], eax
call esi
push 0x10014e2c
push dword [0x1001a4a0]
mov dword [0x1001a4e8], eax
call esi
push 0x10014e3c
push dword [0x1001a4a0]
mov dword [0x1001a4ec], eax
call esi
push 0x10014e4c
push dword [0x1001a4a0]
mov dword [0x1001a4f0], eax
call esi
push 0x10014e5c
push dword [0x1001a4a0]
mov dword [0x1001a4f4], eax
call esi
push 0x10014e68
push dword [0x1001a4a0]
mov dword [0x1001a4f8], eax
call esi
push 0x10014e74
push dword [0x1001a4a0]
mov dword [0x1001a4fc], eax
call esi
push 0x10014e84
push dword [0x1001a4a0]
mov dword [0x1001a500], eax
call esi
push 0x10014e98
push dword [0x1001a4a0]
mov dword [0x1001a504], eax
call esi
push 0x10014ea8
push dword [0x1001a4a0]
mov dword [0x1001a508], eax
call esi
push 0x10014eb8
push dword [0x1001a4a0]
mov dword [0x1001a50c], eax
call esi
push 0x10014ec8
push dword [0x1001a4a0]
mov dword [0x1001a510], eax
call esi
push 0x10014ed8
push dword [0x1001a4a0]
mov dword [0x1001a514], eax
call esi
push 0x10014ee4
push dword [0x1001a4a0]
mov dword [0x1001a518], eax
call esi
push 0x10014efc
push dword [0x1001a4a0]
mov dword [0x1001a51c], eax
call esi
push 0x10014f10
push dword [0x1001a4a0]
mov dword [0x1001a520], eax
call esi
push 0x10014f20
push dword [0x1001a4a0]
mov dword [0x1001a524], eax
call esi
push 0x10014f40
push dword [0x1001a4a0]
mov dword [0x1001a528], eax
call esi
push 0x10014f60
push dword [0x1001a4a0]
mov dword [0x1001a52c], eax
call esi
push 0x10014f70
push dword [0x1001a4a0]
mov dword [0x1001a530], eax
call esi
push 0x10014f84
push dword [0x1001a4a0]
mov dword [0x1001a534], eax
call esi
push 0x10014f98
push dword [0x1001a4a0]
mov dword [0x1001a538], eax
call esi
push 0x10014fac
push dword [0x1001a4a0]
mov dword [0x1001a53c], eax
call esi
mov dword [0x1001a540], eax
push 0x10014fbc
push dword [0x1001a4a0]
call esi
push 0x10014fd4
push dword [0x1001a4a0]
mov dword [0x1001a544], eax
call esi
push 0x10014fe4
push dword [0x1001a4a0]
mov dword [0x1001a548], eax
call esi
push 0x10014ff4
push dword [0x1001a4a0]
mov dword [0x1001a54c], eax
call esi
push 0x10015004
push dword [0x1001a4a0]
mov dword [0x1001a550], eax
call esi
push 0x10015014
push dword [0x1001a4a0]
mov dword [0x1001a554], eax
call esi
push 0x10015028
push dword [0x1001a4a0]
mov dword [0x1001a558], eax
call esi
push 0x10015038
push dword [0x1001a4a0]
mov dword [0x1001a55c], eax
call esi
push 0x10015044
push dword [0x1001a4a0]
mov dword [0x1001a560], eax
call esi
push 0x10015054
push dword [0x1001a4a0]
mov dword [0x1001a564], eax
call esi
push 0x10015064
push dword [0x1001a4a0]
mov dword [0x1001a568], eax
call esi
push 0x10015070
push dword [0x1001a4a0]
mov dword [0x1001a56c], eax
call esi
push 0x10015084
push dword [0x1001a4a0]
mov dword [0x1001a570], eax
call esi
push 0x10015098
push dword [0x1001a4a0]
mov dword [0x1001a574], eax
call esi
push 0x100150ac
push dword [0x1001a4a0]
mov dword [0x1001a578], eax
call esi
push 0x100150c0
push dword [0x1001a4a0]
mov dword [0x1001a57c], eax
call esi
push 0x100150cc
push dword [0x1001a4a0]
mov dword [0x1001a580], eax
call esi
push 0x100150e0
push dword [0x1001a4a0]
mov dword [0x1001a584], eax
call esi
push 0x100150f0
push dword [0x1001a4a0]
mov dword [0x1001a588], eax
call esi
push 0x100150fc
push dword [0x1001a4a0]
mov dword [0x1001a58c], eax
call esi
mov dword [0x1001a590], eax
push 0x10015110
push dword [0x1001a4a0]
call esi
push 0x1001511c
push dword [0x1001a4a0]
mov dword [0x1001a594], eax
call esi
push 0x10015128
push dword [0x1001a4a0]
mov dword [0x1001a598], eax
call esi
push 0x10015134
push dword [0x1001a4a0]
mov dword [0x1001a59c], eax
call esi
push 0x1001514c
push dword [0x1001a4a0]
mov dword [0x1001a5a0], eax
call esi
push 0x10015164
push dword [0x1001a4a0]
mov dword [0x1001a5a4], eax
call esi
push 0x10015178
push dword [0x1001a4a0]
mov dword [0x1001a5a8], eax
call esi
push 0x10015188
push dword [0x1001a4a0]
mov dword [0x1001a5ac], eax
call esi
push 0x1001519c
push dword [0x1001a4a0]
mov dword [0x1001a5b0], eax
call esi
push 0x100151b0
push dword [0x1001a4a0]
mov dword [0x1001a5b4], eax
call esi
push 0x100151c8
push dword [0x1001a4a0]
mov dword [0x1001a5b8], eax
call esi
push 0x100151e0
push dword [0x1001a4a0]
mov dword [0x1001a5bc], eax
call esi
push 0x100151f0
push dword [0x1001a4a0]
mov dword [0x1001a5c0], eax
call esi
push 0x10015204
push dword [0x1001a4a0]
mov dword [0x1001a5c4], eax
call esi
push 0x10015218
push dword [0x1001a4a0]
mov dword [0x1001a5c8], eax
call esi
push 0x10015228
push dword [0x1001a4a0]
mov dword [0x1001a5cc], eax
call esi
push 0x10015238
push dword [0x1001a4a0]
mov dword [0x1001a5d0], eax
call esi
push 0x10015244
push dword [0x1001a4a0]
mov dword [0x1001a5d4], eax
call esi
push 0x1001525c
push dword [0x1001a4a0]
mov dword [0x1001a5d8], eax
call esi
push 0x1001526c
push dword [0x1001a4a0]
mov dword [0x1001a5dc], eax
call esi
push 0x10015280
push dword [0x1001a4a0]
mov dword [0x1001a5e0], eax
call esi
push 0x10015290
push dword [0x1001a4a0]
mov dword [0x1001a5e4], eax
call esi
push 0x100152a8
push dword [0x1001a4a0]
mov dword [0x1001a5e8], eax
call esi
push 0x100152b8
push dword [0x1001a4a0]
mov dword [0x1001a5ec], eax
call esi
push 0x100152c8
push dword [0x1001a4a0]
mov dword [0x1001a5f0], eax
call esi
push 0x100152d8
push dword [0x1001a4a0]
mov dword [0x1001a5f4], eax
call esi
push 0x100152e8
push dword [0x1001a4a0]
mov dword [0x1001a5f8], eax
call esi
push 0x100152fc
push dword [0x1001a4a0]
mov dword [0x1001a5fc], eax
call esi
push 0x10015310
push dword [0x1001a4a0]
mov dword [0x1001a600], eax
call esi
push 0x10015324
push dword [0x1001a4a0]
mov dword [0x1001a604], eax
call esi
push 0x10015334
push dword [0x1001a4a0]
mov dword [0x1001a608], eax
call esi
push 0x10015340
push dword [0x1001a4a0]
mov dword [0x1001a60c], eax
call esi
push 0x10015358
push dword [0x1001a4a0]
mov dword [0x1001a610], eax
call esi
push 0x10015370
push dword [0x1001a4a0]
mov dword [0x1001a614], eax
call esi
push 0x10015384
push dword [0x1001a4a0]
mov dword [0x1001a618], eax
call esi
push 0x10015398
push dword [0x1001a4a0]
mov dword [0x1001a61c], eax
call esi
push 0x100153a4
push dword [0x1001a4a0]
mov dword [0x1001a620], eax
call esi
push 0x100153bc
push dword [0x1001a4a0]
mov dword [0x1001a624], eax
call esi
push 0x100153d4
push dword [0x1001a4a0]
mov dword [0x1001a628], eax
call esi
push 0x100153e8
push dword [0x1001a4a0]
mov dword [0x1001a62c], eax
call esi
push 0x100153fc
push dword [0x1001a4a0]
mov dword [0x1001a630], eax
call esi
push 0x1001540c
push dword [0x1001a4a0]
mov dword [0x1001a634], eax
call esi
push 0x1001541c
push dword [0x1001a4a0]
mov dword [0x1001a638], eax
call esi
push 0x10015428
push dword [0x1001a4a0]
mov dword [0x1001a63c], eax
call esi
push 0x10015440
push dword [0x1001a4a0]
mov dword [0x1001a640], eax
call esi
push 0x10015450
push dword [0x1001a4a0]
mov dword [0x1001a644], eax
call esi
push 0x10015464
push dword [0x1001a4a0]
mov dword [0x1001a648], eax
call esi
push 0x10015470
push dword [0x1001a4a0]
mov dword [0x1001a64c], eax
call esi
push 0x10015480
push dword [0x1001a4a0]
mov dword [0x1001a650], eax
call esi
push 0x10015490
push dword [0x1001a4a0]
mov dword [0x1001a654], eax
call esi
push 0x1001549c
push dword [0x1001a4a0]
mov dword [0x1001a658], eax
call esi
push 0x100154a8
push dword [0x1001a4a0]
mov dword [0x1001a65c], eax
call esi
push 0x100154b4
push dword [0x1001a4a0]
mov dword [0x1001a660], eax
call esi
push 0x100154c0
push dword [0x1001a4a0]
mov dword [0x1001a664], eax
call esi
push 0x100154d0
push dword [0x1001a4a0]
mov dword [0x1001a668], eax
call esi
push 0x100154dc
push dword [0x1001a4a0]
mov dword [0x1001a66c], eax
call esi
push 0x100154e8
push dword [0x1001a4a0]
mov dword [0x1001a670], eax
call esi
push 0x100154f4
push dword [0x1001a4a0]
mov dword [0x1001a674], eax
call esi
push 0x10015508
push dword [0x1001a4a0]
mov dword [0x1001a678], eax
call esi
push 0x1001551c
push dword [0x1001a4a0]
mov dword [0x1001a67c], eax
call esi
push 0x10015528
push dword [0x1001a4a0]
mov dword [0x1001a680], eax
call esi
mov dword [0x1001a684], eax
push 0x10015534
push dword [0x1001a4a0]
call esi
push 0x10015540
push dword [0x1001a4a0]
mov dword [0x1001a688], eax
call esi
push 0x1001554c
push dword [0x1001a4a0]
mov dword [0x1001a68c], eax
call esi
push 0x10015558
push dword [0x1001a4a0]
mov dword [0x1001a690], eax
call esi
push 0x10015564
push dword [0x1001a4a0]
mov dword [0x1001a694], eax
call esi
push 0x10015574
push dword [0x1001a4a0]
mov dword [0x1001a698], eax
call esi
push 0x10015584
push dword [0x1001a4a0]
mov dword [0x1001a69c], eax
call esi
push 0x10015590
push dword [0x1001a4a0]
mov dword [0x1001a6a0], eax
call esi
push 0x100155a4
push dword [0x1001a4a0]
mov dword [0x1001a6a4], eax
call esi
push 0x100155b8
push dword [0x1001a4a0]
mov dword [0x1001a6a8], eax
call esi
push 0x100155c4
push dword [0x1001a4a0]
mov dword [0x1001a6ac], eax
call esi
push 0x100155d8
push dword [0x1001a4a0]
mov dword [0x1001a6b0], eax
call esi
push 0x100155e8
push dword [0x1001a4a0]
mov dword [0x1001a6b4], eax
call esi
push 0x100155f8
push dword [0x1001a4a0]
mov dword [0x1001a6b8], eax
call esi
push 0x10015608
push dword [0x1001a4a0]
mov dword [0x1001a6bc], eax
call esi
push 0x10015618
push dword [0x1001a4a0]
mov dword [0x1001a6c0], eax
call esi
push 0x10015628
push dword [0x1001a4a0]
mov dword [0x1001a6c4], eax
call esi
push 0x1001563c
push dword [0x1001a4a0]
mov dword [0x1001a6c8], eax
call esi
push 0x10015648
push dword [0x1001a4a0]
mov dword [0x1001a6cc], eax
call esi
push 0x10015658
push dword [0x1001a4a0]
mov dword [0x1001a6d0], eax
call esi
mov dword [0x1001a6d4], eax
push 0x10015668
push dword [0x1001a4a0]
call esi
push 0x10015678
push dword [0x1001a4a0]
mov dword [0x1001a6d8], eax
call esi
push 0x10015684
push dword [0x1001a4a0]
mov dword [0x1001a6dc], eax
call esi
push 0x10015698
push dword [0x1001a4a0]
mov dword [0x1001a6e0], eax
call esi
push 0x100156ac
push dword [0x1001a4a0]
mov dword [0x1001a6e4], eax
call esi
push 0x100156c0
push dword [0x1001a4a0]
mov dword [0x1001a6e8], eax
call esi
push 0x100156d4
push dword [0x1001a4a0]
mov dword [0x1001a6ec], eax
call esi
push 0x100156e0
push dword [0x1001a4a0]
mov dword [0x1001a6f0], eax
call esi
push 0x100156f4
push dword [0x1001a4a0]
mov dword [0x1001a6f4], eax
call esi
push 0x10015708
push dword [0x1001a4a0]
mov dword [0x1001a6f8], eax
call esi
push 0x10015718
push dword [0x1001a4a0]
mov dword [0x1001a6fc], eax
call esi
push 0x10015724
push dword [0x1001a4a0]
mov dword [0x1001a700], eax
call esi
push 0x10015738
push dword [0x1001a4a0]
mov dword [0x1001a704], eax
call esi
push 0x10015744
push dword [0x1001a4a0]
mov dword [0x1001a708], eax
call esi
push 0x10015750
push dword [0x1001a4a0]
mov dword [0x1001a70c], eax
call esi
push 0x1001575c
push dword [0x1001a4a0]
mov dword [0x1001a710], eax
call esi
push 0x10015774
push dword [0x1001a4a0]
mov dword [0x1001a714], eax
call esi
push 0x10015788
push dword [0x1001a4a0]
mov dword [0x1001a718], eax
call esi
push 0x10015798
push dword [0x1001a4a0]
mov dword [0x1001a71c], eax
call esi
push 0x100157ac
push dword [0x1001a4a0]
mov dword [0x1001a720], eax
call esi
push 0x100157c0
push dword [0x1001a4a0]
mov dword [0x1001a724], eax
call esi
push 0x100157d8
push dword [0x1001a4a0]
mov dword [0x1001a728], eax
call esi
push 0x100157f0
push dword [0x1001a4a0]
mov dword [0x1001a72c], eax
call esi
push 0x10015800
push dword [0x1001a4a0]
mov dword [0x1001a730], eax
call esi
push 0x10015814
push dword [0x1001a4a0]
mov dword [0x1001a734], eax
call esi
push 0x10015824
push dword [0x1001a4a0]
mov dword [0x1001a738], eax
call esi
push 0x1001583c
push dword [0x1001a4a0]
mov dword [0x1001a73c], eax
call esi
push 0x10015850
push dword [0x1001a4a0]
mov dword [0x1001a740], eax
call esi
push 0x10015864
push dword [0x1001a4a0]
mov dword [0x1001a744], eax
call esi
push 0x10015874
push dword [0x1001a4a0]
mov dword [0x1001a748], eax
call esi
push 0x10015880
push dword [0x1001a4a0]
mov dword [0x1001a74c], eax
call esi
push 0x10015890
push dword [0x1001a4a0]
mov dword [0x1001a750], eax
call esi
push 0x100158a8
push dword [0x1001a4a0]
mov dword [0x1001a754], eax
call esi
push 0x100158b8
push dword [0x1001a4a0]
mov dword [0x1001a758], eax
call esi
push 0x100158c8
push dword [0x1001a4a0]
mov dword [0x1001a75c], eax
call esi
push 0x100158d8
push dword [0x1001a4a0]
mov dword [0x1001a760], eax
call esi
push 0x100158f0
push dword [0x1001a4a0]
mov dword [0x1001a764], eax
call esi
push 0x10015904
push dword [0x1001a4a0]
mov dword [0x1001a768], eax
call esi
push 0x1001591c
push dword [0x1001a4a0]
mov dword [0x1001a76c], eax
call esi
mov dword [0x1001a770], eax
call fcn.10002f00
pop esi
jmp 0x1000288f
push dword [0x1001a4a0]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.1000346e
mov esp, ebp
pop ebp
ret 0xc