joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00408fe0
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00408fe0
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00408fe0
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00408fe0
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00408fe0
mov dword [0x41203c], eax
call fcn.00408fe0
test eax, eax
jge 0x402550
push 8
call fcn.00408fe0
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00408fe0
pop ecx
push 1
call fcn.00408fe0
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00408fe0
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00408fe0
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00408fe0
jmp 0x402495
Function at 0x10046c10
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x10046d1c
test eax, eax
je 0x10046d1c
push esi
push edi
mov ecx, 0x10
mov esi, 0x10061fe8
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov esi, dword [esi]
add esi, eax
mov dword [ebp - 8], esi
xor esi, esi
mov dword [ebp - 4], 0
mov ecx, eax
test edx, edx
jbe 0x10046d03
lea edi, [eax + 4]
jmp 0x10046c67
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x10046c7c
mov dword [ebp - 4], 2
jmp 0x10046c9d
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x10046c93
mov dword [ebp - 4], 1
jmp 0x10046c9d
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x10046d13
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
inc ecx
inc edi
mov byte [ecx], bl
mov ebx, dword [ebp - 4]
inc ecx
inc edi
cmp ebx, 1
jbe 0x10046cd6
mov byte [ecx], 0x3d
jmp 0x10046ce2
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x4c]
mov byte [ecx], al
inc ecx
inc edi
test ebx, ebx
jbe 0x10046ced
mov byte [ecx], 0x3d
jmp 0x10046cf3
mov dl, byte [ebp + edx - 0x4c]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x10046c64
mov eax, dword [ebp + 0x10]
sub ecx, eax
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002810
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x10
mov dword [ebp - 0x10], eax
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
test eax, eax
je 0x10002872
mov ebx, dword [ebp - 0x10]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov edi, dword fs:[0x18]
lea esi, [esi]
lea edi, [edi]
mov eax, ebx
xor ecx, ecx
mov edx, sym._address_entry_free
call sym._address_lists_iterate
mov eax, dword [ebx + 0x20]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov ebx, dword [ebx + 8]
sub esp, 0xc
test ebx, ebx
jne 0x10002840
mov edx, dword [ebp - 0x10]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x100028a0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
leave
ret

Function at 0x100028d0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xc
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov dword [esp], eax
call dword [ebx + 4]
mov dword [ebp + 0x10], ebx
mov ebx, dword [ebp - 4]
mov dword [ebp + 0xc], 0
sub esp, 0xc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [ebp + 8], eax
leave
jmp dword [sym.imp.kernel32.dll_HeapFree]
Function at 0x10002f90
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
push ebx
sub esp, 0x44
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], 0x10
test eax, eax
je 0x10002fb4
cmp word [eax + 6], 0x18
je 0x10003171
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], eax
mov ebx, eax
mov eax, dword fs:[0x18]
mov dword [ebp - 0x2c], eax
jmp 0x10003058
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x28]
lea ecx, [edi - 4]
mov edx, ecx
and ecx, 0xfffffffc
shr edx, 2
add ecx, edx
shl ecx, 3
test esi, esi
je 0x100030d8
mov esi, dword [ebp + 8]
cmp dword [esi], ecx
jb 0x100030d8
test eax, eax
je 0x100030e8
cmp ebx, dword [ebp - 0x24]
je 0x1000302a
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov edi, dword [ebp - 0x20]
sub esp, 0xc
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x1000317b
lea eax, [ebp - 0x20]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 6
call sym._DnsQueryConfig_24
sub esp, 0x18
test eax, eax
je 0x10002fd0
cmp eax, 0xea
je 0x10002fd0
mov edi, eax
cmp ebx, dword [ebp - 0x24]
je 0x100030c8
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [ebp + 8]
mov edi, 0x6f
mov dword [esi], ecx
jmp 0x1000309f
mov edi, eax
mov eax, ecx
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 0x28]
mov dword [ecx], eax
test edx, edx
je 0x1000309f
lea eax, [edx - 1]
xor ecx, ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x28], eax
lea eax, [ebx + 4]
mov ebx, ecx
mov dword [ebp - 0x38], edi
mov edi, eax
mov dword [ebp - 0x2c], edx
jmp 0x1000312e
test ebx, ebx
je 0x10003168
lea eax, [esi + 0x28]
mov dword [esi], eax
mov esi, eax
add ebx, 1
add edi, 4
cmp dword [ebp - 0x2c], ebx
je 0x10003159
lea eax, [esi + 4]
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [sym.imp.ntdll.dll_RtlIpv4AddressToStringA]
sub esp, 8
cmp dword [ebp - 0x28], ebx
jne 0x10003118
mov dword [esi], 0
add ebx, 1
xor esi, esi
add edi, 4
cmp dword [ebp - 0x2c], ebx
jne 0x1000312e
mov ebx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x38]
jmp 0x1000309f
mov eax, dword [ebp - 0x30]
mov dword [esi], eax
mov esi, eax
jmp 0x10003123
mov edi, 0xe8
jmp 0x100030c8
mov edi, 8
jmp 0x100030a4
Function at 0x10005ac0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
test byte [0x1000f018], 8
jne 0x10005b00
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ebx, dword [ebp - 4]
sub esp, 0xc
leave
ret 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p__n
mov dword [esp + 8], str.FreeMibTable
mov dword [esp + 4], 0x1000f018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10005ad3
Function at 0x10006ca0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test byte [0x1000f018], 8
jne 0x10006e30
test esi, esi
je 0x10006e64
cmp ebx, 2
ja 0x10006e64
test ebx, ebx
je 0x10006cde
test byte [0x1000f018], 1
jne 0x10006e80
lea eax, [ebp - 0x20]
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x14]
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x18]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x1c]
mov dword [esp + 0x28], 0x258
mov dword [esp + 0x20], 0xd8
mov dword [esp + 0x18], 0x444
mov dword [esp + 0x10], 8
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x10012690
mov dword [esp], 1
call sym._NsiAllocateAndGetTable_52
mov dword [ebp - 0x24], eax
sub esp, 0x34
test eax, eax
je 0x10006d60
mov eax, dword [ebp - 0x24]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
imul eax, dword [ebp - 0x20], 0x548
mov dword [esp + 4], 8
mov edx, dword fs:[0x18]
add eax, 8
mov dword [esp + 8], eax
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esi], eax
sub esp, 0xc
test eax, eax
je 0x10006ead
mov edx, dword [ebp - 0x20]
xor ebx, ebx
mov dword [eax], edx
test edx, edx
jne 0x10006db2
jmp 0x10006df6
mov eax, dword [esi]
imul edx, ebx, 0x548
imul edi, ebx, 0x258
lea eax, [eax + edx + 8]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx + ebx*8 + 4]
mov edx, dword [edx + ebx*8]
mov dword [eax], edx
add edi, dword [ebp - 0x10]
imul edx, ebx, 0x444
mov dword [eax + 4], ecx
add edx, dword [ebp - 0x18]
imul ecx, ebx, 0xd8
add ebx, 1
mov dword [esp], edi
add ecx, dword [ebp - 0x14]
call sym._if_row2_fill
cmp dword [ebp - 0x20], ebx
ja 0x10006db0
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._NsiFreeTable_16
mov eax, dword [ebp - 0x24]
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.level__u__table__p_n
mov dword [esp + 8], str.GetIfTable2Ex
mov dword [esp + 4], 0x1000f018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
test esi, esi
jne 0x10006cc4
mov dword [ebp - 0x24], 0x57
mov eax, dword [ebp - 0x24]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.level__u_not_fully_supported_n
mov dword [esp + 8], str.GetIfTable2Ex
mov dword [esp + 4], 0x1000f018
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x10006cde
mov dword [ebp - 0x24], 0xe
jmp 0x10006df6
Function at 0x10008250
Capabilities:
Get hostname
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x84
mov dword [ebp - 0x74], 0x248
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test byte [0x1000f018], 8
jne 0x10008418
test esi, esi
je 0x1000844c
lea edi, [ebp - 0x70]
xor ecx, ecx
xor edx, edx
xor eax, eax
mov dword [esp], edi
call sym._get_dns_server_list
cmp eax, 0x6f
mov eax, dword [ebp - 0x74]
jne 0x1000829d
add eax, dword [ebp - 0x70]
sub eax, 0x28
test ebx, ebx
je 0x10008400
cmp dword [esi], eax
jb 0x10008400
mov dword [esi], eax
lea esi, [ebp - 0x74]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym._memset
mov edx, dword [sym.imp.kernel32.dll_GetComputerNameExA]
mov dword [ebp - 0x74], 0x84
mov dword [esp + 8], esi
mov dword [ebp - 0x78], edx
mov dword [esp + 4], ebx
mov dword [esp], 1
call edx
lea eax, [ebx + 0x84]
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x74], 0x84
sub esp, 0xc
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], 2
call edx
lea edx, [ebx + 0x10c]
lea ecx, [ebx + 0x248]
xor eax, eax
sub esp, 0xc
mov dword [ebp - 0x78], edx
mov dword [esp], edi
call sym._get_dns_server_list
mov edx, dword [ebp - 0x78]
mov edi, dword [sym.imp.advapi32.dll_RegOpenKeyExA]
mov dword [ebx + 0x134], 8
mov dword [ebx + 0x108], edx
lea edx, [ebp - 0x6c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], str.SYSTEMCurrentControlSetServicesVxDMSTCP
mov dword [esp], 0x80000002
call edi
lea edx, [ebp - 0x6c]
sub esp, 0x14
test eax, eax
jne 0x10008460
lea eax, [ebx + 0x138]
mov dword [ebp - 0x74], 0x104
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.ScopeID
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x6c]
sub esp, 0x18
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
lea eax, [ebp - 0x68]
mov dword [esp + 4], 2
mov dword [esp], eax
call sym.iphlpapi.dll_GetIpStatisticsEx
sub esp, 8
test eax, eax
jne 0x10008498
xor edx, edx
cmp dword [ebp - 0x68], 1
sete dl
mov dword [ebx + 0x23c], edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov dword [esi], eax
lea esp, [ebp - 0xc]
mov eax, 0x6f
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.info__p__size__p_n
mov dword [esp + 8], str.GetNetworkParams
mov dword [esp + 4], 0x1000f018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
test esi, esi
jne 0x1000827e
lea esp, [ebp - 0xc]
mov eax, 0x57
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], str.SYSTEMCurrentControlSetServicesNetBTParameters
mov dword [esp], 0x80000002
call edi
sub esp, 0x14
test eax, eax
jne 0x100083c1
jmp 0x10008376
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 8
Function at 0x1000d840
Capabilities:
Get process heap flags

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push ebx
sub esp, 0xc
mov ebx, dword [ebp + 8]
lea edx, [ebx - 1]
cmp edx, 0xfffffffd
ja 0x1000d88b
mov eax, dword [ebx]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, 1
sub esp, 0xc
mov ebx, dword [ebp - 4]
leave
ret 4

