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

Disassembly:
sub esp, 0x854
mov eax, dword [0x42f278]
xor eax, esp
mov dword [esp + 0x84c], eax
push ebx
push ebp
push esi
push edi
push 0x105
lea eax, [esp + 0x24]
xor ebx, ebx
push eax
push ebx
mov ebp, 1
mov byte [esp + 0x23], bl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x20]
call fcn.00401a00
cmp dword [0x4372ec], ebx
mov esi, eax
je 0x40f98e
xor ebp, ebp
jmp 0x40fb43
call fcn.004016f0
cmp dword [0x4372ec], ebx
movzx eax, ax
jne 0x40fb29
cmp ax, 0xffff
je 0x40fa2e
lea esp, [esp]
movsx eax, ax
cmp eax, 0x110
jg 0x40f9e1
je 0x40fa01
cmp eax, 0x105
jg 0x40fb07
cmp eax, 0x101
jge 0x40fa01
cmp eax, 2
jl 0x40fb5e
cmp eax, 8
jle 0x40fa01
cmp eax, 0x10
jmp 0x40f9fb
cmp eax, 0x220
jg 0x40f9f6
je 0x40fa01
sub eax, 0x200
je 0x40fa01
sub eax, 0x10
jmp 0x40f9fb
cmp eax, 0x300
jne 0x40fb5e
call fcn.00401840
cmp dword [0x4372ec], ebx
jne 0x40fb29
mov eax, esi
call fcn.004016f0
cmp dword [0x4372ec], ebx
movzx eax, ax
jne 0x40fb29
cmp ax, 0xffff
jne 0x40f9b0
mov edx, dword [esi]
push edx
call fcn.00411205
add esp, 4
push esi
call fcn.00410f1a
add esp, 4
cmp byte [esp + 0x17], bl
je 0x40fb43
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 1
call esi
push ebx
mov edi, eax
push ebx
lea eax, [esp + 0x238]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00413b7b
add esp, 0x14
lea eax, [esp + 0x230]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x440]
push str._s_s
push edx
call fcn.004112ba
add esp, 0x10
lea eax, [esp + 0x648]
push eax
push ebx
push 0x42c21c
lea ecx, [esp + 0x444]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x40fba6
push 0x104
push str....._src_sfslfdec_sfmkcore.c
push 0x437580
mov dword [0x4372ec], 0xffffef1a
mov word [0x437370], bx
mov dword [0x437370], ebx
mov word [0x43757e], bx
call fcn.00410502
add esp, 0xc
push edi
mov word [0x437786], bx
mov dword [0x437374], 0x1767
xor ebp, ebp
call esi
jmp 0x40fb43
cmp eax, 0x106
jne 0x40fb5e
lea ecx, [esp + 0x17]
push ecx
mov ecx, esi
call fcn.00403230
add esp, 4
cmp dword [0x4372ec], ebx
je 0x40fa2e
xor ebp, ebp
cmp esi, ebx
je 0x40fb43
mov eax, dword [esi]
push eax
call fcn.00411205
add esp, 4
push esi
call fcn.00410f1a
add esp, 4
mov ecx, dword [esp + 0x85c]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.004104f3
add esp, 0x854
ret
push 0x104
push str....._src_sfslfdec_sfmkcore.c
push 0x437580
mov dword [0x4372ec], 8
mov word [0x437370], bx
mov dword [0x437370], ebx
mov word [0x43757e], bx
call fcn.00410502
add esp, 0xc
mov word [0x437786], bx
mov dword [0x437374], 0x1744
jmp 0x40fb29
lea edx, [esp + 0x648]
push edx
call fcn.004041c0
push edi
call esi
jmp 0x40fb43
Function at 0x40fbc0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x42f278]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push ebp
mov ebp, dword [esp + 0x124]
push esi
xor ebx, ebx
push 0x110
lea eax, [esp + 0x14]
push ebx
push eax
mov dword [esp + 0x18], ebx
call fcn.00416890
add esp, 0xc
cmp edi, ebx
je 0x40fc8e
cmp ebp, ebx
je 0x40fc8e
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x40fc8e
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x40fc8e
push 0x800
call eax
cmp eax, ebx
je 0x40fc8e
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40fc8e
mov eax, dword [esp + 0x10]
cmp eax, 7
jae 0x40fc89
cmp eax, 6
jb 0x40fc5d
cmp dword [esp + 0x14], 2
jae 0x40fc89
push 4
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp esi, ebx
je 0x40fc8e
mov ebx, str.sspicli.dll
call fcn.00405230
mov dword [esi], eax
mov dword [edi], esi
mov dword [ebp], 1
mov ebx, 1
mov ecx, dword [esp + 0x120]
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004104f3
add esp, 0x118
ret
Function at 0x40fd10
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x238
mov eax, dword [0x42f278]
xor eax, esp
mov dword [esp + 0x234], eax
push esi
push edi
push 0x42c920
push str.wininit.ini
call fcn.00411180
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 8], 0xfeff
jne 0x40fe03
push eax
push 0x80
push 1
push eax
push eax
push 0x40000000
push str.wininit.ini
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40fd9c
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x10]
push eax
push 2
lea ecx, [esp + 0x14]
push ecx
push esi
call edi
test eax, eax
jne 0x40fdb5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.004104f3
add esp, 0x238
ret
push 0
lea edx, [esp + 0x38]
push 0x42c924
push edx
call fcn.004112ba
lea eax, [esp + 0x40]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40fdd0
sub eax, edx
push 0
sar eax, 1
lea ecx, [esp + 0x10]
push ecx
lea edx, [eax + eax + 2]
push edx
lea eax, [esp + 0x40]
push eax
push esi
call edi
test eax, eax
je 0x40fd86
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40fe8d
lea ecx, [esp + 0x10]
push ecx
push str.wininit.ini
call fcn.00411e5d
add esp, 8
cmp dword [esp + 0x24], 0
jne 0x40fe84
push esi
call fcn.00411205
push 0x42c930
push str.wininit.ini
call fcn.00411180
mov esi, eax
push esi
push 1
lea edx, [esp + 0x1c]
push 2
push edx
call fcn.00410b74
push 0
lea eax, [esp + 0x54]
push 0x42c924
push eax
call fcn.004112ba
lea eax, [esp + 0x5c]
add esp, 0x28
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40fe60
sub eax, edx
push esi
sar eax, 1
push 1
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.00410b74
add esp, 0x10
push esi
call fcn.00411205
add esp, 4
push str.wininit.ini
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
xor ecx, esp
call fcn.004104f3
add esp, 0x238
ret
Function at 0x40fec0
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, eax
test ebx, ebx
je InitCommonControls
test esi, esi
je InitCommonControls
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
push 0x42
push 8
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
push 0x21
jne 0x40fefc
push esi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
pop edi
pop ebp
pop ebx
ret
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebx, eax
test ebx, ebx
je 0x40ff33
mov edx, 0x21
mov ecx, esi
mov eax, edi
call fcn.0040fcb0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
push 0
mov ebx, eax
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop ebp
mov eax, ebx
pop ebx
ret
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
push edi
mov dword [esi + 0x1c], eax
push eax
mov byte [esi + 0x20], al
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop ebp
mov eax, ebx
pop ebx
ret
xor eax, eax
pop ebx
ret

Function at 0x4104f3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f278]
jne 0x4104fd
repz ret
jmp fcn.00415bb0
Function at 0x41075e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x41079b
cmp dword [ebp + 0x14], edi
je 0x41079b
cmp ecx, edi
jne 0x4107a2
call fcn.004121d2
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0041633c
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x4107b6
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x4107d7
cmp ebx, 0xffffffff
je 0x4107c6
push ebx
push edi
push ecx
call fcn.00416890
add esp, 0xc
cmp esi, edi
je 0x410783
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x410783
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x4107f3
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x4107fa
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x4108eb
test word [esi + 0xc], 0x10c
je 0x41084e
mov eax, dword [esi + 4]
test eax, eax
je 0x41084e
jl 0x41094c
cmp ebx, eax
mov edi, ebx
jb 0x41081f
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x4108f3
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00416812
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x4108e3
cmp ebx, dword [ebp - 0xc]
jb 0x4108bb
cmp dword [ebp - 0xc], 0
je 0x410878
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x41086d
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x410874
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x410883
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x410883
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x41091f
push eax
push dword [ebp - 8]
push esi
call fcn.00416209
pop ecx
push eax
call fcn.0041370c
add esp, 0xc
test eax, eax
je 0x41095e
cmp eax, 0xffffffff
je 0x41094c
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x4108e3
push esi
call fcn.004166f2
cmp eax, 0xffffffff
pop ecx
je 0x410950
cmp dword [ebp - 4], 0
je 0x41091f
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x410802
mov eax, dword [ebp + 0x14]
jmp 0x41079d
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x41090a
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00416890
add esp, 0xc
call fcn.004121d2
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x410793
cmp dword [ebp + 0xc], 0xffffffff
je 0x410935
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00416890
add esp, 0xc
call fcn.004121d2
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x410793
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x41079d
or dword [esi + 0xc], 0x10
jmp 0x410950
Function at 0x412295
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x4122c2
call fcn.004121e5
mov dword [eax], esi
call fcn.004121d2
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0041633c
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x41229e
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4122f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004121f8
pop ecx
call fcn.004121d2
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x412318
test al, 1
je 0x412318
test byte [esp + 0xc], 2
je 0x412318
call fcn.004121e5
mov dword [eax], 5
call fcn.004121d2
mov dword [eax], 0xd
jmp 0x4122e8
xor eax, eax
pop esi
ret
Function at 0x417d22
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x42f670]
je 0x417d3d
inc edi
cmp edi, 0x17
jb 0x417d2e
cmp edi, 0x17
jae 0x417ebd
push ebp
push 3
call fcn.0042163d
cmp eax, 1
pop ecx
je 0x417e89
push 3
call fcn.0042163d
test eax, eax
pop ecx
jne 0x417d71
cmp dword [0x42f274], 1
je 0x417e89
cmp ebx, 0xfc
je 0x417ebc
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4367e8
push ebp
call fcn.0041a20d
add esp, 0xc
test eax, eax
je 0x417da7
push esi
push esi
push esi
push esi
push esi
call fcn.00416240
add esp, 0x14
push 0x104
mov esi, 0x436801
push esi
push 0
mov byte [0x436905], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x417deb
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0041a20d
add esp, 0xc
test eax, eax
je 0x417deb
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00416240
add esp, 0x14
push esi
call fcn.0041e8a0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x417e30
push esi
call fcn.0041e8a0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x436afc
push 0x428a04
sub ecx, eax
push ecx
push eax
call fcn.0041dff6
add esp, 0x14
test eax, eax
je 0x417e30
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00416240
add esp, 0x14
jmp 0x417e32
xor esi, esi
push 0x428a00
push ebx
push ebp
call fcn.0041df38
add esp, 0xc
test eax, eax
je 0x417e52
push esi
push esi
push esi
push esi
push esi
call fcn.00416240
add esp, 0x14
push dword [edi*8 + 0x42f674]
push ebx
push ebp
call fcn.0041df38
add esp, 0xc
test eax, eax
je 0x417e74
push esi
push esi
push esi
push esi
push esi
call fcn.00416240
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00421480
add esp, 0xc
jmp 0x417ebc
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x417ebc
cmp ebp, 0xffffffff
je 0x417ebc
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x42f674]
push dword [esi]
call fcn.0041e8a0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x421480
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00418f5b
xor ebx, ebx
cmp dword [0x436e68], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x421556
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x421636
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x421636
push eax
call fcn.00418eed
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x436e68], eax
call esi
push eax
call fcn.00418eed
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x436e6c], eax
call esi
push eax
call fcn.00418eed
mov dword [0x436e70], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00417aaf
test eax, eax
pop ecx
pop ecx
je 0x421524
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00416240
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x421556
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00418eed
cmp eax, ebx
pop ecx
mov dword [0x436e78], eax
je 0x421556
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00418eed
pop ecx
mov dword [0x436e74], eax
mov eax, dword [0x436e74]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4215db
cmp dword [0x436e78], ecx
je 0x4215db
push eax
call fcn.00418f64
push dword [0x436e78]
mov esi, eax
call fcn.00418f64
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4215db
cmp edi, ebx
je 0x4215db
call esi
cmp eax, ebx
je 0x4215a8
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4215a8
test byte [ebp - 0x18], 1
jne 0x4215db
lea eax, [ebp - 0x10]
push eax
call fcn.00417ae6
test eax, eax
pop ecx
je 0x4215c3
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00416240
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4215d2
or dword [ebp + 0x10], 0x200000
jmp 0x421616
or dword [ebp + 0x10], 0x40000
jmp 0x421616
mov eax, dword [0x436e6c]
cmp eax, dword [ebp - 8]
je 0x421616
push eax
call fcn.00418f64
cmp eax, ebx
pop ecx
je 0x421616
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x421616
mov eax, dword [0x436e70]
cmp eax, dword [ebp - 8]
je 0x421616
push eax
call fcn.00418f64
cmp eax, ebx
pop ecx
je 0x421616
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x436e68]
call fcn.00418f64
cmp eax, ebx
pop ecx
je 0x421636
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x421638
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4405c7
Capabilities:
Check for software breakpoints

Disassembly:
inc ecx
mov eax, dword [0xd5806610]
fst dword [ecx - 0x61]
invalid

Function at 0x5a5d76
Capabilities:
Encode data using xor

Disassembly:
das
add byte [eax + eax + 0x7f], bl
add byte [ebp + 0x233300], bl
add byte [edi - 0x46ff7468], ch
jg 0x5a5d8a
dec ebx
add ebx, dword [ebp]
inc edi
add byte [eax], al
sub ebx, dword [esi - 0x58ff7c8c]
imul edi, dword [edx], 0x9e6ce
add byte [ebx + 0x3e009da1], bh
sbb byte [eax], al
sbb byte ds:[eax], al
add byte [esi - 2], ah
mov eax, dword [eax]
inc edx
add dword [ebx - 0x10ff6300], ecx
xor eax, dword [eax]
add byte [eax + eax - 0x57ffd1], al
mov eax, dword [eax]
mov edx, 0x33044d9f
and byte [eax], al
add byte [0x2c6179a3], dh
add edx, eax
dec edi
add byte [eax], al
mov cl, bh
sbb bl, al
leave
push ds
imul eax, dword [0x7b7de39c], 0x1041
cmp byte [edi + 0x3fe401ee], 0
pop esp
inc esp
or ebx, ebx
and al, 0
add byte [ebx + 0x33], al
aaa
push esp
jne 0x5a5da4
mov ch, 0x46
add byte [eax], al
popfd
add al, ch
dec ecx
add byte [eax], al
daa
jns 0x5a5e5e
add byte [edi], bl
xchg dword [ecx + 0x5259f500], ebx
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
push ss
add byte [eax], al
xor eax, 0x366ca3a3
shr dword [edi + 0xc], 1
add byte [eax], al
mov ebx, 0x9cbaf5a1
cmp ah, bh
pop ss
outsd dx, dword [esi]
sub al, 0
add byte [edi], bh
add dword [eax], 0xffffff9d
add bl, bh
pop ecx
add byte [eax], al
mov byte [0x8600a9fe], al
add byte [ecx + 0xb009d00], ch
dec esp
add byte [eax], al
out dx, al
invalid
push ebp
sbb dword [eax], eax
add byte [ebp + 0x446200], bl
add byte [esi], al
dec dword [ebx + 0x2f002a00]
add byte [ebx + 3], cl
das
add byte [ebp + 0x3e], dh
add byte [eax], al
dec edx
inc edx
ret
Function at 0x4030e0
Capabilities:
Enumerate gui resources
Get hostname

