joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f5c40
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 0x4f5cd4
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
call fcn.004eaf6c
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.004f49d8
mov edx, dword [ebx]
dec edx
mov dword [ebx], edx
test edx, edx
jle 0x4f5d0c
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.004f49d8
mov dword [esp], ebx
mov dword [esp + 0x24], eax
call fcn.004dd020
mov eax, dword [esp + 0x24]
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4fa710
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]
test ebx, ebx
je 0x4fa744
mov dword [esp + 4], ebx
mov dword [esp], 0x67b820
call dword [0x67b84c]
test eax, eax
je 0x4fa754
mov eax, dword [eax + 0xc]
inc dword [eax + 0x1c]
add esp, 0x14
pop ebx
pop esi
ret
mov eax, dword [0x67b85c]
inc dword [eax + 0x1c]
add esp, 0x14
pop ebx
pop esi
ret
mov edx, ebx
mov eax, esi
add esp, 0x14
pop ebx
pop esi
jmp fcn.004f9e90

Function at 0x4fb294
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.004fd824
mov edi, dword [ebx]
mov edx, dword [ebx + 8]
dec edx
test ebp, ebp
je 0x4fb398
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4fb3ac
mov eax, dword [esp + 0x78]
test eax, eax
js 0x4fb3b9
mov eax, 3
jmp 0x4fb2f8
lea eax, [eax + eax + 1]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004fd8e8
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 0x4fb380
mov eax, dword [esp + 0x44]
add dword [esp + 0x74], eax
sub dword [esp + 0x78], eax
mov eax, dword [ebx + 4]
test eax, eax
jne 0x4fb2d8
mov dword [esp + 4], edx
mov dword [esp], ebx
call fcn.004fd8e8
mov eax, dword [ebx + 4]
jmp 0x4fb2d8
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.004fd8e8
mov eax, dword [ebx]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebp, dword [0x67b85c]
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x4fb2c5
nop
mov dword [esp + 0x78], 0
jmp 0x4fb2d1
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 0x4fb2d1
Function at 0x4fb4f4
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.004fd824
mov edx, dword [ebx]
mov esi, dword [ebx + 8]
dec esi
test ebp, ebp
je 0x4fb630
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x4fb644
mov eax, dword [esp + 0x78]
test eax, eax
js 0x4fb600
mov eax, 3
mov ecx, esi
mov esi, edx
jmp 0x4fb55c
lea eax, [eax + eax + 1]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004fd8e8
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 0x4fb5e4
mov eax, dword [esp + 0x44]
add dword [esp + 0x74], eax
sub dword [esp + 0x78], eax
mov eax, dword [ebx + 4]
test eax, eax
jne 0x4fb53c
mov dword [esp + 4], ecx
mov dword [esp], ebx
call fcn.004fd8e8
mov eax, dword [ebx + 4]
jmp 0x4fb53c
cmp dword [ebp + 0x10], 2
je 0x4fb61c
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.004fd8e8
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 0x4fb531
lea eax, [edi + 1]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004fd8e8
jmp 0x4fb5ea
mov ebp, dword [0x67b85c]
mov ecx, dword [esp + 0x74]
test ecx, ecx
jne 0x4fb525
nop
mov dword [esp + 0x78], 0
jmp 0x4fb531
Function at 0x53c570
Capabilities:
Get system information on windows

Disassembly:
push ebx
sub esp, 0x68
mov dword [esp + 4], 4
mov dword [esp], 0x67c358
call fcn.00508278
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
lea ebx, [esp + 0x1c]
test eax, eax
je 0x53c59a
cmp eax, ebx
jbe 0x53c5d0
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 0x53c5e0
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
test eax, eax
je 0x53c60c
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 0x53c5d0
Function at 0x53cb84
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, [0x53cbd9]
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 0x53cbe3
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 0x54e64c
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 0x54e7b3
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 0x54e798
mov dword [esp + 0x3c], 1
mov dword [esp + 0x38], 0
mov ebp, dword [esi + 0x34]
mov edx, dword [ebp + 0xc]
cmp edx, ecx
jne 0x54e6d0
jmp 0x54e7ac
mov ebp, edx
mov edx, eax
mov eax, dword [edx + 0xc]
cmp eax, ecx
jne 0x54e6cc
mov dword [esp + 0x38], ebp
cmp dword [edx], 0x54e7dc
je 0x54e720
xor ebp, ebp
mov edx, dword [esp + 0x38]
test edx, edx
je 0x54e6f4
mov ecx, dword [edx + 0xc]
test ebp, ebp
je 0x54e6a4
mov eax, dword [esp + 0x34]
mov dword [edi + 0x1ec], eax
mov edx, dword [esp + 0x28]
test edx, edx
je 0x54e716
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.004e0c04
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 0x54e6e3
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 0x54e7bf
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.0054e250
mov ebp, eax
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x1c]
dec eax
mov dword [edx + 0x1c], eax
test eax, eax
jg 0x54e6e5
mov dword [esp], edx
call fcn.004edc48
jmp 0x54e6e5
mov dword [esp + 0x3c], 0
mov eax, dword [edx + 0xc]
mov dword [esp + 0x38], eax
jmp 0x54e6db
mov edx, ebp
jmp 0x54e6db
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.004e0e00
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x20]
jmp 0x54e742
Function at 0x57c694
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 0x57c754
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x3e5
je 0x57c72c
cmp eax, 0x461
je 0x57c754
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 0x57c720
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 0x57d2b8
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.0057d0c4
mov dword [esp], 0xa0
call fcn.004edaf0
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.0050ee8c
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.004d5fe0
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], 0x67c388
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 0x57d4dc
and ebx, 4
je 0x57d48a
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], 0x57cc38
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], 0x61cb56
mov dword [esp + 8], 0x61cb5b
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.004db720
mov dword [esp + 0xc], 0x61cb68
mov dword [esp + 8], str._eofchar
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.004db720
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 0x57d39a
Function at 0x583394
Capabilities:
Parse credit card information

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x5833ac
mov eax, ebx
pop ebx
pop esi
pop edi
jmp fcn.00581864
mov eax, dword [ebx + 0x60]
call fcn.0057fd60
mov esi, eax
mov eax, dword [ebx + 0x60]
call fcn.0057fd60
mov edi, eax
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x5833cc
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], 0x61dc14
mov dword [ebx + 8], 0x61dc2c
mov eax, ebx
call fcn.00581864
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.005829f4
mov eax, ebx
call fcn.00581864
mov ecx, dword [ebx + 0x14]
test ecx, ecx
jne 0x5833c7
mov dword [ebx + 0x6c], esi
jmp 0x5833c7
Function at 0x583540
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.00583470
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 0x583788
test al, 2
jne 0x583760
test al, 4
jne 0x583738
test al, 8
jne 0x583710
test al, 0x10
jne 0x5836e8
test al, 0x40
je 0x5836c0
mov eax, dword [ebx + 4]
test eax, eax
jne 0x5836a4
cmp dword [ebx + 8], 0x10001
je 0x5835fb
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 0x5835eb
mov dword [esp + 8], eax
mov dword [esp + 4], 0x61d86c
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 0x583641
lea edx, [esp + 0x1e]
call fcn.00583470
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 0x583665
lea edx, [esp + 0x1e]
call fcn.00583470
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 0x5837b0
mov dword [esp + 4], esi
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x58368e
mov edx, esi
call fcn.00583540
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x58369c
mov edx, esi
call fcn.00583540
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 0x5835ac
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 0x5835a1
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 0x583599
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 0x583591
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 0x583589
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 0x583581
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 0x583579
mov dword [esp + 4], esi
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
jmp 0x583670
Function at 0x5837c8
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov ebx, edx
test eax, eax
je 0x5837e4
call fcn.00583540
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 0x585f20
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 0x585f3f
mov eax, dword [edi + 0x14]
test byte [eax + 8], 1
jne 0x585fd8
mov dword [esp], ebp
mov ecx, ebp
mov edx, edi
mov eax, ebx
call fcn.00585b98
mov ecx, dword [edi + 0x10]
xor edx, edx
test ecx, ecx
mov ebx, dword [eax]
jle 0x585f65
mov dword [ebx + edx*4], 0
inc edx
cmp dword [edi + 0x10], edx
jg 0x585f58
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 0x585fdc
test ecx, ecx
jle 0x585fe0
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 0x585f90
mov dword [eax + 4], ecx
mov dword [eax + 8], 0xd
mov edx, dword [edi + 4]
test edx, edx
jle 0x585fbf
mov esi, dword [edi + 0x14]
xor ebx, ebx
nop
mov dword [esi + 0x14], 0
inc ebx
add esi, 0x20
cmp ebx, edx
jl 0x585fb0
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 0x585fad
mov ecx, dword [ebx]
jmp 0x585f99
xor ecx, ecx
jmp 0x585f99
Function at 0x589fd4
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 0x58a008
mov dword [esp + 4], edi
lea ebx, [esp + 0x10]
mov dword [esp], ebx
call fcn.00522630
test eax, eax
jne 0x58a059
mov esi, dword [ebp]
mov edi, ebp
jmp 0x58a01e
mov dword [esp + 4], ebp
lea ebx, [esp + 0x10]
mov dword [esp], ebx
call fcn.00522630
test eax, eax
jne 0x58a059
mov esi, dword [edi]
test esi, esi
jle 0x58a037
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 0x58a02c
mov dword [esp], ebx
call fcn.00588384
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.00589a80
mov dword [esp], ebx
call fcn.005226b8
xor eax, eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x59aaac
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov edi, dword [esp + 0xa0]
mov esi, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa8]
test ebx, ebx
je 0x59accc
mov al, byte [esi + 2]
sub eax, 0x42
cmp al, 0x14
jbe 0x59aaf8
mov esi, dword [ebx]
test esi, esi
jle 0x59acd8
xor ebx, ebx
mov eax, ebx
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
movzx eax, al
jmp dword [eax*4 + 0x624a28]
mov dword [esp + 0x74], 0
mov byte [esp + 0x78], 0
mov dword [esp + 0x70], 0
mov ecx, dword [edi]
mov eax, dword [ecx]
lea ebp, [esp + 0x60]
mov dword [esp + 8], ebp
movsx edx, word [esi]
mov dword [esp + 4], edx
mov edx, dword [edi + 4]
mov dword [esp], edx
call dword [eax + 0x38]
sub esp, 0xc
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004e8e68
mov eax, dword [esp + 0x70]
cmp byte [esp + 0x78], 0
je 0x59aae9
test eax, eax
je 0x59aae9
mov dword [esp], eax
call fcn.005cdd84
jmp 0x59aae9
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x30]
call fcn.005a37c4
fstp qword [esp + 4]
mov dword [esp], ebx
call fcn.004dda10
mov eax, ebx
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], esi
lea ecx, [esp + 0x24]
call fcn.005a36b4
fstp qword [esp + 4]
mov dword [esp], ebx
call fcn.004dda10
mov eax, ebx
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], esi
lea ecx, [esp + 0x48]
call fcn.005a3498
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004ddda4
mov eax, ebx
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], esi
lea ecx, [esp + 0x3c]
call fcn.005a35a0
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ebx
call fcn.004de0e4
mov eax, ebx
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x18]
call fcn.005a3dec
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004eb288
mov eax, ebx
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], esi
lea eax, [esp + 0x54]
mov dword [esp], eax
lea ecx, [esp + 0x14]
call fcn.005a3ef0
push edi
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004ddcf8
mov ecx, dword [esp + 0x14]
call fcn.005a270c
mov eax, ebx
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.004dcfd8
mov ebx, eax
jmp 0x59aad3
mov dword [esp], ebx
call fcn.004dd020
jmp 0x59aae7