joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422b95
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
and byte [ebp - 0x408], 0
push esi
push edi
push 0x7f
pop ecx
xor eax, eax
lea edi, [ebp - 0x407]
and byte [ebp - 0x208], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x7f
xor eax, eax
pop ecx
lea edi, [ebp - 0x207]
rep stosd dword es:[edi], eax
mov esi, dword [ebp + 8]
push 0x104
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x408]
mov dword [ebp + 8], esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x422bf1
mov eax, esi
jmp 0x422d7c
lea eax, [ebp - 0x408]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push eax
lea eax, [ebp - 0x208]
push eax
call ebx
lea eax, [ebp - 0x208]
push str.d3d8.dll
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.004227f1
pop ecx
pop ecx
push 4
test eax, eax
pop edi
jl 0x422c9a
mov eax, dword [ebp - 4]
mov esi, 0x371
mov ecx, eax
shr ecx, 0x10
cmp cx, di
jne 0x422c67
push esi
push 1
push 8
push edi
call fcn.00422890
push edx
push eax
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004228af
add esp, 0x20
test eax, eax
jge 0x422c93
mov eax, dword [ebp - 4]
shr eax, 0x10
cmp ax, 5
jne 0x422c9a
push esi
push 0xa28
push 1
push 5
call fcn.00422890
push edx
push eax
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004228af
add esp, 0x20
test eax, eax
jl 0x422c9a
mov dword [ebp + 8], 0x10008
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x208]
push eax
call ebx
lea eax, [ebp - 0x208]
push str.dpnet.dll
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.004227f1
pop ecx
test eax, eax
pop ecx
jl 0x422d39
mov eax, dword [ebp - 4]
mov esi, 0x86
mov ecx, eax
shr ecx, 0x10
cmp cx, di
jne 0x422d06
push esi
push 0
push 9
push edi
call fcn.00422890
push edx
push eax
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004228af
add esp, 0x20
test eax, eax
jge 0x422d32
mov eax, dword [ebp - 4]
shr eax, 0x10
cmp ax, 5
jne 0x422d39
push esi
push 0xe5d
push 2
push 5
call fcn.00422890
push edx
push eax
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004228af
add esp, 0x20
test eax, eax
jl 0x422d39
mov dword [ebp + 8], 0x20008
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x208]
push eax
call ebx
lea eax, [ebp - 0x208]
push str.d3d9.dll
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.004227f1
pop ecx
pop ecx
pop ebx
test eax, eax
jl 0x422d79
mov dword [ebp + 8], 9
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret
Function at 0x422fc3
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov dword [ebp - 0x14], ecx
xor esi, esi
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
call fcn.0041e62f
push 0x13c
call fcn.00427db9
cmp eax, esi
pop ecx
je 0x42300e
push 0x1a
lea esi, [eax + 4]
pop ecx
mov edi, esi
mov dword [eax], ecx
mov ebx, ecx
mov ecx, edi
call fcn.0041e62f
add edi, 0xc
dec ebx
jne 0x422ffa
mov dword [ebp - 8], esi
xor esi, esi
jmp 0x423011
mov dword [ebp - 8], esi
cmp dword [ebp - 8], esi
je 0x42302f
push esi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
call esi
mov ebx, eax
push ebx
call fcn.00427db9
mov edi, eax
pop ecx
test edi, edi
jne 0x42303a
inc dword [0x4813e0]
jmp 0x4231e0
push edi
push ebx
call esi
push str._HD_space_placeholder_
lea ecx, [ebp - 0x4c]
mov esi, edi
call fcn.0041e69f
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x4c]
push eax
call fcn.00421d12
cmp byte [edi], 0
je 0x42312c
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push esi
call fcn.0041e77c
mov ecx, dword [ebp - 4]
call fcn.0041f593
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x423112
inc dword [ebp - 0xc]
push str.
lea ecx, [ebp - 0x28]
call fcn.0041e77c
push dword [ebp - 4]
lea ecx, [ebp - 0x28]
call fcn.0041e92f
push 9
lea ecx, [ebp - 0x28]
call fcn.0041e862
mov ecx, dword [ebp - 4]
push 1
call fcn.0041f593
push eax
call fcn.0040efb3
mov ebx, edx
pop ecx
cmp ebx, dword [0x4817ac]
pop ecx
mov dword [ebp - 0x1c], eax
ja 0x4230da
jb 0x4230d7
cmp eax, dword [0x4817a8]
jae 0x4230da
inc dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.0041e62f
lea eax, [ebp - 0x34]
push eax
push ebx
push dword [ebp - 0x1c]
call fcn.004202db
add esp, 0xc
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x28]
push eax
call fcn.0041e92f
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push eax
call fcn.00421d12
lea ecx, [ebp - 0x34]
call fcn.0041e765
add dword [ebp - 4], 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esi + eax + 1], 0
lea esi, [esi + eax + 1]
jne 0x423068
push edi
call fcn.00427dae
pop ecx
mov ecx, dword [ebp - 8]
push 3
call fcn.0041b633
push 0x481bbc
lea ecx, [ebp - 0x28]
call fcn.0041e7ea
xor esi, esi
lea ecx, [ebp - 0x28]
push esi
push 0x430a34
call fcn.0041e8b1
lea ecx, [ebp - 0x40]
call fcn.0041e62f
lea eax, [ebp - 0x40]
push eax
push dword [0x4817ac]
push dword [0x4817a8]
call fcn.004202db
add esp, 0xc
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
call fcn.0041e92f
push 9
lea ecx, [ebp - 0x28]
call fcn.0041e862
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x10], eax
jne 0x4231a5
inc dword [0x4813d8]
push 0x481a54
jmp 0x4231aa
push 0x481a6c
lea ecx, [ebp - 0x28]
call fcn.0041e92f
push 1
push esi
push esi
lea ecx, [ebp - 0x28]
call fcn.0041f593
push eax
lea ecx, [ebp - 0x4c]
call fcn.0041f593
mov ecx, dword [ebp - 0x14]
push eax
call fcn.0041f463
lea ecx, [ebp - 0x40]
call fcn.0041e765
lea ecx, [ebp - 0x4c]
call fcn.0041e765
lea ecx, [ebp - 0x28]
call fcn.0041e765
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4231ed
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push 0x24
lea eax, [ebp - 0x30]
push 0
mov esi, ecx
push eax
call fcn.004274e0
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x481c58
lea ecx, [ebp - 0xc]
call fcn.0041e703
push dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
push 0x430a58
push eax
call fcn.0041ecd1
add esp, 0xc
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.00421d12
lea ecx, [ebp - 0xc]
call fcn.0041e765
pop esi
leave
ret
Function at 0x4250aa
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov edx, ecx
xor cl, cl
cmp byte [edx + 0x93], cl
lea eax, [edx + 0x93]
je 0x4250fa
push edi
push 0x40
mov byte [eax], cl
mov byte [ebp - 0x104], cl
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
mov ecx, edx
push eax
call fcn.00425a1d
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
leave
ret

Function at 0x42540d
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
cmp dword [0x481688], ebx
push edi
mov edi, dword [eax + 0x34]
jle 0x42544d
mov esi, 0x48167c
push ebx
mov ecx, esi
call fcn.0042168b
cmp eax, edi
je 0x425442
inc ebx
inc ebx
cmp ebx, dword [0x481688]
jl 0x42542a
jmp 0x42544d
inc ebx
mov ecx, esi
push ebx
call fcn.0042168b
mov edi, eax
xor esi, esi
cmp dword [0x481674], esi
jle 0x4254ee
push esi
mov ecx, 0x481668
call fcn.0042168b
cmp dword [eax], edi
je 0x425475
inc esi
cmp esi, dword [0x481674]
jl 0x42545b
jmp 0x4254ee
add eax, 4
xor esi, esi
cmp eax, esi
je 0x4254ee
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
mov ecx, eax
call fcn.0041f593
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4254ee
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0xc
mov dword [ebp + 8], eax
call fcn.00427db9
cmp eax, esi
pop ecx
je 0x4254c5
mov ecx, eax
call fcn.0041e62f
mov ebx, eax
jmp 0x4254c7
xor ebx, ebx
push dword [ebp + 8]
mov ecx, ebx
call fcn.0041eec6
cmp eax, esi
jne 0x4254f7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, esi
je 0x4254ee
mov ecx, ebx
call fcn.0041e765
push ebx
call fcn.00427dae
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
lea ecx, [ebp - 4]
push esi
push ecx
mov dword [ebp - 4], esi
push dword [ebp + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], esi
je 0x4254dc
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
jne 0x4254dc
mov eax, ebx
jmp 0x4254f0
Function at 0x425973
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
cmp dword [0x4816d4], 0
push edi
mov edi, ecx
jbe 0x425a0e
lea eax, [ebp - 4]
mov ecx, 0x4816d4
push eax
mov eax, dword [0x4823f8]
or eax, 0x20019
push eax
push 0
call fcn.0041f593
push eax
push dword [0x4816d0]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x425a0e
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
lea eax, [ebp - 0x10c]
push eax
push 0
push 0
push str.Uninstaller
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x425a05
lea eax, [ebp - 0x10c]
push eax
call fcn.0040f0b8
test al, al
pop ecx
je 0x425a05
lea eax, [ebp - 0x10c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov al, 1
jmp 0x425a18
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 8]
mov ecx, edi
call fcn.00425a1d
pop edi
leave
ret 4
Function at 0x425c6f
Capabilities:
Copy file
Delete directory
Delete file
Get file size
Set current directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
push edi
mov esi, ecx
push 0x430cdc
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test byte [0x4812a4], 0x40
jne 0x425dfc
test byte [0x4812aa], 2
jne 0x425dfc
xor ebx, ebx
cmp byte [esi + 0x90], bl
je 0x425cdf
lea eax, [ebp - 0x11c]
mov ecx, esi
push eax
call fcn.00425a1d
lea eax, [ebp - 0x11c]
mov ecx, 0x4810c0
push eax
push 1
call fcn.00417883
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x425da0
push ebx
push 0x80
push 3
push ebx
push 1
push 0xc0000000
mov ecx, esi
call fcn.0041f593
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push ebx
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp edi, 0xffffffff
mov dword [ebp - 8], eax
je 0x425df3
cmp eax, ebx
je 0x425df3
lea ecx, [ebp - 0x18]
mov byte [esi + 0x92], 1
call fcn.0041e62f
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.004250fc
push 2
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0xc]
push ebx
push eax
lea ecx, [ebp - 0x18]
push dword [ebp - 0x18]
call fcn.0041f593
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
call edi
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 8]
push 4
push eax
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.0041f593
push eax
push 1
mov ecx, 0x4810c0
call fcn.00417883
mov ecx, esi
call fcn.0041f593
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x18]
call fcn.0041e765
cmp dword [0x4817e0], ebx
jbe 0x425deb
lea eax, [ebp - 0x11c]
mov ecx, esi
push eax
call fcn.00425973
lea eax, [ebp - 0x11c]
mov esi, 0x4817e0
push ebx
push eax
mov ecx, esi
call fcn.0041f593
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, esi
call fcn.0041f593
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x4311c8
mov ecx, esi
call fcn.0041e77c
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x425deb
xor ebx, ebx
push 1
cmp byte [esi + 0x90], bl
jne 0x425ded
pop edi
push ebx
push dword [esi + 0x20]
call fcn.0040f085
pop ecx
pop ecx
cmp eax, ebx
je 0x425e2f
push eax
call fcn.0040e99b
mov eax, edi
inc edi
push eax
push dword [esi + 0x20]
call fcn.0040f085
add esp, 0xc
jmp 0x425e14
push 1
pop edi
push ebx
push dword [esi + 0x38]
call fcn.0040f085
pop ecx
cmp eax, ebx
pop ecx
je 0x425deb
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov eax, edi
inc edi
push eax
jmp 0x425e33
Function at 0x425e4e
Capabilities:
Copy file
Delete file
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
test byte [0x4812aa], 2
push esi
mov esi, ecx
mov dword [ebp - 4], esi
je 0x425e76
test byte [0x4812a4], 0x40
jne 0x425e76
mov al, 1
jmp 0x425fb3
lea eax, [ebp - 0x11c]
mov ecx, esi
push eax
call fcn.00425a1d
lea eax, [ebp - 0x11c]
push eax
call fcn.0040f0b8
test al, al
pop ecx
je 0x425ea5
lea eax, [ebp - 0x11c]
mov ecx, esi
push eax
call fcn.00424ec6
jmp 0x425eae
test byte [0x4812a4], 0x40
je 0x425eba
mov ecx, esi
call fcn.00425fb8
jmp 0x425fb3
push ebx
push edi
lea ecx, [ebp - 0x18]
call fcn.0041e62f
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.004250fc
xor ebx, ebx
lea eax, [ebp - 0x11c]
push ebx
push eax
mov ecx, esi
call fcn.0041f593
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, esi
call fcn.0041f593
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call esi
push ebx
push 0x80
push 3
push ebx
push 1
lea eax, [ebp - 0x11c]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp edi, 0xffffffff
mov dword [ebp - 0xc], eax
je 0x425f7e
cmp eax, ebx
je 0x425f7e
push 2
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 8]
push ebx
push eax
lea ecx, [ebp - 0x18]
push dword [ebp - 0x18]
call fcn.0041f593
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
push edi
call esi
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0xc]
push 4
push eax
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x11c]
push eax
mov byte [ecx + 0x90], 1
call fcn.00424ec6
mov bl, 1
jmp 0x425fa7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x11c]
push eax
call esi
push ebx
mov ecx, 0x4820a8
call fcn.0041f593
push eax
mov ecx, 0x4810c0
push dword [ebp + 8]
call fcn.0041da57
lea ecx, [ebp - 0x18]
call fcn.0041e765
mov al, bl
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x429c0b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x430fe0
cmp edx, dword [eax]
je 0x429c2d
add eax, 8
inc ecx
cmp eax, 0x431070
jl 0x429c1e
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x430fe0]
jne 0x429d5b
mov eax, dword [0x4825fc]
cmp eax, 1
je 0x429d35
test eax, eax
jne 0x429c5e
cmp dword [0x430d28], 1
je 0x429d35
cmp edx, 0xfc
je 0x429d5b
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x429c95
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00428040
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00427950
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x429cd8
lea eax, [ebp - 0x1a4]
push eax
call fcn.00427950
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x42bb64
push edi
call fcn.0042a700
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00428040
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00428050
lea eax, [ebp - 0xa0]
push 0x42bb44
push eax
call fcn.00428050
push dword [esi + 0x430fe4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00428050
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0042a677
add esp, 0x2c
pop edi
jmp 0x429d5b
lea eax, [ebp + 8]
lea esi, [esi + 0x430fe4]
push 0
push eax
push dword [esi]
call fcn.00427950
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x107b0058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x107b01a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x107b007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x107b006a
add dl, dl
jne 0x107b0089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x107b00dc
xor eax, eax
add dl, dl
jne 0x107b0096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x107b017d
add dl, dl
jne 0x107b00a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107b00b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107b00bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107b00c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x107b00d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x107b0075
mov eax, 1
add dl, dl
jne 0x107b00ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107b00f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x107b00e1
sub eax, ebx
mov ebx, 1
jne 0x107b0128
mov ecx, 1
add dl, dl
jne 0x107b010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x107b0119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x107b0105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x107b0075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x107b013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x107b014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x107b0136
cmp eax, 0x7d00
jae 0x107b016d
cmp eax, 0x500
jb 0x107b0168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x107b0075
cmp eax, 0x7f
ja 0x107b0170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x107b0075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x107b019e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x107b0075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x48d230
Capabilities:
Check mutex on windows
Create process on windows

Disassembly:
sub esp, 0x100
push ebp
push esi
push edi
xor esi, esi
push str.OnceMutex
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
mov ebp, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
jne 0x48d2a6
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x110]
push 0x100
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
push 0x15
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
push esi
lea edx, [esp + 0x10]
push str.Info
push edx
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x100
ret 0x10
mov ecx, 0x41e5
xor eax, eax
mov edi, 0x5c8938
push 0x59c
rep stosd dword es:[edi], eax
call fcn.004b7e62
add esp, 4
test eax, eax
je 0x48d2cc
mov ecx, eax
call fcn.0048a690
mov edi, dword [sym.imp.KERNEL32.DLL_Sleep]
mov ecx, dword [0x5c8890]
push 1
call fcn.0048bf40
test eax, eax
jne 0x48d2f0
push 0x1f4
call edi
inc esi
cmp esi, 3
jl 0x48d2d2
mov ecx, dword [0x5c8890]
cmp dword [ecx + 0x578], 1
jne 0x48d359
test ecx, ecx
je 0x48d309
mov eax, dword [ecx]
push 1
call dword [eax]
push ebp
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [0x5c8890]
push 0x16
stosb byte es:[edi], al
call fcn.0048cd00
push 0
lea edx, [esp + 0x10]
push str.Info
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x100
ret 0x10
mov eax, dword [esp + 0x118]
push eax
call fcn.0048d1e0
add esp, 4
test eax, eax
jne 0x48d3b3
mov ecx, 0x3f
lea edi, [esp + 0xd]
mov byte [esp + 0xc], al
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [0x5c8890]
push 0x17
stosb byte es:[edi], al
call fcn.0048cd00
push 0
lea edx, [esp + 0x10]
push str.Info
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x100
ret 0x10
mov ecx, dword [0x5c8890]
call fcn.0048c7e0
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0x110]
push 6
push eax
push ecx
mov ecx, dword [0x5c8890]
call fcn.0048b400
test eax, eax
je 0x48d3ec
mov ecx, dword [0x5c8890]
call fcn.0048bb50
jmp 0x48d406
mov eax, dword [0x5c8890]
mov ecx, dword [eax + 0x10]
call fcn.00411390
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x5c8890]
push 0
call fcn.0048bf40
mov ecx, dword [0x5c8890]
test ecx, ecx
je 0x48d432
call fcn.0048b950
mov ecx, dword [0x5c8890]
test ecx, ecx
je 0x48d432
mov edx, dword [ecx]
push 1
call dword [edx]
push ebp
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 1
push 0
push 0
push str.http:__bbs.o2jam.cc_exit.htm
push str.oooo
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x100
ret 0x10
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x142d48b
Capabilities:
Encode data using xor

Disassembly:
fdiv dword [esi + 0xeeeeea]
add byte [eax], al
add byte [edi + 0x27e3bf2d], dh
add al, 0x99
movsx edx, si
jmp 0x142d4af
pop ebp
mov bh, 0x4f
movsx ebx, cx
sbb esi, 0x34d30621
movsx ebx, dx
add ebp, 0xe63751f
jmp 0x142d4dd
movsx ecx, bx
jmp 0x142d4f9
mov cx, di
mov ebx, 0xbdba20df
add byte [ebp - 0xe63754f], 0x11
movsx ecx, si
sub edx, 0x7557e8f9
inc edi
mov ecx, 0xddb60e31
mov ebx, 0x9fb0d111
sub ebp, 1
mov ebx, 0x2859b179
mov esi, 0x5712bee3
xor edx, 0x33f3d473
mov ecx, edi
or edx, 0xcf9ae9a1
movsx esi, bx
cmp ecx, 0x99042c1c
jne 0x142d4fc
and ecx, 0xbccdd769
adc edx, 0xe7755687
movsx esi, bp
jmp 0x142d43b