joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ca8a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x10041030]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x20
mov eax, 0x10032a9f
call fcn.1001d3c1
mov eax, dword [ebp + 0x80c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x810]
xor edi, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], eax
mov ebx, ecx
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], ebx
mov word [esi + 4], ax
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x14], edi
cmp ebx, edi
je 0x1000cb98
push 0x7fe
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.1001da40
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x10], edi
push ebx
push dword [ebp - 0x20]
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x18], edi
call ebx
cmp dword [ebp - 0x18], 1
je 0x1000cb32
cmp dword [ebp - 0x18], 2
jne 0x1000cb98
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x1000cb98
cmp eax, 0x800
jbe 0x1000cb66
add eax, 2
push eax
call fcn.1001c9c8
mov ecx, dword [ebp - 0x10]
add ecx, 2
push ecx
push edi
push eax
mov dword [ebp - 0x14], eax
call fcn.1001da40
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
jmp 0x1000cb6e
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call ebx
mov ebx, dword [ebp - 0x14]
mov eax, ebx
cmp ebx, edi
jne 0x1000cb86
lea eax, [ebp]
push eax
push esi
call fcn.1000238d
cmp ebx, edi
je 0x1000cb98
push ebx
call fcn.1001c8eb
pop ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.1001c206
add ebp, 0x804
leave
ret

Function at 0x1000cc3e
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
xor ebx, ebx
push 0xf003f
push ebx
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x1000cca6
push esi
push 0xf01ff
lea esi, [ebp - 8]
call fcn.1000cbf6
pop esi
cmp dword [ebp - 8], ebx
je 0x1000cca6
push edi
push 6
pop ecx
xor eax, eax
mov dword [ebp - 0x24], ebx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
pop edi
test eax, eax
je 0x1000cca6
lea eax, [ebp - 0x24]
push eax
push 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1000cca6
inc ebx
lea eax, [ebp - 8]
call fcn.1000cc1e
mov eax, ebx
pop ebx
leave
ret
Function at 0x1000ccb3
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
xor edi, edi
push 4
push edi
push edi
xor ebx, ebx
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp eax, edi
je 0x1000cd08
push 4
lea esi, [ebp - 8]
call fcn.1000cbf6
cmp dword [ebp - 8], edi
je 0x1000cd08
push 6
mov dword [ebp - 0x24], edi
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1000cd08
cmp dword [ebp - 0x20], 4
jne 0x1000cd08
inc ebx
lea eax, [ebp - 8]
call fcn.1000cc1e
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x1000dc60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, esi
je 0x1000dc96
push dword [ebp + 0xc]
push dword [ebp - 4]
push str.thread__d_created:__s
call fcn.1000d81f
add esp, 0xc
mov eax, edi
pop edi
pop esi
leave
ret 8
Function at 0x1001ac9e
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x10041030]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 4
mov eax, 0x1003254b
call fcn.1001d3c1
mov edi, dword [ebp + 0x230]
mov esi, dword [ebp + 0x238]
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.1001da40
add esp, 0xc
push 0x104
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [ebp + 0x234], 1
jne 0x1001ad0a
push str.projonepodlp
jmp 0x1001ad18
cmp dword [ebp + 0x234], 2
jne 0x1001ad37
push str.projonepotcm
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp esi, ebx
je 0x1001ad31
push esi
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x1c]
push eax
jmp 0x1001ad8a
cmp dword [ebp + 0x234], ebx
jne 0x1001ad85
push ebx
lea eax, [ebp]
push 2
push eax
call fcn.1001ac9e
add esp, 0xc
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x1001ad5d
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push esi
test eax, eax
je 0x1001ad81
push 2
push edi
call fcn.1001ac9e
add esp, 0xc
push ebx
push 1
lea esi, [ebp]
call fcn.1000245e
jmp 0x1001ad91
push 1
jmp 0x1001ad6b
push 0x1003794c
mov esi, edi
call fcn.10001f7d
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.1001c206
add ebp, 0x228
leave
ret

Function at 0x1001b152
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10041030]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x18], 0
push edi
xor eax, eax
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], 0x3a
mov byte [ebp - 0x12], 0x5c
lea edi, [ebp - 0x11]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
je 0x1001b18f
cmp eax, 3
jne 0x1001b1a7
push ebx
call fcn.1000b9f4
pop ecx
cmp eax, 0xffffffff
je 0x1001b1b4
cmp eax, 7
jne 0x1001b1a7
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], 0
setne al
mov byte [esi], al
mov al, 1
jmp 0x1001b1b6
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1001c206
leave
ret
Function at 0x1001b29e
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2028
call fcn.10027d10
mov eax, dword [0x10041030]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
call fcn.1001b381
test al, al
je 0x1001b374
xor eax, eax
mov word [ebp - 0x80c], ax
mov word [ebp - 0x100c], ax
push str.__ls__ls
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x1003a408
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [ebp - 0x2028]
push eax
call fcn.1001b1c3
cmp dword [eax + 0x18], 8
pop ecx
jb 0x1001b30f
mov eax, dword [eax + 4]
jmp 0x1001b312
add eax, 4
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x100c]
push 0x400
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
push 0
push 1
lea esi, [ebp - 0x2028]
call fcn.1000245e
xor eax, eax
mov word [ebp - 0x200c], ax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x100c]
push eax
push 0x800
lea eax, [ebp - 0x200c]
push eax
call dword [sym.imp.SHLWAPI.dll_wvnsprintfW]
lea eax, [ebp - 0x200c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.1001c206
leave
ret

Function at 0x1001b5cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 4
shl eax, 4
pop edx
mov esi, ecx
lea edi, [eax + ecx + 0x3c]
mov dword [ebp - 4], edx
xor eax, eax
mov ecx, edi
mov bl, byte [ecx]
xor byte [esi + eax], bl
inc eax
add ecx, edx
cmp eax, edx
jl 0x1001b5e6
inc edi
add esi, edx
dec dword [ebp - 4]
jne 0x1001b5e2
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001b701
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10041030]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 4
lea esi, [ebp - 8]
lea ecx, [eax + 4]
pop edi
mov al, byte [esi - 0xc]
mov dl, byte [esi - 8]
call fcn.1001b8c7
mov bl, al
mov al, dl
call fcn.1001b8c7
xor bl, al
xor bl, byte [esi - 4]
mov al, dl
xor bl, byte [esi]
xor bl, dl
mov byte [ecx - 4], bl
call fcn.1001b8c7
mov bl, al
mov al, byte [esi - 4]
call fcn.1001b8c7
xor bl, al
xor bl, byte [esi - 0xc]
mov al, byte [esi - 4]
xor bl, byte [esi]
xor bl, al
mov byte [ecx], bl
call fcn.1001b8c7
mov bl, al
mov al, byte [esi]
call fcn.1001b8c7
xor bl, al
mov al, byte [esi]
xor bl, dl
xor bl, byte [esi - 0xc]
xor bl, al
mov byte [ecx + 4], bl
call fcn.1001b8c7
mov bl, al
mov al, byte [esi - 0xc]
call fcn.1001b8c7
xor bl, al
xor bl, dl
xor bl, byte [esi - 4]
xor bl, byte [esi - 0xc]
inc ecx
mov byte [ecx + 7], bl
inc esi
dec edi
jne 0x1001b729
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001c206
leave
ret 4
Function at 0x1001b7b6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10041030]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x10]
lea esi, [eax + 4]
mov dword [ebp - 0x1c], 4
mov al, byte [edi - 4]
mov bl, byte [edi + 4]
call fcn.1001b943
push ebx
mov dl, al
call fcn.1001b91c
xor dl, al
movzx eax, byte [edi + 8]
push eax
call fcn.1001b8d7
xor dl, al
movzx eax, byte [edi]
push eax
call fcn.1001b8f5
xor dl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi - 4], dl
call fcn.1001b8d7
push ebx
mov byte [ebp - 0x15], al
call fcn.1001b8f5
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi + 8]
push eax
mov byte [ebp - 0x15], cl
call fcn.1001b91c
mov cl, byte [ebp - 0x15]
xor cl, al
mov al, byte [edi]
mov byte [ebp - 0x15], cl
call fcn.1001b943
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi], cl
call fcn.1001b91c
mov bl, al
mov al, byte [edi + 4]
call fcn.1001b943
movzx edx, byte [edi + 8]
push edx
xor bl, al
call fcn.1001b8f5
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.1001b8d7
xor bl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi + 4], bl
call fcn.1001b8f5
mov bl, al
movzx eax, byte [edi + 4]
push eax
call fcn.1001b8d7
xor bl, al
mov al, dl
call fcn.1001b943
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.1001b91c
xor bl, al
mov byte [esi + 8], bl
inc esi
inc edi
dec dword [ebp - 0x1c]
jne 0x1001b7e2
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001c206
leave
ret 4
Function at 0x1001c002
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push 0x2c
mov eax, 0x1003193a
call fcn.1001d42a
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
xor esi, esi
mov eax, edi
mov dword [ebp - 0x30], esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001c021
sub eax, ecx
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], 0xf
call fcn.100026b4
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x30], 0
mov dword [ebp - 4], esi
jbe 0x1001c126
jmp 0x1001c052
mov edi, dword [ebp + 0xc]
movsx eax, byte [esi + edi]
mov al, byte [eax + 0x10039788]
inc esi
cmp esi, dword [ebp - 0x30]
jae 0x1001c066
cmp al, 0xff
je 0x1001c052
cmp al, 0xff
je 0x1001c126
movsx ecx, byte [esi + edi]
mov cl, byte [ecx + 0x10039788]
inc esi
mov byte [ebp - 0x32], cl
cmp esi, dword [ebp - 0x30]
jae 0x1001c086
cmp cl, 0xff
je 0x1001c06e
cmp cl, 0xff
je 0x1001c126
sar cl, 4
shl al, 2
and cl, 3
or cl, al
movzx eax, cl
push eax
lea edi, [ebp - 0x2c]
call fcn.1000cea6
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x1001c126
movsx eax, al
mov al, byte [eax + 0x10039788]
mov byte [ebp - 0x31], al
cmp esi, dword [ebp - 0x30]
jae 0x1001c0c6
cmp al, 0xff
je 0x1001c0a6
cmp al, 0xff
je 0x1001c126
mov cl, al
mov al, byte [ebp - 0x32]
sar cl, 2
shl al, 4
and cl, 0xf
or cl, al
movzx eax, cl
push eax
lea edi, [ebp - 0x2c]
call fcn.1000cea6
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x1001c126
movsx eax, al
mov cl, byte [eax + 0x10039788]
cmp esi, dword [ebp - 0x30]
jae 0x1001c104
cmp cl, 0xff
je 0x1001c0e6
cmp cl, 0xff
je 0x1001c126
mov al, byte [ebp - 0x31]
shl al, 6
or al, cl
movzx eax, al
push eax
lea edi, [ebp - 0x2c]
call fcn.1000cea6
cmp esi, dword [ebp - 0x30]
jb 0x1001c04f
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push eax
call fcn.10001ee8
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10002257
mov eax, dword [ebp - 0x38]
call fcn.1001d4ad
ret

Function at 0x1001c206
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10041030]
jne 0x1001c210
repz ret
jmp fcn.1001d4cb
Function at 0x10023228
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.1001db2c
and dword [ebp - 4], 0
cmp dword [0x10044004], 0
mov ebx, eax
jne 0x100232d9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1002338a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1002338a
push eax
call fcn.1001daba
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10044004], eax
call esi
push eax
call fcn.1001daba
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10044008], eax
call esi
push eax
call fcn.1001daba
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1004400c], eax
call esi
push eax
call fcn.1001daba
pop ecx
mov dword [0x10044014], eax
test eax, eax
je 0x100232d9
push 0x10035c70
push edi
call esi
push eax
call fcn.1001daba
pop ecx
mov dword [0x10044010], eax
mov eax, dword [0x10044010]
cmp eax, ebx
je 0x10023331
cmp dword [0x10044014], ebx
je 0x10023331
push eax
call fcn.1001db35
push dword [0x10044014]
mov esi, eax
call fcn.1001db35
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10023331
test edi, edi
je 0x10023331
call esi
test eax, eax
je 0x10023328
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10023328
test byte [ebp - 0xc], 1
jne 0x10023331
or dword [ebp + 0x10], 0x200000
jmp 0x1002336a
mov eax, dword [0x10044008]
cmp eax, ebx
je 0x1002336a
push eax
call fcn.1001db35
pop ecx
test eax, eax
je 0x1002336a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1002336a
mov eax, dword [0x1004400c]
cmp eax, ebx
je 0x1002336a
push eax
call fcn.1001db35
pop ecx
test eax, eax
je 0x1002336a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10044004]
call fcn.1001db35
pop ecx
test eax, eax
je 0x1002338a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1002338c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405282
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
push str.WinMain_start__lpCmdLine_is:
call esi
mov eax, dword [esp + 0x14]
xor edi, edi
cmp dword [esp + 0x14], edi
jne 0x4052a2
mov eax, str.NULL
push eax
call esi
push str.WinMain_start__parameter_is:
call esi
push str.package.nameZoom.msipackage.versionlatestpackage.size8603kdownloadRoothttps:__launcher.zoom.us_clientactionjoinbrowserchromeconfiddGlkPXJYbVI2ZGZlVHVPUXloRzdOcGRjYUE_3Dconfno5248413577zc0mcv0.92.11227.0929stafalseinstaller.exeInstaller.exe
call esi
push 0x444
call fcn.00407475
pop ecx
cmp eax, edi
je 0x4052ce
mov edx, dword [esp + 0xc]
push eax
call fcn.0040538c
jmp 0x4052d0
xor eax, eax
push str.zoom.us_Downloader_Mutex_1.0.0.0
push edi
push 0x1f0001
mov dword [0x41ddb8], eax
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
cmp eax, edi
je 0x4052f3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4052fc
call fcn.00406405
test eax, eax
jne 0x40531c
push edi
push str.zoom.us_Boot_Downloader
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, edi
je 0x405341
push edi
push edi
push 0x7e9
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x405341
mov ecx, dword [esp + 0x14]
call fcn.004057bb
mov eax, dword [0x41ddb8]
cmp eax, edi
je 0x405334
push eax
call fcn.00405348
push str.WinMain_end
mov dword [0x41ddb8], edi
call esi
pop edi
xor eax, eax
pop esi
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 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x7d160c46
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x16bf73e0
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401040
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push ebp
push esi
mov esi, dword [esp + 0x18]
xor ebp, ebp
push edi
push 0x4285d0
push esi
mov dword [esp + 0x1c], 0xffffffff
call fcn.004045e0
mov edi, eax
add esp, 8
mov dword [esp + 0x10], edi
test edi, edi
jne 0x401095
mov eax, dword [esp + 0x20]
add eax, 0x12
push eax
push str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.00402650
add esp, 8
push ebp
call fcn.00413d6e
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebp
add esp, 0xc
ret
push ebx
mov ebx, dword [esp + 0x24]
xor eax, eax
push 0
mov ecx, dword [ebx + 4]
add ecx, dword [esi + 0x1000]
adc eax, dword [esi + 0x1004]
push eax
push ecx
push edi
call fcn.0040fff6
add esp, 0x10
test eax, eax
jns 0x4010e0
call fcn.00413d50
mov ecx, eax
lea eax, [ebx + 0x12]
push eax
push str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
push dword [ecx]
push str.fseek
call fcn.004027d0
add esp, 0x10
jmp 0x4011c2
push dword [ebx + 0xc]
call fcn.00413d89
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x401119
mov esi, dword [ebx + 0xc]
call fcn.00413d50
mov ecx, eax
lea eax, [ebx + 0x12]
push esi
push eax
push str.Failed_to_extract__s:_failed_to_allocate_data_buffer___u_bytes___n
push dword [ecx]
push str.malloc
call fcn.004027d0
add esp, 0x14
jmp 0x4011c2
cmp byte [ebx + 0x10], 1
jne 0x401131
push ebp
push 0
push ebx
push edi
call fcn.00401200
add esp, 0x10
jmp 0x4011b3
mov esi, dword [ebx + 0xc]
xor ebx, ebx
mov dword [esp + 0x10], eax
test esi, esi
je 0x401185
nop
test ebx, ebx
jb 0x401155
ja 0x40114e
cmp esi, 0x2000
jbe 0x401155
mov edi, 0x2000
jmp 0x401157
mov edi, esi
push dword [esp + 0x14]
push 1
push edi
push eax
call fcn.0040fbd2
add esp, 0x10
cmp eax, 1
jb 0x401189
mov eax, dword [esp + 0x10]
sub esi, edi
sbb ebx, 0
add eax, edi
mov dword [esp + 0x10], eax
test ebx, ebx
ja 0x40114e
jb 0x401185
test esi, esi
jne 0x401140
xor eax, eax
jmp 0x4011af
call fcn.00413d50
mov ecx, eax
mov eax, dword [esp + 0x24]
add eax, 0x12
push eax
push str.Failed_to_extract__s:_failed_to_read_data_chunk__n
push dword [ecx]
push str.fread
call fcn.004027d0
add esp, 0x10
or eax, 0xffffffff
mov edi, dword [esp + 0x14]
test eax, eax
je 0x4011c2
push ebp
call fcn.00413d6e
add esp, 4
xor ebp, ebp
push edi
call fcn.0040f971
add esp, 4
pop ebx
test ebp, ebp
je 0x4011e1
push dword [esp + 0x24]
push ebp
call fcn.004046f0
add esp, 8
mov dword [esp + 0x14], eax
push ebp
call fcn.00413d6e
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebp
add esp, 0xc
ret