joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ce9b
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 4]
call fcn.0044d6c9
lea esi, [edi + 0x10]
call fcn.0044d6c9
lea esi, [edi + 0x1c]
call fcn.0044d6c9
push dword [ebp + 8]
lea eax, [edi + 4]
push eax
xor ebx, ebx
or eax, 0xffffffff
mov dword [edi + 0x48], ebx
call fcn.0044d7bf
lea eax, [edi + 0x40]
push eax
lea eax, [edi + 0x38]
push eax
lea eax, [edi + 0x30]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x44cf93
mov esi, 0x104
push esi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [edi + 0x28]
push eax
push esi
lea eax, [ebp - 0x118]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x44cf93
lea eax, [ebp - 0x118]
push eax
lea eax, [edi + 0x10]
push eax
or eax, 0xffffffff
call fcn.0044d7bf
lea eax, [ebp - 0x220]
push eax
lea eax, [edi + 0x1c]
push eax
or eax, 0xffffffff
call fcn.0044d7bf
push esi
lea eax, [ebp - 0x328]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x328]
push eax
call fcn.004393fa
push ebx
push ebx
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.004393fa
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.004390c5
add esp, 0x30
test eax, eax
jne 0x44cf8f
or dword [edi + 0x48], 1
xor eax, eax
jmp 0x44cf99
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x44d730
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x64
mov esi, eax
pop ebx
call fcn.0044d66e
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x44d756
mov ebx, dword [esi + 8]
add ebx, 0x64
call fcn.0044d66e
mov eax, dword [esi + 8]
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 4], eax
mov eax, dword [esi]
push eax
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov dword [ebp - 0xc], eax
cmp eax, 0xea
je 0x44d74b
xor eax, eax
cmp dword [ebp - 0xc], eax
jne 0x44d7a7
cmp dword [ebp - 8], eax
jbe 0x44d79b
cmp dword [ebp - 8], 2
jbe 0x44d793
cmp dword [ebp - 8], 7
jne 0x44d79b
cmp dword [ebp - 4], eax
je 0x44d79b
dec dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, esi
call fcn.0044d6ee
jmp 0x44d7b5
xor ebx, ebx
call fcn.0044d66e
mov eax, dword [esi]
and dword [esi + 4], ebx
mov byte [eax], bl
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x44dc1a
Capabilities:
Print debug messages

Disassembly:
push edi
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
push dword [esi]
call fcn.0044d867
push dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call edi
push str._DONE__r_n
call edi
push dword [esi + 4]
call fcn.00436909
pop ecx
push dword [esi + 8]
call fcn.00436909
pop ecx
push dword [esi + 0xc]
call fcn.00436909
pop ecx
push esi
call fcn.00436909
pop ecx
pop edi
ret

Function at 0x44dcd9
Capabilities:
Create http request
Create thread

Disassembly:
push ebx
push edi
xor edi, edi
push edi
push edi
push edi
push edi
push str.VIP_TRACKING
mov dword [esi + 8], edi
call dword [sym.imp.WININET.dll_InternetOpenA]
push edi
push edi
push edi
push edi
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ebx, eax
lea eax, [esi + 4]
push eax
push edi
push ebx
push 0x44dc61
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push ebx
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
mov eax, esi
pop ebx
ret

Function at 0x44e488
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60c
push ebx
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor ebx, ebx
lea eax, [ebp - 0x20a]
push ebx
push eax
mov dword [ebp - 4], 0x80004005
call fcn.0043b2b0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push ebx
push ebx
push 0x10
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x44e57a
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edi, [ebp - 0x20c]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x44e4ed
push esi
mov esi, str..url
movsd dword es:[edi], dword [esi]
push 0x3ff
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x60b]
push ebx
push eax
movsw word es:[edi], word [esi]
mov byte [ebp - 0x60c], bl
call fcn.0043b2b0
push dword [ebp + 0x10]
lea eax, [ebp - 0x60c]
push dword [ebp + 0xc]
push str._InternetShortcut__r_nURL_S_r_nIconFile_S_r_nIconIndex0_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
push ebx
push ebx
push 2
push ebx
push ebx
mov edi, eax
push 0xc0000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44e578
push ebx
lea eax, [ebp + 8]
push eax
push edi
lea eax, [ebp - 0x60c]
push eax
push esi
mov dword [ebp + 8], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], ebx
pop esi
pop edi
mov eax, dword [ebp - 4]
pop ebx
leave
ret 0xc
Function at 0x44e582
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
xor eax, eax
push 0x206
mov word [ebp - 0x208], ax
xor esi, esi
lea eax, [ebp - 0x206]
push esi
push eax
call fcn.0043b2b0
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
push esi
push esi
push 0x10
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x44e60e
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edi, [ebp - 0x208]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x44e5dc
mov esi, str..url
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x208]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop edi
cmp eax, 0xffffffff
je 0x44e60e
shr eax, 4
not eax
and eax, 1
jmp 0x44e610
xor eax, eax
pop esi
leave
ret 4

Function at 0x44e615
Capabilities:
Create http request
Delete file
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push ebx
xor ebx, ebx
push ebx
push ebx
push ebx
push 1
push str.Mozilla_4.0__compatible__MSIE_5.5__Windows_NT_5.0_
mov dword [ebp - 8], 0x80004005
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x44e72f
push esi
push edi
push 8
pop ecx
mov esi, str.Accept:___r_n_r_n
lea edi, [ebp - 0x34]
lea eax, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x44e658
push ebx
sub eax, edx
push 0x4000000
sar eax, 1
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x80]
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x44e71f
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x44e70d
push 0xff
lea eax, [ebp - 0x133]
push ebx
push eax
mov byte [ebp - 0x134], bl
call fcn.0043b2b0
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
add esp, 0xc
mov edi, 0x100
jmp 0x44e6f3
cmp dword [ebp + 8], ebx
je 0x44e70a
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x134]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp + 8]
push eax
push edi
lea eax, [ebp - 0x134]
push eax
push dword [ebp - 4]
call esi
test eax, eax
jne 0x44e6d3
jmp 0x44e70d
mov dword [ebp - 8], ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
cmp dword [ebp - 8], ebx
jge 0x44e738
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 8]
pop ebx
leave
ret 8
Function at 0x44e7b6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x44e82e
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
push ebx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 0xc]
push dword [ebp - 4]
call esi
mov eax, dword [edi]
inc eax
push eax
call fcn.0043742a
pop ecx
push edi
push eax
push dword [ebp + 0x10]
mov dword [ebp + 8], eax
push ebx
push dword [ebp + 0xc]
push dword [ebp - 4]
call esi
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
pop esi
je 0x44e832
cmp dword [ebp + 8], ebx
je 0x44e82e
push dword [ebp + 8]
call fcn.00436909
pop ecx
xor eax, eax
jmp 0x44e835
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x44e83e
mov ecx, dword [edi]
mov byte [eax + ecx], bl
pop ebx
leave
ret 0xc
Function at 0x44f007
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
xor esi, esi
push esi
mov ebx, eax
lea eax, [ebp - 4]
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push dword [ebp + 8]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x44f19a
push edi
push dword [ebp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
call edi
test eax, eax
jne 0x44f199
push esi
call fcn.00437616
mov dword [ebp - 0xc], eax
xor eax, eax
mov word [ebp - 0x214], ax
mov dword [esp], 0x206
lea eax, [ebp - 0x212]
push esi
push eax
mov dword [ebp - 8], edx
call fcn.0043b2b0
xor eax, eax
push 0x206
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push esi
push eax
call fcn.0043b2b0
lea eax, [ebx + 0xd8]
lea edx, [ebp - 0x214]
add esp, 0x18
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, si
jne 0x44f0b0
lea eax, [ebx + 0x2e0]
lea edx, [ebp - 0x41c]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, si
jne 0x44f0cd
push dword [ebx + 0x20]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push dword [ebx + 0x20]
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebx + 0x4e8]
push eax
push dword [ebp + 8]
call fcn.004377f5
pop ecx
pop ecx
test eax, eax
jne 0x44f186
add ebx, 0x6f0
push ebx
push dword [ebp + 8]
call fcn.004377f5
pop ecx
pop ecx
test eax, eax
jne 0x44f186
push dword [ebp + 8]
lea eax, [ebp - 0x214]
push eax
call fcn.0043776a
pop ecx
pop ecx
test eax, eax
je 0x44f150
push dword [ebp + 8]
lea eax, [ebp - 0x41c]
push eax
call fcn.0043776a
pop ecx
pop ecx
test eax, eax
jne 0x44f199
push 8
lea eax, [ebp - 0xc]
push eax
push 0xb
push esi
push str.CasinoTimeStamp
push dword [ebp - 4]
call edi
push str.PCMUID
push dword [ebp + 0xc]
call fcn.004377f5
pop ecx
pop ecx
test eax, eax
je 0x44f199
push 8
lea eax, [ebp - 0xc]
push eax
push 0xb
push esi
push str.UGUIDTimeStamp
jmp 0x44f194
push 8
lea eax, [ebp - 0xc]
push eax
push 0xb
push esi
push 0x4714f4
push dword [ebp - 4]
call edi
pop edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
leave
ret 0x14
Function at 0x4507b8
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
mov ebx, eax
call fcn.0044e75e
push 0x103
xor esi, esi
lea eax, [ebp - 0x103]
push esi
push eax
mov byte [ebp - 0x104], 0
call fcn.0043b2b0
mov eax, dword [ebp + 8]
add esp, 0xc
dec eax
je 0x45083a
dec eax
je 0x45081b
dec eax
je 0x4507fc
push 2
pop eax
jmp 0x4508ef
push str.TUdTUE9LRVJWMkNSRUFURU1VVEVYUElHR1k
call fcn.0045077c
lea edx, [ebp - 0x104]
pop ecx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x45080f
jmp 0x450857
push str.TUdTUE9LRVJWMkNSRUFURU1VVEVY
call fcn.0045077c
lea edx, [ebp - 0x104]
pop ecx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x45082e
jmp 0x450857
push str.TUdTUE9LRVJWMkNSRUFURU1VVEVYU0I
call fcn.0045077c
lea edx, [ebp - 0x104]
pop ecx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x45084d
lea eax, [ebp - 0x104]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push esi
push eax
mov dword [ebx + 0xd0c], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45087c
xor eax, eax
jmp 0x4508ef
push edi
lea edi, [ebp - 0x104]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x450884
mov esi, str._SEM
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x104]
push eax
push 1
movsb byte es:[edi], byte [esi]
push 1
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push edi
push eax
mov dword [ebx + 0xd10], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4508eb
push dword [ebx + 0xd0c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebx + 0xd0c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebx + 0xd10]
mov dword [ebx + 0xd0c], edi
call esi
mov dword [ebx + 0xd10], edi
xor eax, eax
jmp 0x4508ee
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x452b2a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
push ebx
push esi
push edi
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x40b]
mov esi, ecx
push ebx
push eax
mov dword [ebp - 8], esi
mov byte [ebp - 0x40c], bl
call fcn.0043b2b0
add esp, 0xc
push ebx
push 0x80
push 2
push ebx
push 1
mov edi, 0x40000000
push edi
add esi, 0x130
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
call esi
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x452bc4
lea eax, [ebp - 0x40c]
push str._tserver_tlocal_tfileset_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
lea eax, [ebp - 0x40c]
pop ecx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x452b9c
sub eax, ecx
push ebx
lea ecx, [ebp - 0xc]
push ecx
push eax
lea eax, [ebp - 0x40c]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
push ebx
push 0x80
push 2
push ebx
push 1
push edi
add eax, 0x2c
push eax
call esi
mov edi, eax
lea eax, [ebp - 0x40c]
push str.file_thash_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
lea eax, [ebp - 0x40c]
pop ecx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x452bf8
push ebx
lea ecx, [ebp - 0xc]
push ecx
sub eax, esi
push eax
lea eax, [ebp - 0x40c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x45320f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push 0x470dec
push dword [ebp + 8]
call fcn.004384ee
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x45322f
and dword [ebx], eax
or eax, 0xffffffff
jmp 0x45327f
push esi
push 2
push 0
push edi
call fcn.00438afb
push edi
call fcn.00438a0c
push 0
push 0
push edi
mov esi, eax
call fcn.00438afb
lea eax, [esi + 1]
push eax
call fcn.00436a07
push edi
push esi
push 1
push eax
mov dword [ebx], eax
call fcn.0043874f
add esp, 0x30
cmp esi, eax
je 0x453275
push dword [ebx]
call fcn.004369cd
pop ecx
push 0xfffffffffffffffe
pop eax
jmp 0x45327e
push edi
call fcn.00438be4
pop ecx
mov eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x453293
Capabilities:
Create directory
Get file attributes

Disassembly:
cmp byte [edi], 0
je 0x4532bb
push esi
mov esi, edi
mov al, byte [esi]
cmp al, 0x5c
je 0x4532a5
cmp al, 0x2f
jne 0x4532b4
push 0
push edi
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [esi], 0x5c
inc esi
cmp byte [esi], 0
jne 0x45329b
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
neg eax
sbb eax, eax
neg eax
ret
Function at 0x4532c9
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ebx, ebx
push ebx
push dword [esi + 0x20]
call edi
test eax, eax
jne 0x453355
mov ecx, dword [esi + 0x2a4]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x18]
xor edi, edi
mov ecx, dword [esi + 0x2a4]
call fcn.00417220
cmp al, 1
jne 0x453314
push 0x64
add ebx, 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x64
jl 0x4532f4
push 0x103
lea eax, [ebp - 0x103]
push 0
push eax
mov byte [ebp - 0x104], 0
call fcn.0043b2b0
push ebx
lea eax, [ebp - 0x104]
push str.Slept_for__d_milliseconds_while_waiting_for_mupthread_to_shutdown_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
jmp 0x4533b2
fld dword [ebp + 8]
call fcn.00439bc6
cmp eax, dword [0x48dfd8]
jbe 0x45338d
push dword [esi + 0x294]
fld dword [ebp + 8]
fmul qword [0x472478]
push dword [esi + 0x254]
push 1
push 0x3e8
call fcn.00439bc6
push eax
call dword [esi + 0x250]
push 0xffffffffffffffff
push dword [0x48dfe0]
call edi
test eax, eax
jne 0x4533b0
mov eax, dword [ebp + 0xc]
push dword [0x48dfe0]
add dword [0x48d9a4], eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov al, 1
pop edi
pop ebx
leave
ret 8

Function at 0x453550
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push edi
push 0x104
call fcn.0043742a
push dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push dword [ebp + 0xc]
mov ebx, eax
push str._s_s.info
push ebx
call edi
push ebx
call fcn.00465bfa
add esp, 0x18
test eax, eax
je 0x453621
push ebx
push 0
push str.files
push 0x4707a4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push dword [ebp + 8]
mov dword [ebp - 4], eax
push dword [ebp + 0xc]
push str._s_s.cab
push ebx
call edi
xor edi, edi
add esp, 0x10
mov byte [ebp + 0xb], 1
cmp dword [esi + 0x2bc], edi
jbe 0x4535f6
lea eax, [esi + 0x2a8]
mov dword [ebp + 0xc], eax
cmp byte [ebp + 0xb], 0
je 0x453621
mov eax, dword [ebp + 0xc]
push ebx
push dword [eax]
call fcn.00438e87
pop ecx
pop ecx
test eax, eax
jne 0x4535e3
mov byte [ebp + 0xb], al
add dword [ebp + 0xc], 4
inc edi
cmp edi, dword [esi + 0x2bc]
jb 0x4535c9
cmp byte [ebp + 0xb], 0
je 0x453621
mov edi, dword [ebp - 4]
test edi, edi
je 0x453621
push ebx
call fcn.00465bfa
pop ecx
test eax, eax
je 0x453621
mov eax, dword [esi + 0x2bc]
mov dword [esi + eax*4 + 0x2a8], ebx
inc dword [esi + 0x2bc]
add dword [esi + 0x2b4], edi
cmp dword [ebp - 4], 0
pop edi
setne al
pop ebx
leave
ret 8
Function at 0x45362e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push ebx
push esi
push edi
mov esi, str.systemcomponents2_
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, str.cache_
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
mov ebx, eax
mov eax, dword [edi + 0x264]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x453669
sub eax, ecx
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.004373d7
add esp, 0xc
test eax, eax
jne 0x45368d
mov eax, dword [edi + 0x290]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x453693
sub eax, esi
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.004373d7
add esp, 0xc
test eax, eax
jne 0x4536bf
lea eax, [ebp - 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4536b4
sub eax, edx
add ebx, eax
xor esi, esi
push 0x103
lea eax, [ebp - 0x12b]
push esi
push eax
mov dword [ebp - 8], esi
mov byte [ebp - 0x12c], 0
call fcn.0043b2b0
push ebx
push dword [ebp - 4]
lea eax, [ebp - 0x12c]
push 0x46f428
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
push esi
push 0x80
push 2
push esi
push 1
mov ebx, 0x40000000
push ebx
lea eax, [ebp - 0x12c]
mov dword [ebp - 0xc], esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push eax
call esi
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x45374e
lea edi, [ebp - 0x12c]
call fcn.00455b3f
test eax, eax
je 0x453775
push 0
push 0x80
push 2
push 0
push 1
push ebx
mov eax, edi
push eax
call esi
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x453775
mov edi, dword [ebp + 8]
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 8], 1
jmp 0x453778
mov edi, dword [ebp + 8]
inc dword [edi + 0x2b8]
mov eax, dword [edi + 0x2b8]
push 0
push dword [edi + 0x254]
push 1
push dword [edi + 0x2b4]
push eax
call dword [edi + 0x250]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4537a5
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
push esi
mov esi, eax
mov eax, dword [esi + 0x14]
test eax, eax
js 0x45386a
cmp eax, 0x22
jle 0x4537ca
cmp eax, 0x27
jne 0x45386a
mov eax, dword [esi]
push edi
test eax, eax
je 0x4537fd
mov edi, dword [eax + 8]
test edi, edi
jle 0x45380c
push 0
push 0x64
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0043b500
mov ecx, eax
mov dword [ebp - 4], edx
mov eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 4]
push eax
push ecx
call fcn.0043da20
jmp 0x453809
mov ecx, esi
call fcn.004263a0
call fcn.00439b90
mov dword [ebp - 4], eax
push 0x3ff
lea eax, [ebp - 0x403]
push 0
push eax
mov byte [ebp - 0x404], 0
call fcn.0043b2b0
mov eax, dword [esi + 0x1c]
add esp, 0xc
pop edi
test eax, eax
jne 0x453836
mov eax, 0x46daf8
mov esi, dword [esi + 0x14]
push eax
push dword [ebp - 4]
push esi
call fcn.00417bc0
pop ecx
push eax
push esi
lea eax, [ebp - 0x404]
push str.__i:_s____3i_____s_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x453881
push eax
push str.Unhandled_Muppet_status_code:__i_n
call fcn.0043827d
add eax, 0x40
push eax
call fcn.0043876c
add esp, 0xc
pop esi
leave
ret