Function at 0x1000d8a0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov esi, dword fs:[0x18]
sub esp, 0x1c
mov dword [esp + 8], 4
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x1000d955
mov ebx, eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x40000000
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0
mov dword [esp], str..Nsi
call dword [sym.imp.kernel32.dll_CreateFileW]
mov dword [ebx], eax
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x1000d930
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 8], ebx
mov ebx, 0xffffffff
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x1000d922
mov dword [esi + 0x34], 0x2afe
or ebx, 0xffffffff
jmp 0x1000d922
Function at 0x1000e1e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x1000e238
cmp byte [esi + ebx - 1], 0xa
je 0x1000e20c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x1001f0a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x1000e860
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call sym.___wine_dbg_get_channel_flags
movzx eax, al
bt eax, esi
jae 0x1000ea38
mov edi, dword [0x1001f0a4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], edi
je 0x1000e947
test byte [0x1000f030], 8
jne 0x1000e9e0
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x1000f040], 8
jne 0x1000e9a0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf_1
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x1000e8e9
cmp esi, 3
jbe 0x1000e958
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x1000e8fa
mov esi, edx
mov dword [esp + 0xc], edi
shr esi, 0x10
test edx, 0x8080
mov dword [esp + 4], 1
cmove edx, esi
lea esi, [ecx + 2]
mov dword [esp], ebx
cmove ecx, esi
mov eax, edx
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x10018cc0]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x1000e8e9
mov dword [esp], 0x1000f040
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x1000e8c0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf_1
add edi, eax
jmp 0x1000e8c0
mov dword [esp], 0x1000f030
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x1000e8ab
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf_1
lea edi, [ebx + eax]
jmp 0x1000e8b3
mov eax, 0xffffffff
jmp 0x1000e947
Function at 0x40632d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x40633c
pop dword [ebp - 0x44]
mov eax, 0xc7d78df2
add eax, 0x3868d54a
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x3caa0127
add dword [ebp - 0x54], 0x11a84424
mov dword [ebp - 0x50], 0xd508bdf0
sub dword [ebp - 0x50], 0xa2d571ab
mov dword [ebp - 0x4c], 0xa2e8d463
sub dword [ebp - 0x4c], 0x569c9035
mov dword [ebp - 0x48], 0xacc993fb
add dword [ebp - 0x48], 0x53366c05
lea eax, [ebp - 0x54]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x73612562
add dword [ebp - 0x54], 0x11143f4
mov dword [ebp - 0x50], 0x45d5885
add dword [ebp - 0x50], 0x3d0f08f0
mov dword [ebp - 0x4c], 0xa3270466
sub dword [ebp - 0x4c], 0x3fb797fa
mov dword [ebp - 0x48], 0xbee3b262
sub dword [ebp - 0x48], 0xbee3b262
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x165fa0ba
add eax, 0xe9e0d046
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x36cf5
push 0
call eax
mov ecx, 0x48c4
xor esi, esi
add esi, eax
mov edx, 0xc4a09f46
add edx, 0x3ba060ba
add edx, dword [ebp - 0x44]
mov edi, 0xb8615890
xor dword [ebp - 0xc], eax
mov ebx, dword [edx]
sub dword [ebp - 0x10], edi
sub ebx, edi
mov dword [esi], ebx
sub dword [ebp - 0x28], 0x36c52bcd
add esi, 0x19a9e290
sub esi, 0x19a9e28c
add edx, 0xaa1f378b
add edx, 0x55e0c879
loop 0x40644f
add eax, 0x115e3
mov ebx, eax
add eax, 0x983394e9
add eax, 0x67cc6b1c
mov ecx, 0x1615d2e
sub ecx, 0x1215d2e
add ecx, dword [ebp - 0x44]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x10006089
Capabilities:
Resume thread

Disassembly:
push 0x10
mov eax, 0x10011324
call fcn.10010dbc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 4], 0
jne 0x100061ed
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
jne 0x100061ed
push 0x1000334a
push 0xd008
call fcn.100062eb
mov edi, eax
mov dword [ebp - 0x1c], edi
pop ecx
pop ecx
test edi, edi
je 0x100061e6
push 0xc000
xor ebx, ebx
push ebx
push edi
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xc000], ebx
lea eax, [edi + 0xc004]
push 0x1000
push ebx
push eax
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xd004], ebx
test edi, edi
je 0x100061e6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100062eb
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.100062eb
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.100062eb
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.100062eb
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100061fa
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10014250]
mov ecx, dword [ebp - 0x14]
call esi
call fcn.100062eb
test eax, eax
je 0x10006190
jg 0x10006175
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x10006181
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x10], esi
push esi
push 0x10003050
call fcn.100062eb
pop ecx
pop ecx
jmp 0x1000619a
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000704c
lea eax, [edi + 0xc000]
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jbe 0x100061ce
lea esi, [edi + 8]
test byte [esi - 4], 1
je 0x100061c3
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0xc
cmp ebx, dword [eax]
jb 0x100061b2
mov esi, dword [ebp - 0x10]
mov ecx, edi
call fcn.100062eb
push 0xd008
push edi
call fcn.100062eb
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.100062eb
int3

Function at 0x100062eb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x100062fa
pop dword [ebp - 0x4c]
mov eax, 0xae1709e
sub eax, 0xfae10da4
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x345ac
push 0
mov eax, 0xf8dad5a1
add eax, 0x17266ac3
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x99f8c5f0
add ecx, 0x66076f64
mov esi, eax
mov edx, 0x6478b4fb
sub edx, 0x54772efb
add edx, dword [ebp - 0x4c]
mov edi, 0xbecab299
add edi, 0xae3cda03
add dword [ebp - 0x2c], 0x27e1881c
mov ebx, dword [edx]
xor dword [ebp - 0x20], 0xc5904e30
xor ebx, edi
add dword [ebp - 0x18], 0xedcb073c
mov dword [esi], ebx
mov dword [ebp - 0x1c], 0x9335ec82
add esi, 4
add edx, 4
loop 0x10006359
add eax, 0xfc51df9e
sub eax, 0xfc51177b
xor ebx, ebx
add ebx, eax
add eax, 0xbad5a250
add eax, 0x452a5db5
mov ecx, 0xf9073258
sub ecx, 0xe9073258
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret