joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404d90
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x423004]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push esi
push edi
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0x4000
push eax
push ecx
push 0x13
push 0
push 2
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.MPR.dll_WNetOpenEnumW]
test eax, eax
jne 0x404ec2
push dword [esp + 0xc]
call fcn.0040c23e
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x404eb8
push dword [esp + 0xc]
push 0
push ebx
call fcn.00409260
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push ebx
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.MPR.dll_WNetEnumResourceW]
test eax, eax
jne 0x404eaf
nop dword [eax]
xor edi, edi
cmp dword [esp + 0x14], edi
jbe 0x404e92
lea esi, [ebx + 0xc]
nop dword [eax + eax]
cmp dword [ebx + 8], 3
jne 0x404e78
push dword [esi + 8]
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x41fa64
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
cmp dword [0x424268], 0
je 0x404e6f
lea eax, [esp + 0x18]
push eax
push str.___Found_share:__s_n
call fcn.00404800
add esp, 8
lea ecx, [esp + 0x18]
call fcn.004049a0
test dword [esi], 2
je 0x404e88
lea ecx, [esi - 0xc]
call fcn.00404d90
inc edi
add esi, 0x20
cmp edi, dword [esp + 0x14]
jb 0x404e30
lea eax, [esp + 0xc]
push eax
push ebx
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.MPR.dll_WNetEnumResourceW]
test eax, eax
je 0x404e20
push ebx
call fcn.0040c239
add esp, 4
push dword [esp + 0x10]
call dword [sym.imp.MPR.dll_WNetCloseEnum]
mov ecx, dword [esp + 0x224]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040822b
mov esp, ebp
pop ebp
ret

Function at 0x404ee0
Capabilities:
Create thread
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x423004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
lea esi, [edi + 0x41]
push 0x1c
call fcn.0040c23e
mov ebx, eax
add esp, 4
xor eax, eax
mov dword [ebx], eax
push str.__
mov word [ebx + 4], ax
push ebx
mov byte [ebx + 6], al
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x41facc
lea eax, [ebx + 0xa]
mov word [ebx + 8], si
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [ebp - 0x10], si
mov word [ebp - 0xa], ax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0xe], 0x5c003a
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x404f58
cmp eax, 3
je 0x404f58
cmp eax, 4
jne 0x404f92
cmp dword [0x424268], 0
je 0x404f6f
push ebx
push str.___Found_drive:__s_n
call fcn.00404800
add esp, 8
mov ecx, esi
call fcn.00404c60
push 0
push 0
push ebx
push 0x404980
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi*4 + 0x424200], eax
inc edi
inc esi
cmp si, 0x5a
jbe 0x404ef8
xor esi, esi
test edi, edi
jle 0x404fc0
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [eax]
push 0xffffffffffffffff
push dword [esi*4 + 0x424200]
call ebx
inc esi
cmp esi, edi
jl 0x404fb0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040822b
mov esp, ebp
pop ebp
ret
Function at 0x404ff0
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e4
mov eax, dword [0x423004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x27c], 0x41fc04
mov dword [ebp - 0x278], 0x41fc0c
xor esi, esi
mov dword [ebp - 0x274], 0x41fc14
mov dword [ebp - 0x270], 0x41fc1c
mov dword [ebp - 0x26c], 0x41fc24
mov dword [ebp - 0x268], 0x41fc2c
mov dword [ebp - 0x264], 0x41fc34
mov dword [ebp - 0x260], 0x41fc3c
mov dword [ebp - 0x25c], 0x41fc44
mov dword [ebp - 0x258], 0x41fc4c
mov dword [ebp - 0x254], 0x41fc54
mov dword [ebp - 0x250], 0x41fc5c
mov dword [ebp - 0x24c], 0x41fc64
mov dword [ebp - 0x248], 0x41fc6c
mov dword [ebp - 0x244], 0x41fc74
mov dword [ebp - 0x240], 0x41fc7c
mov dword [ebp - 0x23c], 0x41fc84
mov dword [ebp - 0x238], 0x41fc8c
mov dword [ebp - 0x234], 0x41fc94
mov dword [ebp - 0x230], 0x41fc9c
mov dword [ebp - 0x22c], 0x41fca4
mov dword [ebp - 0x228], 0x41fcac
mov dword [ebp - 0x224], 0x41fcb4
mov dword [ebp - 0x220], 0x41fcbc
mov dword [ebp - 0x21c], 0x41fcc4
mov dword [ebp - 0x218], 0x41fccc
mov dword [ebp - 0x210], edi
nop dword [eax]
nop dword [eax + eax]
mov ebx, dword [ebp + esi*4 - 0x27c]
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jne 0x40513b
mov dword [ebp + edi*4 - 0x2e4], ebx
inc edi
inc esi
cmp esi, 0x1a
jl 0x405120
xor eax, eax
push 0x10000
mov word [ebp - 0x20c], ax
call fcn.0040c23e
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40523b
push 0x8000
push 0
push ebx
call fcn.00409260
add esp, 0xc
push 0x8000
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov dword [ebp - 0x214], eax
mov esi, eax
test edi, edi
je 0x40522b
lea eax, [ebp - 0x210]
push eax
push 0x78
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x4051c5
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 3
jne 0x4051c5
xor eax, eax
mov word [ebp - 0x20c], ax
jmp 0x405216
mov esi, dword [ebp + edi*4 - 0x2e8]
dec edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
test eax, eax
je 0x4051f2
cmp dword [0x424268], 0
je 0x405210
push esi
push str.______Mounted__s_n
call fcn.00404800
add esp, 8
jmp 0x405210
cmp dword [0x424268], 0
je 0x405210
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str._______Failed_to_mount__s_Error:__d_n
call fcn.00404800
add esp, 0xc
mov esi, dword [ebp - 0x214]
push 0x8000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x405185
push esi
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
push ebx
call fcn.0040c239
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040822b
mov esp, ebp
pop ebp
ret
Function at 0x405540
Capabilities:
Create thread
Get system information on windows

Disassembly:
push esi
push edi
push 0x4241d8
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x4241ec]
push 0
push 0
push 0
push 0xffffffffffffffff
lea edi, [eax*4]
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [0x4241cc], eax
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040c23e
add esp, 4
mov dword [0x4241d0], eax
xor esi, esi
test edi, edi
jle 0x4055c4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [eax]
push 0
push 0
push dword [0x4241cc]
push 0x405b60
push 0
push 0
call ebx
mov ecx, dword [0x4241d0]
mov dword [ecx + esi*4], eax
inc esi
cmp esi, edi
jl 0x4055a0
pop ebx
mov eax, dword [0x4241cc]
pop edi
mov dword [0x4241d4], eax
pop esi
ret

Function at 0x4056a0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x423004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 0x8000000
push 3
push 0
push 0
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0xc], 0
cmp esi, 0xffffffff
je 0x405779
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push 0x10
call fcn.0040c23e
add esp, 4
mov dword [ebp - 0x20], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
push 0
push 0
push ebx
push edi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
call esi
push 0
lea eax, [ebp - 8]
push eax
push 0x10
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 0
push ebx
push edi
mov edi, dword [ebp - 0x1c]
push edi
call esi
mov ebx, dword [ebp - 0x20]
lea eax, [ebp - 0xc]
push 0
push eax
push dword [ebp - 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.0040c239
add esp, 4
cmp dword [ebp - 0xc], 0
seta al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040822b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040822b
mov esp, ebp
pop ebp
ret
Function at 0x411631
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004112f1
Function at 0x402594
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], edx
push esi
push edi
mov eax, dword [ebx]
mov edi, dword [ebx + 4]
xor edi, eax
mov dword [ebp - 0xc], eax
mov eax, edi
mov ecx, edi
and eax, 0xfffffffc
mov esi, edi
add eax, 4
and cl, 3
cmovne esi, eax
mov ecx, esi
call fcn.00402fc5
mov dword [ebp - 4], eax
test eax, eax
je 0x40260e
shr esi, 2
lea edx, [ebx + 8]
xor ebx, ebx
and dword [ebp - 8], ebx
lea ecx, [edx + esi*4]
mov esi, ecx
sub esi, edx
add esi, 3
shr esi, 2
cmp edx, ecx
cmova esi, dword [ebp - 8]
test esi, esi
je 0x402602
mov ecx, eax
sub ecx, edx
mov eax, dword [edx]
xor eax, dword [ebp - 0xc]
inc ebx
mov dword [ecx + edx], eax
lea edx, [edx + 4]
cmp ebx, esi
jb 0x4025f2
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40260b
mov dword [eax], edi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40261a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
xor ebx, ecx
mov dword [ebp - 0xc], ecx
push edi
mov dword [ebp - 0x14], ebx
lea esi, [ebx + 1]
mov eax, esi
mov edx, esi
and eax, 0xfffffffc
add eax, 4
and dl, 3
cmovne esi, eax
lea ecx, [esi + esi]
call fcn.00402fc5
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x4026c5
mov eax, dword [ebp - 4]
and dword [ebp - 4], 0
add eax, 8
shr esi, 2
lea ecx, [eax + esi*4]
mov esi, edi
mov edx, ecx
sub edx, eax
add edx, 3
shr edx, 2
cmp eax, ecx
cmova edx, dword [ebp - 4]
test edx, edx
je 0x4026bf
mov ebx, eax
xor edi, edi
mov ecx, dword [ebx]
lea ebx, [ebx + 4]
xor ecx, dword [ebp - 0xc]
movzx eax, cl
mov word [esi], ax
mov eax, ecx
shr eax, 8
lea esi, [esi + 8]
movzx eax, al
mov word [esi - 6], ax
shr ecx, 0x10
movzx eax, cl
shr ecx, 8
inc edi
mov word [esi - 4], ax
movzx eax, cl
mov word [esi - 2], ax
cmp edi, edx
jb 0x402683
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
xor eax, eax
mov word [edi + ebx*2], ax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4026ce
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
push edi
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
xor eax, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], eax
lea edi, [eax + 1]
mov eax, edi
mov edx, edi
and eax, 0xfffffffc
add eax, 4
and dl, 3
cmovne edi, eax
mov ecx, edi
call fcn.00402fc5
mov esi, eax
mov dword [ebp - 0xc], esi
test esi, esi
je 0x402760
and dword [ebp - 4], 0
add ebx, 8
shr edi, 2
xor eax, eax
mov edx, esi
lea ecx, [ebx + edi*4]
mov edi, ecx
sub edi, ebx
add edi, 3
shr edi, 2
cmp ebx, ecx
cmova edi, eax
test edi, edi
je 0x402759
mov esi, dword [ebp - 4]
mov ecx, dword [ebx]
lea ebx, [ebx + 4]
xor ecx, dword [ebp - 8]
mov byte [edx], cl
mov eax, ecx
shr eax, 8
lea edx, [edx + 4]
shr ecx, 0x10
mov byte [edx - 3], al
mov byte [edx - 2], cl
shr ecx, 8
inc esi
mov byte [edx - 1], cl
cmp esi, edi
jb 0x402730
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov byte [esi + eax], 0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402db7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
mov dword [ebp - 8], edx
push esi
push edi
xor esi, esi
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], esi
mov edi, dword [eax + ebx + 0x78]
add edi, ebx
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
add eax, ebx
mov dword [ebp - 0x14], eax
add ecx, ebx
mov eax, dword [edi + 0x24]
add eax, ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
mov eax, esi
cmp dword [edi + 0x18], esi
jbe 0x402e43
mov ecx, dword [ecx + eax*4]
add ecx, ebx
call fcn.00402a93
xor eax, 0x73b2163
cmp eax, dword [ebp - 8]
mov eax, dword [ebp - 4]
je 0x402e1a
mov ecx, dword [ebp - 0xc]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [edi + 0x18]
jb 0x402df5
jmp 0x402e43
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
movzx eax, word [ecx + eax*2]
mov esi, dword [esi + eax*4]
add esi, ebx
cmp esi, edi
jb 0x402e43
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ebx + 0x7c]
add eax, edi
cmp esi, eax
jae 0x402e43
mov ecx, esi
call fcn.00402e83
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402e4c
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
push ebx
push esi
push edi
mov edi, dword [eax + 0xc]
mov ebx, ecx
add edi, 0xc
mov esi, dword [edi]
jmp 0x402e74
mov ecx, dword [esi + 0x30]
call fcn.00402c13
xor eax, 0x41bb1831
cmp eax, ebx
je 0x402e7e
mov esi, dword [esi]
cmp esi, edi
jne 0x402e61
xor eax, eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [esi + 0x18]
jmp 0x402e7a
Function at 0x403026
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, ecx
mov dword [ebp - 4], eax
push edi
cmp edx, 0x40
jb 0x403123
call fcn.0040312a
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x403123
push esi
push 0x40
push 0x3000
push dword [edi + 0x50]
mov edx, 0x3eea8729
mov ecx, 0xcec5fe43
push 0
push 0xee
call fcn.00402f0c
pop ecx
call eax
mov esi, eax
test esi, esi
je 0x40311e
movzx ecx, word [edi + 0x14]
lea eax, [edi + 0x18]
mov edx, dword [ebp - 4]
add eax, ecx
movzx ecx, word [edi + 6]
push ebx
push dword [edi + 0x54]
imul ebx, ecx, 0x28
mov ecx, esi
mov dword [ebp - 8], eax
add ebx, eax
call fcn.00402fa1
pop ecx
mov ecx, dword [ebp - 8]
cmp ecx, ebx
jae 0x4030e7
sub ebx, ecx
mov edi, dword [ebp - 4]
lea eax, [ecx + 0x10]
xor edx, edx
mov dword [ebp - 0xc], eax
push 0x28
lea eax, [ebx - 1]
mov ebx, dword [ebp - 0xc]
pop ecx
div ecx
inc eax
mov dword [ebp - 8], eax
mov ecx, dword [ebx]
cmp dword [ebx - 8], ecx
mov edx, dword [ebx + 4]
cmovb ecx, dword [ebx - 8]
add edx, edi
push ecx
mov ecx, dword [ebx - 4]
add ecx, esi
call fcn.00402fa1
dec dword [ebp - 8]
lea ebx, [ebx + 0x28]
pop ecx
jne 0x4030c2
mov edi, dword [ebp - 0x10]
mov edx, edi
mov ecx, esi
call fcn.00403201
mov edx, edi
mov ecx, esi
call fcn.00403153
pop ebx
test eax, eax
jne 0x40311e
push 0x8000
push eax
push esi
push 0x137
mov edx, 0xfdc9fe34
mov ecx, 0xcec5fe43
call fcn.00402f0c
pop ecx
call eax
xor esi, esi
mov eax, esi
pop esi
jmp 0x403125
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x40312a
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x403137
xor eax, eax
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x403134
mov edx, 0x10b
xor ecx, ecx
cmp word [eax + 0x18], dx
cmovne eax, ecx
ret
Function at 0x458100
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x31000]
push edi
or ebp, 0xffffffff
jmp 0x458122
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x458129
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x458118
mov eax, 1
add ebx, ebx
jne 0x45813b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x458130
jne 0x45814c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x458130
xor ecx, ecx
sub eax, 3
jb 0x458160
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4581d2
mov ebp, eax
add ebx, ebx
jne 0x45816b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x458178
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x45819c
inc ecx
add ebx, ebx
jne 0x458188
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45817d
jne 0x458199
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45817d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4581bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4581ad
jmp 0x45811e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4581bc
add edi, ecx
jmp 0x45811e
pop esi
mov edi, esi
mov ecx, 0x26ca
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4581da
cmp byte [edi], 5
jne 0x4581da
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4581df
lea edi, [esi + 0x56000]
mov eax, dword [edi]
or eax, eax
je 0x458257
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x59720]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x597f0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45820c
mov ecx, edi
jns 0x45823b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x597f8]
or eax, eax
je 0x458251
mov dword [ebx], eax
add ebx, 4
jmp 0x458229
call dword [esi + 0x597f4]
mov ebp, dword [esi + 0x597fc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x45828b
sub esp, 0xffffff80
jmp 0x42cd25
Function at 0x4035b0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
mov eax, edi
cmp word [edi + 0x22], 0
je 0x4035c7
mov eax, dword [edi + 0x32]
movsx eax, word [eax + 0x20]
mov ecx, dword [esp + 0x38]
lea eax, [eax + eax*4]
mov bx, word [ecx + 4]
mov bp, word [ecx + 6]
shl eax, 2
sub bx, word [eax + 0x4d48aa]
sub bp, word [eax + 0x4d48ac]
cmp bx, word [edi + 4]
jl 0x40371e
cmp bx, word [edi + 8]
jg 0x40371e
cmp bp, word [edi + 6]
jl 0x40371e
cmp bp, word [edi + 0xa]
jg 0x40371e
mov esi, dword [edi + 0x46]
mov word [esp + 0x20], 0xb
test esi, esi
mov word [esp + 0x22], 5
je 0x403656
cmp bx, word [esi + 4]
jl 0x403650
cmp bx, word [esi + 8]
jg 0x403650
cmp bp, word [esi + 6]
jl 0x403650
cmp bp, word [esi + 0xa]
jg 0x403650
lea eax, [esp + 0x20]
push eax
push esi
call dword [esi + 0x2a]
add esp, 8
test eax, eax
jne 0x40366c
mov esi, dword [esi]
test esi, esi
jne 0x403628
lea ecx, [esp + 0x20]
push ecx
push edi
call dword [edi + 0x2a]
add esp, 8
test eax, eax
je 0x40371e
mov esi, edi
test esi, esi
je 0x40371e
mov al, byte [esi + 0x18]
mov edx, pe_nt_image_headers32
test dl, al
jne 0x403755
mov eax, dword [edi + 0x4a]
test eax, eax
je 0x4036bb
mov ebp, dword [eax + 0x18]
mov ebx, dword [eax + 0x14]
and ebp, 0xffffff7f
test ebx, ebx
mov dword [eax + 0x18], ebp
mov ecx, ebp
je 0x4036b4
or ecx, 0x41
cmp word [eax + 0x22], 0
mov dword [eax + 0x18], ecx
je 0x4036b4
mov eax, dword [eax + 0x32]
or dword [eax + 0x18], 0x40
mov dword [edi + 0x4a], 0
cmp esi, edi
je 0x403755
mov ebp, dword [esi + 0x18]
mov word [esp + 0x10], 0xb
or ebp, edx
mov word [esp + 0x12], 0xa
mov dword [esi + 0x18], ebp
mov edx, dword [edi + 0x4a]
mov ax, word [0x4d5248]
mov cx, word [0x4d524a]
mov dword [esp + 0x18], edx
lea edx, [esp + 0x10]
push edx
push esi
mov word [esp + 0x1c], ax
mov word [esp + 0x1e], cx
call dword [esi + 0x2a]
mov dword [edi + 0x4a], esi
mov eax, dword [esi + 0x14]
add esp, 8
test eax, eax
je 0x403755
push esi
call fcn.004043a0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov eax, dword [edi + 0x4a]
test eax, eax
je 0x403755
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
and esi, 0xffffff7f
test edx, edx
mov dword [eax + 0x18], esi
mov ecx, esi
je 0x40374e
or ecx, 0x41
cmp word [eax + 0x22], 0
mov dword [eax + 0x18], ecx
je 0x40374e
mov eax, dword [eax + 0x32]
or dword [eax + 0x18], 0x40
mov dword [edi + 0x4a], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x423230
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor ebx, ebx
cmp esi, ebx
je 0x423491
mov al, byte [esi + 0x2c]
mov cl, byte [0x4acb18]
cmp al, cl
je 0x423255
cmp al, 0xf
jne 0x423491
mov eax, dword [0x4aec58]
cmp eax, esi
jne 0x42326a
cmp dword [0x4aec60], ebx
jne 0x4234a3
cmp eax, esi
mov dword [0x4aec60], 0xa
je 0x42328a
mov dword [0x4aec58], esi
mov dword [0x4aec5c], ebx
mov dword [0x4aec50], ebx
mov al, byte [esi + 0x27]
mov ecx, eax
and ecx, 0xff
mov edx, dword [ecx*4 + 0x4cf524]
test dl, 0x20
je 0x4232b8
mov ecx, dword [esi + 0x7c]
cmp ecx, ebx
je 0x4232b8
cmp byte [ecx + 0x34], 0x14
jne 0x4232b8
mov eax, 0x3e
jmp 0x423452
test byte [esi + 0x1e], 0x80
jne 0x4232dc
mov eax, 3
mov dword [0x4aec60], 0x1e
mov dword [0x4aec64], 0x96
jmp 0x423452
cmp al, 0x5c
jne 0x4232ea
mov eax, 0x34
jmp 0x423452
cmp al, 0x48
jb 0x4232fc
cmp al, 0x49
ja 0x4232fc
mov eax, 0x38
jmp 0x423452
cmp al, 0x46
jb 0x42330e
cmp al, 0x47
ja 0x42330e
mov eax, 0x3f
jmp 0x423452
cmp al, 0x4e
jb 0x423320
cmp al, 0x4f
ja 0x423320
mov eax, 0x40
jmp 0x423452
cmp al, 0x44
jb 0x423332
cmp al, 0x45
ja 0x423332
mov eax, 0x41
jmp 0x423452
cmp al, 0x50
jb 0x423344
cmp al, 0x51
ja 0x423344
mov eax, 0x42
jmp 0x423452
cmp al, 0x3a
jb 0x423356
cmp al, 0x3b
ja 0x423356
mov eax, 0x33
jmp 0x423452
cmp al, 0x52
jb 0x423368
cmp al, 0x53
ja 0x423368
mov eax, 0x30
jmp 0x423452
cmp al, 0x3e
jb 0x42337a
cmp al, 0x3f
ja 0x42337a
mov eax, 0x31
jmp 0x423452
cmp al, 0x42
jb 0x42338c
cmp al, 0x43
ja 0x42338c
mov eax, 0x32
jmp 0x423452
cmp al, 0x56
jb 0x42339e
cmp al, 0x57
ja 0x42339e
mov eax, 0x3a
jmp 0x423452
cmp al, 0x54
jb 0x4233b0
cmp al, 0x55
ja 0x4233b0
mov eax, 0x3b
jmp 0x423452
test edx, 0x40000
je 0x4233c2
mov eax, 0x3c
jmp 0x423452
cmp al, 0x39
jne 0x423418
mov eax, dword [0x4aec50]
inc eax
cmp eax, 0xa
mov dword [0x4aec50], eax
jne 0x423418
mov al, byte [0x4b497e]
mov dword [0x4aec50], ebx
cmp al, bl
jne 0x4233fb
push esi
call fcn.004514c0
push esi
call fcn.0040ff60
add esp, 8
mov eax, 0x11
jmp 0x423452
mov ax, word [0x4acc10]
cmp ax, 3
jne 0x42340e
mov eax, 0x158
jmp 0x423452
shl ax, 1
add eax, 0xf7
jmp 0x423452
mov al, byte [esi + 0x27]
cmp al, 0x39
jbe 0x423426
mov eax, 0x26
jmp 0x423452
and eax, 0xff
mov eax, dword [eax*4 + 0x498c48]
cmp eax, ebx
je 0x4234a3
mov ecx, dword [0x4aec5c]
inc ecx
mov dword [0x4aec5c], ecx
add ecx, 0xfffffffd
cmp ecx, ebx
jge 0x42344c
xor ecx, ecx
push ecx
call eax
add esp, 4
xor edx, edx
mov dl, byte [esi + 0x27]
test byte [edx*4 + 0x4cf524], 0x20
mov ecx, dword [0x4d6b00]
je 0x42347c
and ecx, 4
push ebx
push ecx
push ebx
push ebx
push esi
push ebx
push eax
call fcn.00422c70
add esp, 0x1c
pop esi
pop ebx
ret
and ecx, 2
push ebx
push ecx
push ebx
push ebx
push esi
push ebx
push eax
call fcn.00422c70
add esp, 0x1c
pop esi
pop ebx
ret
mov dword [0x4aec58], ebx
mov dword [0x4aec5c], ebx
mov dword [0x4aec50], ebx
pop esi
pop ebx
ret