joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b106
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
push edi
call dword [0x44b0ec]
mov esi, eax
test esi, esi
jne 0x40b15a
call dword [0x44b0e8]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov eax, 0x80004005
test edi, edi
cmovns edi, eax
push edi
push 0x140
push str.section.cpp
call fcn.004037d3
push str.Failed_to_get_module_handle_to_process.
push edi
call fcn.0044012f
pop ecx
pop ecx
jmp 0x40b2a7
mov eax, 0x5a4d
cmp ax, word [esi]
je 0x40b183
mov esi, 0x8007000d
push esi
push 0x14a
push str.section.cpp
mov edi, esi
call fcn.004037d3
push str.Failed_to_find_valid_DOS_image_header_in_buffer.
push esi
jmp 0x40b14e
mov ecx, dword [esi + 0x3c]
cmp dword [ecx + esi], 0x4550
je 0x40b1ad
mov esi, 0x8007000d
push esi
push 0x155
push str.section.cpp
mov edi, esi
call fcn.004037d3
push str.Failed_to_find_valid_NT_image_header_in_buffer.
jmp 0x40b180
movzx eax, word [ecx + esi + 0x14]
push ebx
add eax, ecx
lea ebx, [esi + 0x18]
push 8
add ebx, eax
push 0x44efe4
push ebx
call fcn.0042f919
add esp, 0xc
test eax, eax
je 0x40b1f2
mov eax, dword [esi + 0x3c]
movzx ecx, word [eax + esi + 6]
xor eax, eax
inc eax
cmp eax, ecx
jae 0x40b219
add ebx, 0x28
inc eax
cmp dword [ebx], 0x7869772e
jne 0x40b1d9
cmp dword [ebx + 4], 0x6e727562
jne 0x40b1d9
cmp dword [ebx + 0x10], 0x34
jae 0x40b237
mov esi, 0x8007000d
push esi
push 0x17a
push str.section.cpp
mov edi, esi
call fcn.004037d3
push dword [ebx + 0x10]
push str.Failed_to_read_section_info__data_to_short:__u
jmp 0x40b261
mov esi, 0x8007000d
push esi
push 0x16e
push str.section.cpp
mov edi, esi
call fcn.004037d3
push str.Failed_to_find_Burn_section.
jmp 0x40b29e
mov ebx, dword [ebx + 0xc]
add ebx, esi
cmp dword [ebx + 4], 2
je 0x40b26c
mov esi, 0x8007000d
push esi
push 0x184
push str.section.cpp
mov edi, esi
call fcn.004037d3
push dword [ebx + 4]
push str.Failed_to_read_section_info__unsupported_version:__08x
push esi
call fcn.0044012f
add esp, 0xc
jmp 0x40b2a6
mov edx, dword [ebp + 8]
mov ecx, edi
mov eax, dword [edx + ecx*4]
cmp eax, dword [ebx + ecx*4 + 8]
jne 0x40b282
inc ecx
cmp ecx, 4
jne 0x40b271
jmp 0x40b2a6
mov esi, 0x8007000d
push esi
push 0x18a
push str.section.cpp
mov edi, esi
call fcn.004037d3
push str.Bundle_guid_didnt_match_the_guid_in_the_PE_Header_in_memory.
push esi
call fcn.0044012f
pop ecx
pop ecx
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x444932
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push dword [ebp + 8]
mov esi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
call fcn.004494f0
mov ebx, eax
test ebx, ebx
jne 0x444987
call dword [0x44b0e8]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jns 0x444987
push esi
push 0x115
push str.fileutil.cpp
call fcn.004037d3
jmp 0x444a2e
push ebx
push edi
call dword [0x44b298]
mov edi, eax
test edi, edi
jne 0x4449a2
mov esi, 0x8007000e
push esi
push 0x119
jmp 0x444978
push edi
push ebx
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.00449500
test eax, eax
jne 0x4449dd
call dword [0x44b0e8]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jns 0x4449dd
push esi
push 0x11d
push str.fileutil.cpp
call fcn.004037d3
jmp 0x444a27
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x44b790
push edi
call fcn.00449510
test eax, eax
jne 0x444a14
call dword [0x44b0e8]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jns 0x444a14
push esi
push 0x122
jmp 0x4449d1
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [edx + 8]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [edx + 0xc]
mov dword [ecx], edx
push edi
call dword [0x44b29c]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4461fa
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push esi
push edi
mov edi, dword [ebp + 0x10]
push 0
push 0
push dword [edi + 4]
push dword [edi]
push dword [ebp + 0xc]
call fcn.004447d3
mov esi, eax
test esi, esi
js 0x446350
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 8]
call dword [0x46a974]
test eax, eax
je 0x446321
cmp dword [ebp - 4], 0
je 0x44634f
xor ebx, ebx
and dword [ebp + 0x10], ebx
push 0
lea eax, [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
sub eax, ebx
push eax
mov eax, dword [ebp + 0x20]
add eax, ebx
push eax
push dword [ebp + 0xc]
call dword [0x44b130]
test eax, eax
je 0x4462fb
add ebx, dword [ebp + 0x10]
cmp dword [ebp + 0x10], 0
je 0x44627f
cmp ebx, dword [ebp - 4]
jb 0x44624e
add dword [edi], ebx
push 0
pop eax
adc dword [edi + 4], eax
cmp dword [ebp + 0x14], 0xffffffff
je 0x4462c9
push eax
push eax
push eax
push eax
push dword [ebp + 0x14]
mov ebx, eax
mov dword [ebp - 8], eax
call fcn.004447d3
test eax, eax
js 0x4462c9
push 0
lea eax, [ebp - 8]
push eax
push 8
pop eax
sub eax, ebx
push eax
lea eax, [edi + ebx*8]
push eax
push dword [ebp + 0x14]
call dword [0x44b130]
add ebx, dword [ebp - 8]
cmp dword [ebp - 8], 0
je 0x4462c9
cmp ebx, 8
jb 0x4462a2
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x4462ef
cmp dword [eax], 0
je 0x4462ef
push dword [ebp + 0xc]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [edi + 4]
push dword [edi]
push eax
call fcn.00445b46
mov esi, eax
test esi, esi
js 0x44634f
cmp dword [ebp - 4], 0
jne 0x446224
jmp 0x44634f
call dword [0x44b0e8]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x1a6
jmp 0x446345
call dword [0x44b0e8]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x19a
push str.dlutil.cpp
call fcn.004037d3
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x24
Function at 0x44635a
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
or dword [ebp - 0xc], 0xffffffff
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
push esi
push edi
push eax
push dword [ebx]
mov dword [ebp - 8], eax
mov edi, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 8]
push eax
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x20], xmm0
call fcn.004021a5
mov esi, eax
test esi, esi
js 0x4464c3
xor eax, eax
push eax
push eax
push eax
push eax
push str.Burn
call dword [0x46a98c]
mov edi, eax
test edi, edi
jne 0x4463ea
call dword [0x44b0e8]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x84
push str.dlutil.cpp
call fcn.004037d3
jmp 0x4464c3
lea eax, [ebp - 4]
push eax
push 0x78
push str.DownloadTimeout
push str.WiXBurn
call fcn.004456b2
mov eax, dword [ebp - 4]
test eax, eax
je 0x446436
mov esi, dword [0x46a970]
imul eax, eax, 0x3e8
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 2
push edi
call esi
push 4
lea eax, [ebp - 4]
push eax
push 6
push edi
call esi
push 4
lea eax, [ebp - 4]
push eax
push 5
push edi
call esi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x1c]
lea eax, [ebp - 8]
push dword [ebx + 8]
push dword [ebx + 4]
push eax
push edi
call fcn.00445bbf
mov esi, eax
test esi, esi
js 0x4464c3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x14]
call fcn.00445c68
push dword [ebp + 0x1c]
lea eax, [ebp - 8]
push dword [ebp + 0x18]
push dword [ebp - 0xc]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 0x14]
push dword [ebx + 8]
push dword [ebx + 4]
push eax
push edi
call fcn.00445916
mov esi, eax
test esi, esi
js 0x4464b4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4464b4
xor ecx, ecx
cmp word [eax], cx
je 0x4464b4
push eax
call dword [0x44b170]
cmp dword [ebp - 0xc], 0xffffffff
je 0x4464c3
push dword [ebp - 0xc]
call dword [0x44b0d4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4464d0
push eax
call fcn.004454ef
test edi, edi
je 0x4464db
push edi
call dword [0x46a96c]
cmp dword [ebp - 8], 0
je 0x4464e9
push dword [ebp - 8]
call fcn.004454ef
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x401ad0
Capabilities:
Read .ini file

Disassembly:
push ecx
push esi
push edi
push str..Main_gamex.ini
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.00403020
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x100
lea ecx, [esi + 0xd6]
push ecx
push 0
push str.Name
push str.AppName
call edi
test eax, eax
jne 0x401b32
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401b2c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov ecx, dword [esp + 8]
push ecx
push 0x100
lea edx, [esi + 0xa4]
push edx
push 0
push str.Name
push str.Main
call edi
test eax, eax
jne 0x401b6b
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x401b20
mov ecx, dword [esp + 8]
push ecx
push 0x100
add esi, 0x108
push esi
push 0
push str.Name
push str.Params
call edi
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401baa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, 1
pop esi
pop ecx
ret
Function at 0x402dc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402dd9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402e14
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x402e10
lea ebx, [ebx]
cmp esi, eax
jae 0x402e14
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402e00
cmp esi, eax
jb 0x402e1a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x408235
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x408259
cmp dword [edi + 0x54], 0
jne 0x408259
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00406d5a
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004081f6
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4095dd
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x409608
call fcn.00406d5a
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
jne 0x40962b
push eax
push dword [esi + 4]
call fcn.00409563
push esi
push eax
mov ecx, 0x4392e8
call fcn.00409217
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x4109f5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x410a3c
call fcn.00406d5a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x410a3c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x410a58
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041056f
mov esi, eax
test edi, edi
je 0x410a56
test ebx, ebx
je 0x410a56
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x415719
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x437c84]
jne 0x415723
repz ret
jmp fcn.0041b11f
Function at 0x415940
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x415971
call fcn.00417011
mov dword [eax], esi
call fcn.00416ffe
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0041b6cc
add esp, 0x14
push 0x16
pop eax
jmp 0x4159c6
test dword [ebp + 0xc], 0xfffffff9
jne 0x41594d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41599e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00417024
pop ecx
call fcn.00416ffe
mov eax, dword [eax]
jmp 0x4159c6
test al, 0x10
jne 0x4159c4
test al, 1
je 0x4159c4
test byte [ebp + 0xc], 2
je 0x4159c4
call fcn.00417011
mov dword [eax], 5
call fcn.00416ffe
mov dword [eax], 0xd
jmp 0x415995
xor eax, eax
pop esi
pop ebp
ret

Function at 0x425d9e
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.0041bad7
and dword [ebp - 4], 0
cmp dword [0x43ba10], 0
mov ebx, eax
jne 0x425e4f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x425f00
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x43021c
push edi
call esi
test eax, eax
je 0x425f00
push eax
call fcn.0041ba65
mov dword [esp], 0x43020c
push edi
mov dword [0x43ba10], eax
call esi
push eax
call fcn.0041ba65
mov dword [esp], 0x4301f8
push edi
mov dword [0x43ba14], eax
call esi
push eax
call fcn.0041ba65
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43ba18], eax
call esi
push eax
call fcn.0041ba65
pop ecx
mov dword [0x43ba20], eax
test eax, eax
je 0x425e4f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041ba65
pop ecx
mov dword [0x43ba1c], eax
mov eax, dword [0x43ba1c]
cmp eax, ebx
je 0x425ea7
cmp dword [0x43ba20], ebx
je 0x425ea7
push eax
call fcn.0041bae0
push dword [0x43ba20]
mov esi, eax
call fcn.0041bae0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x425ea7
test edi, edi
je 0x425ea7
call esi
test eax, eax
je 0x425e9e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x425e9e
test byte [ebp - 0xc], 1
jne 0x425ea7
or dword [ebp + 0x10], 0x200000
jmp 0x425ee0
mov eax, dword [0x43ba14]
cmp eax, ebx
je 0x425ee0
push eax
call fcn.0041bae0
pop ecx
test eax, eax
je 0x425ee0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x425ee0
mov eax, dword [0x43ba18]
cmp eax, ebx
je 0x425ee0
push eax
call fcn.0041bae0
pop ecx
test eax, eax
je 0x425ee0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43ba10]
call fcn.0041bae0
pop ecx
test eax, eax
je 0x425f00
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x425f02
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401290
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strcmp
test eax, eax
je 0x401360
mov dword [esp + 4], 0x4031b0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401360
mov dword [esp + 4], 0x4031b3
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x401360
mov eax, dword [ebp - 4]
mov dword [esp], eax
call sym._feof
test eax, eax
jne 0x401341
mov eax, dword [ebp - 4]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 1
lea eax, [ebp - 9]
mov dword [esp], eax
call sym._fread
mov eax, dword [ebp - 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 1
lea eax, [ebp - 9]
mov dword [esp], eax
call sym._fwrite
jmp 0x4012ec
mov eax, dword [ebp - 4]
mov dword [esp], eax
call sym._fclose
mov eax, dword [ebp - 8]
mov dword [esp], eax
call sym._fclose
mov dword [ebp - 0x10], 0
jmp 0x401367
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
leave
ret

Function at 0x40136c
Capabilities:
Execute command
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
and esp, 0xfffffff0
mov eax, 0
add eax, 0xf
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.004018c0
call sym.___main
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 2
jg 0x4013ee
mov dword [esp + 4], 0x4031b6
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0x402020]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 8], eax
mov eax, dword [section..data]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4031b8
mov eax, dword [ebp - 8]
mov dword [esp], eax
call sym._fprintf
mov eax, dword [ebp - 8]
mov dword [esp], eax
call sym._fclose
lea eax, [ebp - 0xc]
inc dword [eax]
jmp 0x40139d
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 6
jg 0x40146b
mov dword [esp + 4], 0x4031b0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0x402048]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401464
mov eax, dword [ebp - 4]
mov dword [esp], eax
call sym._fclose
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 5
jg 0x40145d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax*4 + 0x402048]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0x402048]
mov dword [esp], eax
call sym.copy_char__char_
lea eax, [ebp - 0x10]
inc dword [eax]
jmp 0x401430
mov dword [ebp - 0xc], 7
lea eax, [ebp - 0xc]
inc dword [eax]
jmp 0x4013f5
mov eax, dword [str.reg_add__HKLMSOFTWAREMicrosoftWindowsCurrentVersionRun___v_SVCHOST__d_C:Windows_systemSVCHOST.exe__f]
mov dword [esp], eax
call sym._system
mov eax, 0
leave
ret

Function at 0x401ab0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.___do_sjlj_init
Function at 0x10026a7
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
xor eax, eax
inc eax
cmp dword [0x1005338], eax
mov dword [ebp - 8], 0x37
mov dword [ebp - 0xc], eax
jl 0x100272a
push ebx
push esi
mov ebx, 0x1005360
xor esi, esi
inc esi
cmp dword [0x1005334], esi
mov dword [ebp - 4], 0xc
jl 0x1002713
push 0xcc0020
xor eax, eax
mov al, byte [ebx + esi]
push 0
push 0
and eax, 0x1f
push dword [eax*4 + 0x1005a20]
push 0x10
push 0x10
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
add dword [ebp - 4], 0x10
inc esi
cmp esi, dword [0x1005334]
jle 0x10026db
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add dword [ebp - 8], 0x10
add ebx, 0x20
cmp eax, dword [0x1005338]
jle 0x10026c9
pop esi
pop ebx
leave
ret 4

Function at 0x1002d55
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push 4
push 0
push dword [eax*4 + 0x10050d0]
push dword [0x1005950]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x1002d7a
Capabilities:
Set registry value

Disassembly:
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0xc]
mov eax, dword [esp + 0xc]
push 1
push 0
push dword [eax*4 + 0x10050d0]
push dword [0x1005950]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x10040fb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push 0x10013b0
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1004153
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x10013ec
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1004146
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1004155
xor eax, eax
pop esi
leave
ret 4

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40301c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x403028
push 0x403024
push 0x403020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x403028]
push dword [0x403024]
push dword [0x403020]
mov dword [0x403014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret
Function at 0x40a3a0
Capabilities:
Parse credit card information

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, eax
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
movzx ecx, byte [ebx]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
or eax, edx
test al, 1
je 0x40a3cb
inc ebx
jmp 0x40a3b3
cmp cl, 0x21
je 0x40a3e2
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
or eax, edx
test al, 1
je 0x40a3f8
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
or eax, edx
test al, 1
jne 0x40a3e2
cmp cl, 0x2e
je 0x40a446
mov dword [esp + 0x18], ebx
jmp 0x40a410
movzx eax, cl
movzx eax, word [eax + eax + 0x417650]
test eax, 0x204
jne 0x40a440
cmp cl, 0x2d
je 0x40a440
cmp cl, 0x2b
je 0x40a440
cmp cl, 0x3d
je 0x40a440
cmp cl, 0x2c
je 0x40a440
cmp cl, 0x2e
je 0x40a440
cmp cl, 0x40
jne 0x40a451
inc ebx
movzx ecx, byte [ebx]
jmp 0x40a410
mov byte [esp + 0x13], 1
inc ebx
movzx ecx, byte [ebx]
jmp 0x40a3fd
mov esi, dword [esp + 0x18]
mov eax, ebx
sub eax, esi
mov dword [esp + 0x14], eax
cmp cl, 0x2a
je 0x40a59d
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
or eax, edx
test al, 1
je 0x40a48e
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
or eax, edx
test al, 1
jne 0x40a478
cmp byte [esp + 0x13], 0
jne 0x40a4fb
mov edx, dword [0x418460]
xor ebp, ebp
cmp ebp, edx
mov dword [esp + 0xc], edx
jge 0x40a4fb
mov eax, dword [esp + 0x14]
mov esi, ebp
mov edx, dword [esp + 0x18]
mov edi, dword [0x418450]
shl esi, 4
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov eax, dword [esi + edi]
mov dword [esp], eax
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x40a4f1
cmp byte [esp + 0x12], 0
jne 0x40a4e3
mov eax, dword [esi + edi]
mov edx, dword [esp + 0x14]
cmp byte [edx + eax], 0
jne 0x40a4f1
mov byte [esi + edi + 0xc], 1
mov eax, dword [0x418460]
mov dword [esp + 0xc], eax
inc ebp
cmp ebp, dword [esp + 0xc]
jl 0x40a4a5
movzx ecx, byte [ebx]
test cl, cl
je 0x40a566
inc ebx
movzx ecx, byte [ebx]
test cl, cl
je 0x40a566
movzx edx, byte [ebx - 1]
cmp dl, 0x7c
sete al
mov byte [esp + 0x11], dl
cmp dl, 0x26
sete dl
or eax, edx
test al, 1
jne 0x40a3b6
cmp byte [esp + 0x11], 0x3a
jne 0x40a566
cmp cl, 0x3b
je 0x40a550
cmp cl, 0x7d
je 0x40a550
cmp cl, 0x25
je 0x40a570
inc ebx
movzx ecx, byte [ebx]
test cl, cl
setne al
xor edx, edx
cmp cl, 0x3b
setne dl
test eax, edx
jne 0x40a531
test cl, cl
je 0x40a566
inc ebx
movzx ecx, byte [ebx]
test cl, cl
je 0x40a566
cmp byte [ebx - 1], 0x3b
je 0x40a3b6
add esp, 0x1c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x7b
sete al
cmp cl, 0x3c
sete dl
or eax, edx
test al, 1
jne 0x40a5ab
cmp cl, 0x57
jne 0x40a53f
cmp byte [ebx + 1], 0x7b
jne 0x40a53f
lea eax, [ebx + 2]
call fcn.0040a3a0
mov ebx, eax
jmp 0x40a53c
mov byte [esp + 0x12], 1
inc ebx
movzx ecx, byte [ebx]
jmp 0x40a47c
lea eax, [ebx + 1]
jmp 0x40a594