Disassembly:
mov eax, 0x200c
call fcn.0040a5b0
mov eax, dword [0x2b83744]
mov ecx, dword [0x2b836b8]
shr eax, 3
test eax, eax
jbe 0x403212
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x403130
cmp dword [0x2b83744], 0x959
jne 0x4031f4
push 0
lea eax, [esp + 0x420]
push eax
push 0
push 0
push 0
push 0
call edi
push 0
lea ecx, [esp + 0xc20]
push ecx
push 0
call ebx
push 0
push 0
call esi
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
push 0
push 0
lea edx, [esp + 0x24]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
lea eax, [esp + 0x1420]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x1820]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0
push 0x402b44
push 0x402b54
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov eax, dword [esp + 0x10]
push eax
call fcn.00402f30
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x403130
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x200c
ret
Function at 0x4071b3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42ba30]
jne 0x4071bd
repz ret
jmp fcn.00409f4f

Function at 0x409adf
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004058a8
and dword [ebp - 4], 0
cmp dword [0x42c8e0], 0
mov ebx, eax
jne 0x409b90
push 0x402368
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409c41
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40235c
push edi
call esi
test eax, eax
je 0x409c41
push eax
call fcn.00405836
mov dword [esp], 0x40234c
push edi
mov dword [0x42c8e0], eax
call esi
push eax
call fcn.00405836
mov dword [esp], 0x402338
push edi
mov dword [0x42c8e4], eax
call esi
push eax
call fcn.00405836
mov dword [esp], 0x40231c
push edi
mov dword [0x42c8e8], eax
call esi
push eax
call fcn.00405836
pop ecx
mov dword [0x42c8f0], eax
test eax, eax
je 0x409b90
push 0x402304
push edi
call esi
push eax
call fcn.00405836
pop ecx
mov dword [0x42c8ec], eax
mov eax, dword [0x42c8ec]
cmp eax, ebx
je 0x409be8
cmp dword [0x42c8f0], ebx
je 0x409be8
push eax
call fcn.004058b1
push dword [0x42c8f0]
mov esi, eax
call fcn.004058b1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409be8
test edi, edi
je 0x409be8
call esi
test eax, eax
je 0x409bdf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409bdf
test byte [ebp - 0xc], 1
jne 0x409be8
or dword [ebp + 0x10], 0x200000
jmp 0x409c21
mov eax, dword [0x42c8e4]
cmp eax, ebx
je 0x409c21
push eax
call fcn.004058b1
pop ecx
test eax, eax
je 0x409c21
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409c21
mov eax, dword [0x42c8e8]
cmp eax, ebx
je 0x409c21
push eax
call fcn.004058b1
pop ecx
test eax, eax
je 0x409c21
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42c8e0]
call fcn.004058b1
pop ecx
test eax, eax
je 0x409c41
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409c43
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret