joyce8/EMBER2024-capa huggingface dataset:
Function at 0x476140
Capabilities:
Read data from internet
Receive data

Disassembly:
push 0x20
mov eax, 0x4a1e1c
call fcn.0049fa65
mov dword [ebp - 0x20], ecx
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], esi
push esi
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
push eax
mov eax, dword [ebp - 0x20]
push dword [eax + 8]
call dword [sym.imp.wininet.dll_InternetQueryDataAvailable]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x476244
cmp dword [ebp - 0x14], 0
jbe 0x476242
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.00434bb3
pop ecx
mov ecx, dword [ebp - 0x14]
mov ebx, eax
inc ecx
mov dword [ebp - 0x18], ebx
push ecx
push esi
push ebx
call dword [sym.imp.VCRUNTIME140.dll_memset]
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
push ebx
push dword [eax + 8]
call dword [sym.imp.wininet.dll_InternetReadFile]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
jne 0x4761c8
mov dword [ebp - 0x14], esi
jmp 0x4761da
cmp dword [ebp - 0x14], 0
jbe 0x4761da
push dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
push ebx
call fcn.0046a372
or dword [ebp - 4], 0xffffffff
jmp 0x47622e
push ebx
call fcn.0048844b
cmp dword [ebp - 0x14], 0
pop ecx
mov dword [ebp - 0x18], esi
ja 0x476157
test edi, edi
setne al
call fcn.0049f9ca
ret 4
Function at 0x47628a
Capabilities:
Check http status code

Disassembly:
push 0xa4
mov eax, 0x4a1e7b
call fcn.0049fa2f
mov edi, ecx
mov ebx, dword [ebp + 8]
xor eax, eax
push eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xac], 4
push eax
push 0x20000013
push dword [edi + 8]
call dword [sym.imp.wininet.dll_HttpQueryInfoW]
test eax, eax
je 0x4764e8
cmp dword [ebp - 0xa8], 0xc8
jne 0x4764e8
push 0
lea eax, [ebp - 0xa4]
push eax
push 0
push 0x16
push dword [edi + 8]
call dword [sym.imp.wininet.dll_HttpQueryInfoW]
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x4764e8
xor ecx, ecx
inc eax
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00434bb3
mov ecx, dword [ebp - 0xa4]
mov esi, eax
lea ecx, [ecx*2 + 2]
push ecx
push 0
push esi
call dword [sym.imp.VCRUNTIME140.dll_memset]
add esp, 0x10
lea eax, [ebp - 0xa4]
push 0
push eax
push esi
push 0x16
push dword [edi + 8]
call dword [sym.imp.wininet.dll_HttpQueryInfoW]
test eax, eax
je 0x4764e8
push esi
lea ecx, [ebp - 0x28]
call fcn.00434bb3
and dword [ebp - 4], 0
push esi
call fcn.0048844b
mov esi, 0x4b9420
lea ecx, [ebp - 0x28]
push esi
call fcn.00434bb3
or edi, 0xffffffff
jmp 0x4764d4
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00434bb3
push eax
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00434bb3
push ecx
push 0x4b9428
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00434bb3
cmp eax, edi
je 0x476477
push ecx
mov esi, 0x4b9428
lea ecx, [ebp - 0x40]
push esi
call fcn.00434bb3
push eax
push 0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x40]
call fcn.00434bb3
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.00434bb3
push edi
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.00434bb3
inc eax
lea ecx, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00434bb3
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00434bb3
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x88]
call fcn.0046ee68
mov esi, eax
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.0046ee68
push eax
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 5
push eax
mov ecx, ebx
call fcn.00434bb3
push esi
mov ecx, dword [eax]
add ecx, 0x28
call fcn.00434bb3
lea ecx, [ebp - 0xa0]
call fcn.0046a23d
lea ecx, [ebp - 0x88]
call fcn.0046a23d
lea ecx, [ebp - 0x58]
call fcn.0046d98d
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.0046d98d
mov esi, 0x4b9420
push edi
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00434bb3
add eax, 2
lea ecx, [ebp - 0x28]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00434bb3
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4764ae
mov ecx, eax
call fcn.0046d98d
push esi
lea ecx, [ebp - 0x28]
call fcn.00434bb3
lea ecx, [ebp - 0x88]
call fcn.0046d98d
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.0046d98d
push ecx
mov esi, 0x4b9420
lea ecx, [ebp - 0x28]
push esi
call fcn.00434bb3
cmp eax, edi
jne 0x476386
lea ecx, [ebp - 0x28]
call fcn.0046d98d
mov al, 1
jmp 0x4764ea
xor al, al
call fcn.0049f9de
ret 4
Function at 0x477ae3
Capabilities:
Get common file path

Disassembly:
push 0x86c
mov eax, 0x4a224c
call fcn.0049fa2f
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x878], esi
push 0x802
xor ebx, ebx
mov dword [ebp - 0x878], esi
lea eax, [ebp - 0x814]
push ebx
push eax
call dword [sym.imp.VCRUNTIME140.dll_memset]
add esp, 0xc
lea eax, [ebp - 0x814]
push eax
push ebx
push ebx
push 0x801a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x477c46
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x844]
call fcn.00434bb3
mov edx, edi
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x85c]
call fcn.0046ef25
push eax
mov edx, str.AdobeHeadlightsCCHLLog_
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x874]
call fcn.00434bb3
mov byte [ebp - 4], 5
mov ecx, eax
mov dword [esp], 0x4b9560
call fcn.00434bb3
push eax
lea ecx, [ebp - 0x82c]
mov dword [ebp - 0x82c], ebx
mov dword [ebp - 0x81c], ebx
mov dword [ebp - 0x818], ebx
call fcn.00434bb3
mov byte [ebp - 4], 6
lea eax, [ebp - 0x82c]
cmp dword [ebp - 0x818], 8
lea ecx, [ebp - 0x844]
push dword [ebp - 0x81c]
cmovae eax, dword [ebp - 0x82c]
push eax
call fcn.00472323
lea ecx, [ebp - 0x82c]
call fcn.0046d98d
lea ecx, [ebp - 0x874]
call fcn.0046d98d
lea ecx, [ebp - 0x85c]
mov byte [ebp - 4], bl
call fcn.0046d98d
lea edx, [ebp - 0x844]
lea ecx, [ebp - 0x85c]
call fcn.004711e9
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.004708e3
lea ecx, [ebp - 0x85c]
mov byte [ebp - 4], 0
mov bl, al
call fcn.0046d98d
test bl, bl
je 0x477c37
lea edx, [ebp - 0x844]
mov ecx, esi
call fcn.0046ee68
lea ecx, [ebp - 0x844]
call fcn.0046d98d
jmp 0x477c52
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x844]
call fcn.0046d98d
push 0x4adacc
mov ecx, esi
call fcn.00434bb3
mov eax, esi
call fcn.0049f9de
ret

Function at 0x477c5a
Capabilities:
Get common file path

Disassembly:
push 0x83c
mov eax, 0x4a229b
call fcn.0049fa2f
mov esi, ecx
mov dword [ebp - 0x848], esi
push 0x802
xor ebx, ebx
mov dword [ebp - 0x848], esi
lea eax, [ebp - 0x814]
push ebx
push eax
call dword [sym.imp.VCRUNTIME140.dll_memset]
add esp, 0xc
lea eax, [ebp - 0x814]
push eax
push ebx
push ebx
push 0x801a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x477d2d
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x82c]
call fcn.00434bb3
push 0x20
push str.AdobeRTTransferRTDebugLog.txt
lea ecx, [ebp - 0x82c]
mov dword [ebp - 4], ebx
call fcn.00472323
lea edx, [ebp - 0x82c]
lea ecx, [ebp - 0x844]
call fcn.004711e9
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.004708e3
lea ecx, [ebp - 0x844]
mov byte [ebp - 4], 0
mov bl, al
call fcn.0046d98d
test bl, bl
je 0x477d1e
lea edx, [ebp - 0x82c]
mov ecx, esi
call fcn.0046ee68
lea ecx, [ebp - 0x82c]
call fcn.0046d98d
jmp 0x477d39
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x82c]
call fcn.0046d98d
push 0x4adacc
mov ecx, esi
call fcn.00434bb3
mov eax, esi
call fcn.0049f9de
ret
Function at 0x47f3f2
Capabilities:
Get common file path

Disassembly:
push 0x278
mov eax, 0x4a3862
call fcn.0049fa2f
mov ebx, ecx
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x284], ebx
mov eax, dword fs:[0x2c]
xor esi, esi
mov dword [ebp - 0x284], ebx
mov edi, 0x4cb43c
mov ecx, dword [eax]
mov eax, dword [0x4cb438]
cmp eax, dword [ecx + 4]
jle 0x47f46f
push 0x4cb438
call fcn.00434bb3
cmp dword [0x4cb438], 0xffffffff
pop ecx
jne 0x47f46f
push 0x4b9024
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.00434bb3
push 0x4a6690
call fcn.00434bb3
or dword [ebp - 4], 0xffffffff
mov dword [esp], 0x4cb438
call fcn.00434bb3
pop ecx
cmp dword [0x4cb44c], 0
jne 0x47f590
push 0x20a
lea eax, [ebp - 0x21c]
push esi
push eax
call dword [sym.imp.VCRUNTIME140.dll_memset]
add esp, 0xc
call fcn.00434bb3
test al, al
je 0x47f563
push str.LogSession
lea ecx, [ebp - 0x24c]
call fcn.00434bb3
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 1
call fcn.00477e85
mov ebx, eax
lea ecx, [ebp - 0x264]
push 0x4adacc
mov eax, dword [ebx]
mov edi, dword [eax + 0x40]
call fcn.00434bb3
mov esi, eax
push str.IE_is_protected_mode_
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
call fcn.00434bb3
push esi
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call dword [0x4a75c0]
mov ecx, ebx
call edi
lea ecx, [ebp - 0x234]
call fcn.0046a23d
lea ecx, [ebp - 0x264]
call fcn.0046a23d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.0046a23d
lea ecx, [ebp - 0x27c]
call fcn.00474779
mov esi, eax
mov edi, 0x4cb43c
cmp esi, edi
je 0x47f550
mov ecx, edi
call fcn.0046d98d
push esi
mov ecx, edi
call fcn.00434bb3
lea ecx, [ebp - 0x27c]
call fcn.0046d98d
mov ebx, dword [ebp - 0x280]
jmp 0x47f590
lea eax, [ebp - 0x21c]
push eax
push esi
push esi
push 0x801a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
lea ecx, [ebp - 0x21c]
mov eax, 0x4b9024
cmovne ecx, eax
push ecx
mov ecx, edi
call fcn.00434bb3
push edi
mov ecx, ebx
call fcn.004723ba
mov eax, ebx
call fcn.0049f9de
ret

Function at 0x47f7a8
Capabilities:
Get session user name

Disassembly:
push 0x254
mov eax, 0x4a38b6
call fcn.0049fa2f
mov esi, ecx
mov dword [ebp - 0x260], esi
xor eax, eax
mov dword [ebp - 0x260], esi
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x260], 0x100
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x25c]
call fcn.00434bb3
and dword [ebp - 4], 0
lea edx, [ebp - 0x25c]
lea ecx, [ebp - 0x22c]
call fcn.0046ee68
push str.AdobeHeadlights
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 1
call fcn.00434bb3
mov byte [ebp - 4], 2
lea eax, [ebp - 0x22c]
cmp dword [ebp - 0x218], 0x10
lea ecx, [ebp - 0x244]
push dword [ebp - 0x21c]
cmovae eax, dword [ebp - 0x22c]
push eax
call fcn.0046a372
push eax
mov ecx, esi
call fcn.00469e2b
lea ecx, [ebp - 0x244]
call fcn.0046a23d
lea ecx, [ebp - 0x22c]
call fcn.0046a23d
lea ecx, [ebp - 0x25c]
call fcn.0046d98d
mov eax, esi
call fcn.0049f9de
ret
Function at 0x47fe6f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xf4
mov eax, 0x4a39c0
call fcn.0049fa2f
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x48], eax
cmp dword [ecx], ebx
jne 0x47fe97
xor al, al
jmp 0x47ff75
push 0x802
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x4c], 0x400
call fcn.00434bb3
mov dword [esp], 0x802
mov edi, eax
push ebx
push edi
call dword [sym.imp.VCRUNTIME140.dll_memset]
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x47fec9
mov eax, dword [esi]
lea ecx, [ebp - 0x4c]
push ecx
push edi
lea ecx, [ebp - 0x44]
push ecx
push ebx
push eax
mov eax, dword [ebp - 0x50]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cdq
cmp eax, ebx
jne 0x47ff55
cmp edx, ebx
jne 0x47ff55
cmp dword [ebp - 0x44], 4
jne 0x47ff48
mov esi, dword [edi]
push ecx
lea ecx, [ebp - 0x100]
call fcn.0048014f
push esi
lea ecx, [ebp - 0xf0]
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int_]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xe8]
call fcn.0047276e
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x28]
push eax
call fcn.00434bb3
lea ecx, [ebp - 0x28]
call fcn.0046d98d
lea ecx, [ebp - 0x98]
call fcn.0048011f
lea ecx, [ebp - 0x98]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
jmp 0x47ff51
mov ecx, dword [ebp - 0x48]
push edi
call fcn.00434bb3
mov bl, 1
jmp 0x47ff6c
push esi
mov edx, str.Query_registry_value_with_key:
lea ecx, [ebp - 0x40]
call fcn.00434bb3
pop ecx
lea ecx, [ebp - 0x40]
call fcn.0046d98d
push edi
call fcn.0048844b
pop ecx
mov al, bl
call fcn.0049f9de
ret 8

