joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f3c34
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x3c], eax
mov edi, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
test byte [esi], 4
je 0x4f3c73
inc dword [esi + 8]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.004f3aa0
mov edx, eax
test byte [esi], 4
je 0x4f3ca9
dec dword [esi + 8]
test edx, edx
je 0x4f3d58
cmp dword [edx], 1
jle 0x4f3cf3
mov dword [esp], edx
call fcn.004dd2a4
mov edx, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], ebx
mov dword [esp + 0x2c], edx
call fcn.005318d0
test eax, eax
mov edx, dword [esp + 0x2c]
je 0x4f3d14
mov eax, dword [edx]
dec eax
mov dword [edx], eax
test eax, eax
jle 0x4f3d4c
xor eax, eax
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], ebx
mov dword [esp + 0x2c], edx
call fcn.005318d0
test eax, eax
mov edx, dword [esp + 0x2c]
jne 0x4f3ce9
nop
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], edx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004f35b0
mov dword [esp], edx
call fcn.004dd138
jmp 0x4f3ce9
mov dword [esp], 0
call fcn.004ddd50
mov edx, eax
jmp 0x4f3cb1
Function at 0x4f6158
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov edx, dword [esp + 0x50]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
test eax, eax
je 0x4f61ec
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
call fcn.004eaca8
mov ebx, eax
inc dword [eax]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x28]
mov dword [esp], edx
call fcn.004f4f50
mov edx, dword [ebx]
dec edx
mov dword [ebx], edx
test edx, edx
jle 0x4f6224
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], 0
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x50], edx
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004f4f50
mov dword [esp], ebx
mov dword [esp + 0x24], eax
call fcn.004dd138
mov eax, dword [esp + 0x24]
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4fac84
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push ebx
sub esp, 0x14
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp], 0x67e8a4
call fcn.004ee464
test ebx, ebx
je 0x4facec
mov dword [esp + 4], ebx
mov dword [esp], 0x67e8c0
call dword [0x67e8ec]
test eax, eax
je 0x4facd0
mov ebx, dword [eax + 0xc]
inc dword [ebx + 0x1c]
mov dword [esp], 0x67e8a4
call fcn.004ee4c8
mov eax, ebx
add esp, 0x14
pop ebx
pop esi
ret
mov dword [esp], 0x67e8a4
call fcn.004ee4c8
mov edx, ebx
mov eax, esi
add esp, 0x14
pop ebx
pop esi
jmp fcn.004fa400
mov eax, dword [0x67e8fc]
inc dword [eax + 0x1c]
mov dword [esp], 0x67e8a4
call fcn.004ee4c8
mov ebx, dword [0x67e8fc]
mov eax, ebx
add esp, 0x14
pop ebx
pop esi
ret

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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebp, dword [esp + 0x70]
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
call fcn.004fde3c
mov edi, dword [ebx]
mov edx, dword [ebx + 8]
dec edx
test ebp, ebp
je 0x4fb98c
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4fb9a0
mov eax, dword [esp + 0x78]
test eax, eax
js 0x4fb9ad
mov eax, 3
jmp 0x4fb8ec
lea eax, [eax + eax + 1]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004fdf0c
mov edi, dword [ebx]
add edi, esi
mov edx, esi
not edx
add edx, dword [ebx + 4]
mov eax, 2
lea ecx, [esp + 0x4c]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edi
lea ecx, [esp + 0x40]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
mov dword [esp + 0x3c], edx
call dword [ebp + 4]
mov esi, dword [esp + 0x48]
add esi, edi
sub esi, dword [ebx]
cmp eax, 0xfffffffc
mov edx, dword [esp + 0x3c]
jne 0x4fb974
mov eax, dword [esp + 0x44]
add dword [esp + 0x74], eax
sub dword [esp + 0x78], eax
mov eax, dword [ebx + 4]
test eax, eax
jne 0x4fb8cc
mov dword [esp + 4], edx
mov dword [esp], ebx
call fcn.004fdf0c
mov eax, dword [ebx + 4]
jmp 0x4fb8cc
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.004fdf0c
mov eax, dword [ebx]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebp, dword [0x67e8fc]
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x4fb8b9
nop
mov dword [esp + 0x78], 0
jmp 0x4fb8c5
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 0x3c], edx
call dword [ebp + 0x18]
mov dword [esp + 0x78], eax
mov edx, dword [esp + 0x3c]
jmp 0x4fb8c5
Function at 0x4fbae8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebp, dword [esp + 0x70]
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
call fcn.004fde3c
mov edx, dword [ebx]
mov esi, dword [ebx + 8]
dec esi
test ebp, ebp
je 0x4fbc24
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x4fbc38
mov eax, dword [esp + 0x78]
test eax, eax
js 0x4fbbf4
mov eax, 3
mov ecx, esi
mov esi, edx
jmp 0x4fbb50
lea eax, [eax + eax + 1]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004fdf0c
mov esi, dword [ebx]
add esi, edi
mov ecx, edi
not ecx
add ecx, dword [ebx + 4]
mov eax, 2
lea edx, [esp + 0x4c]
mov dword [esp + 0x24], edx
lea edx, [esp + 0x48]
mov dword [esp + 0x20], edx
lea edx, [esp + 0x44]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], esi
lea edx, [esp + 0x40]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x78]
mov dword [esp + 8], edx
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
mov dword [esp + 0x3c], ecx
call dword [ebp + 8]
mov edi, dword [esp + 0x48]
add edi, esi
sub edi, dword [ebx]
cmp eax, 0xfffffffc
mov ecx, dword [esp + 0x3c]
jne 0x4fbbd8
mov eax, dword [esp + 0x44]
add dword [esp + 0x74], eax
sub dword [esp + 0x78], eax
mov eax, dword [ebx + 4]
test eax, eax
jne 0x4fbb30
mov dword [esp + 4], ecx
mov dword [esp], ebx
call fcn.004fdf0c
mov eax, dword [ebx + 4]
jmp 0x4fbb30
cmp dword [ebp + 0x10], 2
je 0x4fbc10
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.004fdf0c
mov eax, dword [ebx]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
mov ecx, 0xffffffff
mov edi, dword [esp + 0x74]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x78], ecx
jmp 0x4fbb25
lea eax, [edi + 1]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004fdf0c
jmp 0x4fbbde
mov ebp, dword [0x67e8fc]
mov ecx, dword [esp + 0x74]
test ecx, ecx
jne 0x4fbb19
nop
mov dword [esp + 0x78], 0
jmp 0x4fbb25
Function at 0x53e17c
Capabilities:
Get system information on windows

Disassembly:
push ebx
sub esp, 0x68
mov dword [esp + 4], 4
mov dword [esp], 0x67f61c
call fcn.0050879c
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
lea ebx, [esp + 0x1c]
test eax, eax
je 0x53e1a6
cmp eax, ebx
jbe 0x53e1dc
lea eax, [esp + 0x3c]
mov dword [esp], eax
call sub.KERNEL32.dll_GetSystemInfo
push edx
mov dword [esp + 8], 0x1c
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
jne 0x53e1ec
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
test eax, eax
je 0x53e218
mov edx, dword [esp + 0x70]
mov dword [edx], eax
mov eax, 1
add esp, 0x68
pop ebx
ret
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x40]
lea edx, [edx + eax + 0x8000]
mov eax, dword [esp + 0x1c]
mov dword [eax], edx
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov edx, dword [esp + 0x70]
mov dword [edx], eax
mov eax, 1
add esp, 0x68
pop ebx
ret
mov eax, dword [esp + 0x40]
neg eax
and eax, ebx
mov dword [edx], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
jmp 0x53e1dc
Function at 0x53e7f0
Capabilities:
Access peb ldr_data

Disassembly:
push edi
push esi
push ebx
sub esp, 0x20
lea edx, [esp + 0xc]
mov eax, dword fs:[0]
mov dword [edx], eax
lea eax, [0x53e845]
mov dword [edx + 4], eax
mov dword [edx + 8], ebp
mov dword [edx + 0xc], esp
mov dword [edx + 0x10], 1
mov dword fs:[0], edx
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
cpuid
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov edx, dword fs:[0]
mov eax, 0
mov dword [edx + 0x10], eax
jmp 0x53e84f
mov esp, dword [edx + 0xc]
mov ebp, dword [edx + 8]
mov eax, dword [edx]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1c]
add esp, 0x20
pop ebx
pop esi
pop edi
ret

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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x6c]
mov edx, dword [esi + 0x34]
test edx, edx
je 0x550047
mov eax, dword [edi + 0x64]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x1ec]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
mov dword [edi + 0x1ec], eax
mov dword [esp + 0x30], esi
mov ebx, dword [esp + 0x74]
and ebx, 2
mov dword [esp + 0x28], 0
xor ecx, ecx
mov eax, dword [esp + 0x74]
or eax, 0x20
mov dword [esp + 0x24], eax
test ebx, ebx
je 0x55002c
mov dword [esp + 0x3c], 1
mov dword [esp + 0x38], 0
mov ebp, dword [esi + 0x34]
mov edx, dword [ebp + 0xc]
cmp edx, ecx
jne 0x54ff64
jmp 0x550040
mov ebp, edx
mov edx, eax
mov eax, dword [edx + 0xc]
cmp eax, ecx
jne 0x54ff60
mov dword [esp + 0x38], ebp
cmp dword [edx], 0x550070
je 0x54ffb4
xor ebp, ebp
mov edx, dword [esp + 0x38]
test edx, edx
je 0x54ff88
mov ecx, dword [edx + 0xc]
test ebp, ebp
je 0x54ff38
mov eax, dword [esp + 0x34]
mov dword [edi + 0x1ec], eax
mov edx, dword [esp + 0x28]
test edx, edx
je 0x54ffaa
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.004e0a84
mov eax, ebp
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [edx + 4]
mov ebp, dword [edx]
test ebp, ebp
je 0x54ff77
mov eax, dword [esp + 0x24]
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x70]
mov dword [edx + 0x18], eax
inc dword [edx + 0x1c]
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x550053
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], edx
mov dword [esp + 0x20], edx
call fcn.0054fae4
mov ebp, eax
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x1c]
dec eax
mov dword [edx + 0x1c], eax
test eax, eax
jg 0x54ff79
mov dword [esp], edx
call fcn.004ed958
jmp 0x54ff79
mov dword [esp + 0x3c], 0
mov eax, dword [edx + 0xc]
mov dword [esp + 0x38], eax
jmp 0x54ff6f
mov edx, ebp
jmp 0x54ff6f
xor ebp, ebp
mov eax, ebp
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], eax
mov dword [esp], edi
mov dword [esp + 0x20], edx
call fcn.004e0c80
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x20]
jmp 0x54ffd6
Function at 0x57e25c
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, eax
mov ebp, ecx
mov esi, dword [esp + 0x54]
mov eax, dword [esi + 0x10]
mov dword [esp], eax
mov dword [esp + 0x2c], edx
call sub.KERNEL32.dll_ResetEvent
push edi
lea edi, [ebx + 0x68]
mov dword [esp], edi
call sub.KERNEL32.dll_EnterCriticalSection
push eax
sub dword [ebx + 0x9c], ebp
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebp
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], edx
mov eax, dword [ebx]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteFile
sub esp, 0x14
mov dword [esp], edi
mov dword [esp + 0x2c], eax
call sub.KERNEL32.dll_LeaveCriticalSection
push eax
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x57e31c
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x3e5
je 0x57e2f4
cmp eax, 0x461
je 0x57e31c
xor eax, eax
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], 1
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov eax, dword [ebx]
mov dword [esp], eax
call sub.KERNEL32.dll_GetOverlappedResult
sub esp, 0x10
test eax, eax
je 0x57e2e8
lea esi, [esi]
mov dword [esp], edi
call sub.KERNEL32.dll_EnterCriticalSection
push ecx
mov eax, dword [ebx + 0x9c]
sub eax, ebp
mov edx, dword [esp + 0x50]
add eax, dword [edx]
mov dword [ebx + 0x9c], eax
mov dword [esp], edi
call sub.KERNEL32.dll_LeaveCriticalSection
push ebx
mov eax, 1
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x57eef4
Capabilities:
Create thread

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x58]
call fcn.0057ecb0
mov dword [esp], 0xa0
call fcn.004ed800
mov ebp, eax
mov ecx, 0xa0
xor eax, eax
mov edi, ebp
rep stosb byte es:[edi], al
mov dword [ebp + 0xc], ebx
mov dword [ebp], esi
mov dword [ebp + 0x1c], 1
mov dword [ebp + 0x20], 0xa
call fcn.004ee2f4
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x30], 0x1000
mov dword [ebp + 0x34], 0x1000
mov dword [esp + 8], ebp
mov dword [esp + 4], str.file_x
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call sub.msvcrt.dll_sprintf
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov dword [esp], str.serial
call fcn.004d6320
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x34]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.KERNEL32.dll_SetupComm
sub esp, 0xc
mov dword [esp + 4], 0xf
mov dword [esp], esi
call sub.KERNEL32.dll_PurgeComm
sub esp, 8
mov dword [esp + 4], 0x67f9d8
mov dword [esp], esi
call sub.KERNEL32.dll_SetCommTimeouts
sub esp, 8
lea eax, [ebp + 0x68]
mov dword [esp], eax
call sub.KERNEL32.dll_InitializeCriticalSection
push ecx
test bl, 2
jne 0x57f118
and ebx, 4
je 0x57f0c6
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
call sub.KERNEL32.dll_CreateEventA
sub esp, 0x10
mov dword [ebp + 0x60], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 1
mov dword [esp], 0
call sub.KERNEL32.dll_CreateEventA
sub esp, 0x10
mov dword [ebp + 0x80], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.KERNEL32.dll_CreateEventA
sub esp, 0x10
mov dword [ebp + 0x84], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.KERNEL32.dll_CreateEventA
sub esp, 0x10
mov dword [ebp + 0x88], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 0x57e818
mov dword [esp + 4], 0x100
mov dword [esp], 0
call sub.KERNEL32.dll_CreateThread
sub esp, 0x18
mov dword [ebp + 0x64], eax
mov dword [esp + 0xc], 0x61f036
mov dword [esp + 8], 0x61f03b
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.004db940
mov dword [esp + 0xc], 0x61f048
mov dword [esp + 8], str._eofchar
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.004db940
mov eax, dword [ebp + 8]
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
call sub.KERNEL32.dll_CreateEventA
sub esp, 0x10
mov dword [ebp + 0x4c], eax
jmp 0x57efd6
Function at 0x584f10
Capabilities:
Parse credit card information

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x584f28
mov eax, ebx
pop ebx
pop esi
pop edi
jmp fcn.005833e0
mov eax, dword [ebx + 0x60]
call fcn.005818dc
mov esi, eax
mov eax, dword [ebx + 0x60]
call fcn.005818dc
mov edi, eax
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x584f48
pop ebx
pop esi
pop edi
ret
mov eax, dword [ebx + 4]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
mov dword [ebx + 4], 0x6200f4
mov dword [ebx + 8], 0x62010c
mov eax, ebx
call fcn.005833e0
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.00584570
mov eax, ebx
call fcn.005833e0
mov ecx, dword [ebx + 0x14]
test ecx, ecx
jne 0x584f43
mov dword [ebx + 0x6c], esi
jmp 0x584f43
Function at 0x5850bc
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
push ebx
sub esp, 0x50
mov ebx, eax
mov esi, edx
movsx edi, byte [eax]
lea edx, [esp + 0x1e]
call fcn.00584fec
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], str._s.___c
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
mov al, byte [ebx + 1]
test al, 1
jne 0x585304
test al, 2
jne 0x5852dc
test al, 4
jne 0x5852b4
test al, 8
jne 0x58528c
test al, 0x10
jne 0x585264
test al, 0x40
je 0x58523c
mov eax, dword [ebx + 4]
test eax, eax
jne 0x585220
cmp dword [ebx + 8], 0x10001
je 0x585177
movsx eax, word [ebx + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], str.__d_
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
movsx eax, word [ebx + 0xa]
cmp ax, 0x100
je 0x585167
mov dword [esp + 8], eax
mov dword [esp + 4], 0x61fd4c
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
mov dword [esp + 4], esi
mov dword [esp], 0x7d
call sub.msvcrt.dll_fputc
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x14]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov dword [esp + 4], str.__ld__ld
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x5851bd
lea edx, [esp + 0x1e]
call fcn.00584fec
mov dword [esp + 8], eax
mov dword [esp + 4], str._L:_s
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x5851e1
lea edx, [esp + 0x1e]
call fcn.00584fec
mov dword [esp + 8], eax
mov dword [esp + 4], str._R:_s
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
mov eax, dword [ebx + 0x1c]
test eax, eax
jne 0x58532c
mov dword [esp + 4], esi
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x58520a
mov edx, esi
call fcn.005850bc
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x585218
mov edx, esi
call fcn.005850bc
add esp, 0x50
pop ebx
pop esi
pop edi
ret
mov dword [esp + 8], eax
mov dword [esp + 4], str.___d_
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
jmp 0x585128
mov dword [esp + 0xc], esi
mov dword [esp + 8], 7
mov dword [esp + 4], 1
mov dword [esp], str._UNUSED
call sub.msvcrt.dll_fwrite
jmp 0x58511d
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0xb
mov dword [esp + 4], 1
mov dword [esp], str._hasbackref
call sub.msvcrt.dll_fwrite
mov al, byte [ebx + 1]
jmp 0x585115
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0xb
mov dword [esp + 4], 1
mov dword [esp], str._hascapture
call sub.msvcrt.dll_fwrite
mov al, byte [ebx + 1]
jmp 0x58510d
mov dword [esp + 0xc], esi
mov dword [esp + 8], 9
mov dword [esp + 4], 1
mov dword [esp], str._hasmixed
call sub.msvcrt.dll_fwrite
mov al, byte [ebx + 1]
jmp 0x585105
mov dword [esp + 0xc], esi
mov dword [esp + 8], 9
mov dword [esp + 4], 1
mov dword [esp], str._shortest
call sub.msvcrt.dll_fwrite
mov al, byte [ebx + 1]
jmp 0x5850fd
mov dword [esp + 0xc], esi
mov dword [esp + 8], 8
mov dword [esp + 4], 1
mov dword [esp], str._longest
call sub.msvcrt.dll_fwrite
mov al, byte [ebx + 1]
jmp 0x5850f5
mov dword [esp + 4], esi
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
jmp 0x5851ec
Function at 0x585344
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov ebx, edx
test eax, eax
je 0x585360
call fcn.005850bc
mov dword [esp], ebx
call sub.msvcrt.dll_fflush
add esp, 0x18
pop ebx
ret
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0xa
mov dword [esp + 4], 1
mov dword [esp], str.null_tree_n
call sub.msvcrt.dll_fwrite
mov dword [esp], ebx
call sub.msvcrt.dll_fflush
add esp, 0x18
pop ebx
ret
Function at 0x587a9c
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
push ebx
mov ebx, eax
mov edi, edx
mov ebp, ecx
mov edx, dword [edx + 4]
test edx, edx
jle 0x587abb
mov eax, dword [edi + 0x14]
test byte [eax + 8], 1
jne 0x587b54
mov dword [esp], ebp
mov ecx, ebp
mov edx, edi
mov eax, ebx
call fcn.00587714
mov ecx, dword [edi + 0x10]
xor edx, edx
test ecx, ecx
mov ebx, dword [eax]
jle 0x587ae1
mov dword [ebx + edx*4], 0
inc edx
cmp dword [edi + 0x10], edx
jg 0x587ad4
mov edx, dword [edi + 0x28]
mov ecx, dword [edx + 0xc]
mov esi, ecx
shr esi, 5
mov edx, 1
shl edx, cl
or dword [ebx + esi*4], edx
mov ecx, dword [edi + 0x10]
cmp ecx, 1
je 0x587b58
test ecx, ecx
jle 0x587b5c
mov edx, ebx
lea ebx, [ebx + ecx*4]
xor ecx, ecx
lea esi, [esi]
xor ecx, dword [edx]
add edx, 4
cmp edx, ebx
jne 0x587b0c
mov dword [eax + 4], ecx
mov dword [eax + 8], 0xd
mov edx, dword [edi + 4]
test edx, edx
jle 0x587b3b
mov esi, dword [edi + 0x14]
xor ebx, ebx
nop
mov dword [esi + 0x14], 0
inc ebx
add esi, 0x20
cmp ebx, edx
jl 0x587b2c
mov dword [eax + 0x14], ebp
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
pop edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, eax
jmp 0x587b29
mov ecx, dword [ebx]
jmp 0x587b15
xor ecx, ecx
jmp 0x587b15
Function at 0x58bb50
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
mov eax, dword [ebp]
cmp dword [edi], eax
jle 0x58bb84
mov dword [esp + 4], edi
lea ebx, [esp + 0x10]
mov dword [esp], ebx
call fcn.00524964
test eax, eax
jne 0x58bbd5
mov esi, dword [ebp]
mov edi, ebp
jmp 0x58bb9a
mov dword [esp + 4], ebp
lea ebx, [esp + 0x10]
mov dword [esp], ebx
call fcn.00524964
test eax, eax
jne 0x58bbd5
mov esi, dword [edi]
test esi, esi
jle 0x58bbb3
mov edx, dword [esp + 0x1c]
mov edi, dword [edi + 0xc]
xor eax, eax
nop
mov ecx, dword [edi + eax*4]
xor dword [edx + eax*4], ecx
inc eax
cmp eax, esi
jne 0x58bba8
mov dword [esp], ebx
call fcn.00589f00
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.0058b5fc
mov dword [esp], ebx
call fcn.005249ec
xor eax, eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret