joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d2df
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0xa0]
cmp eax, 0xffffffff
je 0x40d38d
push ebp
push esi
push edi
push 0x40
pop edi
cmp eax, edi
jbe 0x40d311
push ebx
lea eax, [ebx + 0x40]
push eax
call fcn.0040d4cd
mov dword [ebx + 0xa0], 0x14
cmp dword [esp + 0x20], 0
je 0x40d331
mov eax, dword [esp + 0x24]
cmp byte [eax], 0
je 0x40d331
mov esi, dword [esp + 0x20]
lea ebp, [ebx + 0x40]
push 0x18
pop ecx
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
jmp 0x40d369
mov ecx, dword [ebx + 0xa0]
mov eax, edi
sub eax, ecx
xor esi, esi
push eax
push esi
lea eax, [ecx + ebx]
push eax
call fcn.00413c20
add esp, 0xc
xor byte [esi + ebx], 0x36
inc esi
cmp esi, edi
jb 0x40d34b
lea ebp, [ebx + 0x40]
push ebp
call fcn.00406096
push edi
push ebx
push ebp
call fcn.004060c7
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x20], 0
je 0x40d383
cmp byte [eax], 0
jne 0x40d383
mov edi, dword [esp + 0x20]
mov esi, ebp
push 0x18
pop ecx
rep movsd dword es:[edi], dword [esi]
mov byte [eax], 1
or dword [ebx + 0xa0], 0xffffffff
pop edi
pop esi
pop ebp
cmp dword [esp + 0xc], 0
je 0x40d3a5
push dword [esp + 0xc]
lea eax, [ebx + 0x40]
push dword [esp + 0xc]
push eax
call fcn.004060c7
pop ebx
ret 0x14

Function at 0x40d3a9
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x30]
xor esi, esi
cmp dword [edi + 0xa0], 0xffffffff
je 0x40d3c9
push esi
push esi
push edi
push esi
push esi
call fcn.0040d2df
lea eax, [esp + 0x10]
push eax
lea ebx, [edi + 0x40]
push ebx
call fcn.0040d4cd
mov ebp, dword [esp + 0x34]
test ebp, ebp
je 0x40d3f3
mov eax, dword [esp + 0x38]
cmp byte [eax], 0
je 0x40d3f3
push 0x18
pop ecx
mov esi, ebp
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
jmp 0x40d410
xor byte [esi + edi], 0x6a
inc esi
cmp esi, 0x40
jb 0x40d3f3
push ebx
call fcn.00406096
push 0x40
push edi
push ebx
call fcn.004060c7
mov eax, dword [esp + 0x38]
test ebp, ebp
je 0x40d425
cmp byte [eax], 0
jne 0x40d425
push 0x18
pop ecx
mov esi, ebx
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov byte [eax], 1
push 0x14
lea eax, [esp + 0x14]
push eax
push ebx
call fcn.004060c7
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.0040d4cd
cmp dword [esp + 0x2c], 0
pop edi
pop esi
pop ebp
pop ebx
jbe 0x40d45d
push dword [esp + 0x1c]
lea eax, [esp + 4]
push eax
push dword [esp + 0x20]
call fcn.00414440
add esp, 0xc
add esp, 0x14
ret 0x14
Function at 0x40e4bb
Capabilities:
Hide graphical window

Disassembly:
mov al, byte [esp + 0x14]
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x20]
mov ebx, ecx
push esi
push 0
push ebp
mov dword [ebx + 8], ebp
mov byte [ebx + 0x26], al
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esp + 0x20]
mov ecx, ebx
call fcn.0040e20c
cmp dword [ebx + 0x1c], 0
je 0x40e4f4
push dword [ebx + 0x1c]
call fcn.00417e5e
pop ecx
cmp dword [esp + 0x28], 0
jne 0x40e4ff
xor eax, eax
jmp 0x40e509
push dword [esp + 0x28]
call fcn.0041b994
pop ecx
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x20], eax
lea eax, [esp + 0xc]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetParent]
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp dword [ebx + 4], 0
je 0x40e545
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
push edi
push ebx
push dword [ebx]
sub esi, eax
lea edi, [eax + 1]
push 0
push ebp
sub esi, 2
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
push eax
push esi
push dword [esp + 0x2c]
xor esi, esi
push edi
push 0x40000000
push esi
push 0x427f50
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx + 4], eax
pop edi
cmp dword [ebx + 0x10], esi
jne 0x40e5c7
test ebp, ebp
je 0x40e5dd
cmp dword [ebx + 0x20], esi
jne 0x40e5dd
cmp dword [ebx + 0x1c], esi
je 0x40e5dd
push dword [ebx + 0x1c]
mov ecx, ebx
call fcn.0040e2de
mov esi, eax
test esi, esi
je 0x40e5dd
push 5
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
call fcn.00417e5e
pop ecx
jmp 0x40e5dd
test eax, eax
je 0x40e5dd
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14
Function at 0x40e92a
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 0x428ddc
push 1
push ebx
push 0x428ecc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40e9fb
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x428ebc
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x40e9f2
cmp byte [ebp + 8], bl
je 0x40e97d
mov eax, dword [ebp - 8]
push 2
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
cmp dword [ebp + 0x18], ebx
je 0x40e99a
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
push ebx
mov ecx, dword [eax]
cmp dword [ebp + 0x1c], ebx
jne 0x40e9ac
push 0x4272a4
jmp 0x40e9af
push dword [ebp + 0x1c]
push eax
call dword [ecx + 0x44]
cmp dword [ebp + 0x20], ebx
je 0x40e9c4
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
cmp dword [ebp + 0x14], ebx
je 0x40e9d5
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 8]
push 1
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
js 0x40e9e9
mov bl, 1
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x40ead2
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8
Function at 0x40eb14
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push esi
push 0x42815c
push dword [esp + 0x10]
push dword [0x44cb94]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x40ec0a
push ebx
push esi
push dword [0x44cb94]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x40eb67
push esi
push dword [0x44cb94]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40eb67
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40eb6e
xor eax, eax
jmp 0x40ec09
push ebp
push edi
push ebx
xor ebp, ebp
push 2
mov dword [esp + 0x18], ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x40ec03
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x40ebfc
push ebx
push esi
push eax
call fcn.00414440
add esp, 0xc
mov dword [esp + 0x18], ebp
lea eax, [esp + 0x18]
push eax
push ebp
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x40ebf5
push ebp
push dword [esp + 0x1c]
call fcn.0040eaa9
mov ecx, dword [esp + 0x18]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
je 0x40ebf5
mov ecx, dword [esi + 8]
mov dword [esi + 8], ebp
test ecx, ecx
jne 0x40ebed
push 0xffffff
lea eax, [esp + 0x14]
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x40ebed
mov dword [esi + 8], eax
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret 4

Function at 0x40f0b9
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1024
call fcn.00412bc0
cmp word [0x44dbca], 0
je 0x40f155
push esi
push 6
push dword [0x4314dc]
mov esi, 0x44dbca
push esi
call fcn.00403614
push eax
call fcn.004079ee
test eax, eax
jne 0x40f154
push 0x44cbc8
call fcn.0040ef67
push 0x800
push esi
lea eax, [ebp - 0x1024]
push eax
call fcn.004065e7
lea eax, [ebp - 0x1024]
push eax
call fcn.00417e43
xor ecx, ecx
push 0x1e
push ecx
mov word [ebp + eax*2 - 0x1022], cx
lea eax, [ebp - 0x20]
push eax
call fcn.00413c20
add esp, 0x10
mov dword [ebp - 0x1c], 3
push 0x14
pop eax
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x1024]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40f1b1
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
cmp dword [0x4314f4], 0
push ebx
push esi
push edi
mov ebx, 0x400
jne 0x40f1fc
push 0x64
lea eax, [ebp - 0x12c]
push eax
push 0xf
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ax, word [ebp - 0x12c]
mov word [0x463478], ax
xor eax, eax
mov word [0x46347a], ax
mov dword [0x4314f4], 0x463478
push 0x32
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004064b6
mov edi, dword [ebp + 0x10]
xor eax, eax
mov esi, dword [ebp + 0x14]
push esi
push edi
push 0x4314e4
mov word [edi], ax
lea eax, [ebp - 0x64]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
xor eax, eax
mov word [edi + esi*2 - 2], ax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40f464
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.00412bc0
cmp byte [0x44ebd0], 0
je 0x40f512
push 0x800
lea eax, [ebp - 0x200c]
push eax
push dword [ebp + 8]
call fcn.004108d2
lea eax, [ebp - 8]
push eax
push 1
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40f512
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x1000
push eax
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x200c]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40f509
mov eax, dword [ebp - 4]
mov ecx, 0x7ff
shr eax, 1
mov dword [ebp - 4], eax
cmp eax, ecx
jb 0x40f4ed
mov eax, ecx
push dword [ebp + 0xc]
xor ecx, ecx
mov word [ebp + eax*2 - 0x100c], cx
lea eax, [ebp - 0x100c]
push eax
push dword [ebp + 8]
call fcn.004065e7
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 8
Function at 0x40f5be
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x2004
call fcn.00412bc0
mov ecx, dword [esp + 0x2014]
push ebx
xor ebx, ebx
push esi
test ecx, ecx
je 0x40f5d9
mov byte [ecx], bl
mov edx, dword [esp + 0x2020]
test edx, edx
je 0x40f5e6
mov byte [edx], bl
mov esi, dword [esp + 0x2010]
test esi, esi
je 0x40f6a9
movzx eax, word [esi]
test ax, ax
je 0x40f6a9
push ebp
mov ebp, dword [esp + 0x2018]
push edi
mov edi, dword [esp + 0x2020]
mov dword [esp + 0x10], ebx
movzx eax, ax
add esi, 2
cmp eax, 0x3d
jne 0x40f633
test edi, edi
je 0x40f63d
test ebx, ebx
jne 0x40f63d
test ecx, ecx
je 0x40f62f
mov byte [ecx], 1
mov ebx, ebp
jmp 0x40f654
cmp eax, 0xd
je 0x40f667
cmp eax, 0xa
je 0x40f66a
mov word [ebp], ax
add ebp, 2
mov eax, dword [esp + 0x202c]
add eax, 0xfffffffe
cmp dword [esp + 0x10], eax
jge 0x40f662
movzx eax, word [esi]
inc dword [esp + 0x10]
test ax, ax
jne 0x40f615
jmp 0x40f66a
mov byte [edx], 1
jmp 0x40f66a
add esi, 2
xor eax, eax
mov word [ebp], ax
test edi, edi
je 0x40f6a3
mov word [edi], ax
test ebx, ebx
je 0x40f6a3
push 0x1000
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push dword [esp + 0x202c]
lea eax, [esp + 0x18]
push eax
push edi
call fcn.004065e7
xor eax, eax
mov word [ebx], ax
pop edi
mov eax, esi
pop ebp
jmp 0x40f6ab
xor eax, eax
pop esi
pop ebx
add esp, 0x2004
ret 0x18

Function at 0x40f6b6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push eax
push dword [ebp + 0xc]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov ebx, eax
neg ebx
sbb bl, bl
add bl, 1
je 0x40f705
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 4]
dec eax
neg eax
sbb al, al
lea ebx, [eax + 1]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
jmp 0x40f70d
mov eax, dword [ebp + 8]
xor ecx, ecx
mov word [eax], cx
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x411aed
Capabilities:
Hide graphical window

Disassembly:
and dword [0x44cb90], 0
push 1
push dword [esp + 8]
mov byte [0x44cbb8], 1
mov byte [0x44cbb9], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 2
push dword [esp + 0xc]
call fcn.0040113d
cmp dword [0x44cba0], 0
jne 0x411b2d
cmp byte [0x44cbbe], 0
je 0x411b36
cmp dword [0x44cbb4], 0
jne 0x411b49
push 0
push 1
push 0x111
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
ret 4

Function at 0x411c1c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00412bc0
cmp byte [0x44ebd0], 0
je 0x411cab
cmp word [0x44ebd2], 0
je 0x411cab
push esi
push 0x800
lea eax, [ebp - 0x1008]
push eax
push 0x44ebd2
call fcn.004108d2
lea eax, [ebp - 8]
xor esi, esi
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x411caa
push dword [ebp + 8]
call fcn.00417e43
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x1008]
push 1
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x411cb1
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.00412bc0
push esi
push dword [ebp + 8]
push str.sfxcmd
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x1000
lea eax, [ebp - 0x2000]
push eax
push dword [ebp + 8]
call fcn.00406323
mov esi, eax
test esi, esi
je 0x411d09
movzx ecx, word [esi]
push ecx
jmp 0x411cf4
add esi, 2
movzx eax, word [esi]
push eax
call fcn.0040643a
test al, al
jne 0x411ced
push esi
push str.sfxpar
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40ce09
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422234]
jne 0x40ce13
repz ret
jmp fcn.00413639

Function at 0x413b7e
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.004104e0
and dword [ebp - 4], 0
cmp dword [0x423e1c], 0
mov ebx, eax
jne 0x413c2f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x413ce0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x413ce0
push eax
call fcn.0041046e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x423e1c], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x423e20], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x423e24], eax
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e2c], eax
test eax, eax
je 0x413c2f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e28], eax
mov eax, dword [0x423e28]
cmp eax, ebx
je 0x413c87
cmp dword [0x423e2c], ebx
je 0x413c87
push eax
call fcn.004104e9
push dword [0x423e2c]
mov esi, eax
call fcn.004104e9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413c87
test edi, edi
je 0x413c87
call esi
test eax, eax
je 0x413c7e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413c7e
test byte [ebp - 0xc], 1
jne 0x413c87
or dword [ebp + 0x10], 0x200000
jmp 0x413cc0
mov eax, dword [0x423e20]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x413cc0
mov eax, dword [0x423e24]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x423e1c]
call fcn.004104e9
pop ecx
test eax, eax
je 0x413ce0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x413ce2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x7ea839d5
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x21551714
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401b70
Capabilities:
Parse credit card information

Disassembly:
push ebp
push edi
push esi
mov esi, eax
push ebx
movzx eax, dl
sub esp, 0x2c
movzx edx, byte [esi]
mov byte [esp + 0x17], al
mov byte [esp + 0x15], 0
mov byte [esp + 0x16], 0
mov dword [esp + 0x1c], eax
cmp dl, 9
je 0x401c82
cmp dl, 0x20
je 0x401c82
cmp dl, 0x21
je 0x401d43
and edx, 0xfffffffd
cmp dl, 0x2c
jne 0x401bbc
add esi, 1
mov byte [esp + 0x16], 1
mov ebx, esi
jmp 0x401bc3
add ebx, 1
movzx eax, byte [ebx]
movzx edx, al
test word [edx + edx + 0x4d06e0], 0x204
jne 0x401bc0
lea edx, [eax - 0x2b]
cmp dl, 3
jbe 0x401bc0
cmp al, 0x3d
je 0x401bc0
cmp al, 0x40
je 0x401bc0
cmp al, 0x2a
mov edi, ebx
je 0x401d66
cmp al, 0x20
jne 0x401d7a
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
je 0x401bf7
cmp al, 0x20
je 0x401bf7
cmp byte [esp + 0x16], 0
jne 0x401c71
mov eax, dword [0x4d70e0]
test eax, eax
jle 0x401c71
mov ebp, dword [0x4d70e4]
shl eax, 4
sub edi, esi
mov dword [esp + 0x18], ebx
add eax, ebp
mov ebx, ebp
mov dword [esp + 0x10], eax
mov ebp, esi
nop
mov esi, dword [ebx]
mov dword [esp + 8], edi
mov dword [esp + 4], ebp
mov dword [esp], esi
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x401c64
cmp byte [esp + 0x15], 0
jne 0x401c53
cmp byte [esi + edi], 0
jne 0x401c64
cmp byte [ebx + 0xc], 0
jne 0x401c60
cmp byte [esp + 0x17], 0
je 0x401c64
mov byte [ebx + 0xd], 1
add ebx, 0x10
cmp ebx, dword [esp + 0x10]
jne 0x401c30
mov ebx, dword [esp + 0x18]
movzx ecx, byte [ebx]
test cl, cl
jne 0x401c8e
add esp, 0x2c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
movzx edx, byte [esi + 1]
add esi, 1
jmp 0x401b91
movzx edx, byte [ebx + 1]
lea eax, [ebx + 1]
test dl, dl
je 0x401ccc
cmp cl, 0x26
je 0x401cd8
cmp cl, 0x7c
je 0x401cd8
cmp cl, 0x3a
jne 0x401ccc
cmp dl, 0x3b
je 0x401cc8
test dl, dl
nop
je 0x401cc8
cmp dl, 0x7d
je 0x401cdf
cmp dl, 0x25
je 0x401d03
movzx edx, byte [eax + 1]
add eax, 1
cmp dl, 0x3b
jne 0x401cad
test dl, dl
jne 0x401cdf
mov ebx, eax
add esp, 0x2c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, eax
jmp 0x401b91
movzx edx, byte [eax + 1]
lea esi, [eax + 1]
test dl, dl
je 0x401da5
cmp byte [eax], 0x3b
je 0x401b91
add esp, 0x2c
mov ebx, esi
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
movzx edx, byte [eax + 1]
lea ecx, [eax + 1]
cmp dl, 0x3c
je 0x401d1d
cmp dl, 0x7b
je 0x401d1d
cmp dl, 0x57
je 0x401d31
mov eax, ecx
jmp 0x401ca8
mov edx, dword [esp + 0x1c]
add eax, 2
call fcn.00401b70
movzx edx, byte [eax]
jmp 0x401ca8
cmp byte [eax + 2], 0x7b
je 0x401d87
mov eax, ecx
mov edx, 0x57
jmp 0x401ca8
movzx edx, byte [esi + 1]
lea eax, [esi + 1]
mov esi, eax
cmp dl, 0x20
jne 0x401d9b
add esi, 1
movzx edx, byte [esi]
cmp dl, 9
je 0x401d51
cmp dl, 0x20
je 0x401d51
jmp 0x401bac
movzx eax, byte [edi + 1]
add ebx, 1
mov byte [esp + 0x15], 1
cmp al, 0x20
je 0x401bf7
cmp al, 9
je 0x401bf7
jmp 0x401c05
mov edx, dword [esp + 0x1c]
add eax, 3
call fcn.00401b70
movzx edx, byte [eax]
jmp 0x401ca8
cmp dl, 9
je 0x401d51
jmp 0x401bac
mov eax, esi
mov ebx, eax
jmp 0x401cce
Function at 0x4028c0
Capabilities:
Read file on windows

Disassembly:
push ebp
push edi
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x9c
mov dword [esp], 0x2000
call fcn.004534b0
mov dword [esp], ebx
mov dword [esp + 4], 0
mov ebp, eax
call sub.msvcrt.dll__open_1
mov dword [esp + 4], 0
mov dword [esp], esi
mov ebx, eax
call sub.msvcrt.dll__open_1
mov dword [esp + 0x18], eax
shr eax, 0x1f
test al, al
jne 0x402912
mov eax, ebx
shr eax, 0x1f
test al, al
je 0x402940
mov dword [esp], ebp
call sub.msvcrt.dll_free
mov dword [esp], ebx
call sub.msvcrt.dll__close_1
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sub.msvcrt.dll__close_1
xor eax, eax
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x30]
mov esi, dword [sym.imp.msvcrt.dll__fstati64]
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
test eax, eax
js 0x402912
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call esi
test eax, eax
js 0x402912
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
xor edx, edi
xor eax, esi
or edx, eax
jne 0x402912
mov eax, edi
or eax, esi
je 0x402a52
lea eax, [ebp + 0x1000]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], ebx
cmp esi, 0x1000
mov ebp, esi
jg 0x4029e0
mov ebx, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sub.msvcrt.dll__read_1
cmp eax, ebp
je 0x402a00
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
jmp 0x402912
mov ebp, 0x1000
mov ebx, 0x1000
mov dword [esp + 0x20], 0x1000
mov dword [esp + 0x24], 0
jmp 0x4029b4
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sub.msvcrt.dll__read_1
cmp ebp, eax
jne 0x4029d0
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x4029d0
sub esi, dword [esp + 0x20]
sbb edi, dword [esp + 0x24]
mov eax, edi
or eax, esi
jne 0x4029a0
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
mov dword [esp], ebp
call sub.msvcrt.dll_free
mov dword [esp], ebx
call sub.msvcrt.dll__close_1
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sub.msvcrt.dll__close_1
mov eax, 1
jmp 0x402930
Function at 0x404fd0
Capabilities:
Query environment variable

Disassembly:
push edi
mov edi, ecx
push esi
push ebx
sub esp, 0x10
mov ebx, dword [esp + 0x20]
mov dword [esp], ebx
call sub.msvcrt.dll_getenv
cmp byte [edi + 1], 0
mov esi, eax
je 0x40500c
mov dword [esp + 0xc], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.env_manager::getenv___s______s_n
add eax, 0x40
mov dword [esp], eax
call fcn.0047dbe0
add esp, 0x10
mov eax, esi
pop ebx
pop esi
pop edi
ret 4