Function at 0x48ab60
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
push esi
xor esi, esi
cmp ecx, edx
je 0x48ab95
nop
movsx eax, byte [ecx]
inc ecx
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor esi, eax
rol esi, 0xd
add esi, 0xfaddaf14
lea esi, [esi + esi*4]
cmp ecx, edx
jne 0x48ab70
mov eax, 3
mov ecx, esi
mul esi
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 0x1e
imul ecx, ecx, 0x7fffffff
sub esi, ecx
or esi, 0x40000000
mov eax, esi
pop esi
ret
Function at 0x44d00e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x46c2ac]
test eax, eax
je 0x44d04d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44d04d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44d04d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x44d04d
cmp dword [ecx + 0x74], 0xe
jbe 0x44d04d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x100010f0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
sub esp, 0xc
mov edx, dword [0x10009004]
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 0x10001130
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
sub esp, 0xc
mov edx, dword [0x100090c8]
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 0x10001170
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
sub esp, 0xc
mov edx, dword [0x100090cc]
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 0x100011b0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
sub esp, 0xc
mov edx, dword [0x100090d0]
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 0x100011f0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
sub esp, 0xc
mov edx, dword [0x1000913c]
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 0x100017b0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x10]
push ebx
sub esp, 0x14
mov dword [ebp - 0x10], 0
mov ebx, dword [0x1000b164]
mov dword [esp + 8], 1
mov dword [esp + 4], esi
mov dword [esp], 0
call ebx
sub esp, 0xc
cmp eax, 0x7a
je 0x100017f0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x100017e6
mov dword [esp + 8], 1
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [ebp - 0x14], eax
call ebx
mov edx, dword [ebp - 0x14]
sub esp, 0xc
test eax, eax
jne 0x10001850
mov dword [0x10009004], edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x100017e6

Function at 0x100018e0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x10]
push ebx
sub esp, 0x14
mov dword [ebp - 0x10], 0
mov ebx, dword [0x1000b154]
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], 0
call ebx
sub esp, 0xc
cmp eax, 0x7a
je 0x10001920
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x10001916
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [ebp - 0x14], eax
call ebx
mov edx, dword [ebp - 0x14]
sub esp, 0xc
test eax, eax
jne 0x10001980
mov dword [0x100090c8], edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x10001916
Function at 0x100019b0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x10]
push ebx
sub esp, 0x14
mov dword [ebp - 0x10], 0
mov ebx, dword [0x1000b150]
mov dword [esp + 8], 1
mov dword [esp + 4], esi
mov dword [esp], 0
call ebx
sub esp, 0xc
cmp eax, 0x7a
je 0x100019f0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x100019e6
mov dword [esp + 8], 1
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [ebp - 0x14], eax
call ebx
mov edx, dword [ebp - 0x14]
sub esp, 0xc
test eax, eax
jne 0x10001a50
mov dword [0x100090cc], edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x100019e6

Function at 0x10001a80
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x10]
push ebx
sub esp, 0x14
mov dword [ebp - 0x10], 0
mov ebx, dword [0x1000b14c]
mov dword [esp + 8], 1
mov dword [esp + 4], esi
mov dword [esp], 0
call ebx
sub esp, 0xc
cmp eax, 0x7a
je 0x10001ac0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x10001ab6
mov dword [esp + 8], 1
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [ebp - 0x14], eax
call ebx
mov edx, dword [ebp - 0x14]
sub esp, 0xc
test eax, eax
jne 0x10001b20
mov dword [0x100090d0], edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x10001ab6
Function at 0x10001b70
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x10]
push ebx
sub esp, 0x14
mov dword [ebp - 0x10], 0
mov ebx, dword [0x1000b148]
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], 0
call ebx
sub esp, 0xc
cmp eax, 0x7a
je 0x10001bb0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x10001ba6
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [ebp - 0x14], eax
call ebx
mov edx, dword [ebp - 0x14]
sub esp, 0xc
test eax, eax
jne 0x10001c10
mov dword [0x1000913c], edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x10001ba6

Function at 0x100038a0
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 0x100038f8
cmp byte [esi + ebx - 1], 0xa
je 0x100038cc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x100091c4], 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 0x10003f20
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 0x100040f8
mov edi, dword [0x100091c4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], edi
je 0x10004007
test byte [0x1000572c], 8
jne 0x100040a0
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x1000573c], 8
jne 0x10004060
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
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x10003fa9
cmp esi, 3
jbe 0x10004018
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 0x10003fba
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 + 0x1000726c]
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 0x10003fa9
mov dword [esp], 0x1000573c
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x10003f80
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
add edi, eax
jmp 0x10003f80
mov dword [esp], 0x1000572c
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x10003f6b
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
lea edi, [ebx + eax]
jmp 0x10003f73
mov eax, 0xffffffff
jmp 0x10004007