joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40408b
Capabilities:
Hash data using sha224

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0x367cd507
mov dword [eax + 8], 0x3070dd17
mov dword [eax + 0xc], 0xf70e5939
mov dword [eax + 0x10], 0xffc00b31
mov dword [eax + 0x14], 0x68581511
mov dword [eax + 0x18], 0x64f98fa7
mov dword [eax + 0x1c], 0xbefa4fa4
ret
Function at 0x4065c4
Capabilities:
Encrypt data using rc4 prga
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
lea eax, [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
push eax
lea eax, [ebp - 0xc]
push 1
push eax
push dword [ebp + 8]
call esi
cmp byte [ebp - 0xc], 0x80
jae 0x4065f5
movzx eax, byte [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x40663e
xor byte [ebp - 0xc], 0x80
cmp byte [ebp - 0xc], 4
jbe 0x40660a
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x100
jmp 0x40663e
lea eax, [ebp - 4]
push edi
push eax
movzx eax, byte [ebp - 0xc]
push eax
lea eax, [ebp - 0xb]
push eax
push dword [ebp + 8]
call esi
movzx eax, byte [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
xor edx, edx
inc edx
cmp eax, edx
mov dword [ecx], edi
jl 0x40663e
movzx esi, byte [ebp + edx - 0xc]
shl edi, 8
add edi, esi
inc edx
cmp edx, eax
jle 0x40662d
mov dword [ecx], edi
pop edi
pop esi
leave
ret

Function at 0x406688
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 1]
push esi
push eax
push dword [ebp + 8]
call fcn.004065ab
cmp byte [ebp - 1], 0x14
pop ecx
pop ecx
jne 0x4066b9
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.004065c4
mov esi, dword [ebp - 8]
pop ecx
cmp esi, 0x50
pop ecx
jb 0x4066be
or eax, 0xffffffff
jmp 0x4066da
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push 0
push eax
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
and byte [esi + edi], 0
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x4066dd
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 1]
push esi
push eax
push dword [ebp + 8]
call fcn.004065ab
cmp byte [ebp - 1], 2
pop ecx
pop ecx
jne 0x40670e
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.004065c4
mov esi, dword [ebp - 8]
pop ecx
cmp esi, 4
pop ecx
jbe 0x406713
or eax, 0xffffffff
jmp 0x40674a
lea eax, [ebp - 0x10]
push 0
push eax
lea eax, [ebp - 0xc]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 0xc]
xor eax, eax
and dword [ecx], 0
test esi, esi
jbe 0x406748
xor edx, edx
push edi
movzx edi, byte [ebp + eax - 0xc]
shl edx, 8
add edx, edi
inc eax
cmp eax, esi
jb 0x406736
mov dword [ecx], edx
pop edi
xor eax, eax
pop esi
leave
ret
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x5d2ec0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x125000]
push edi
or ebp, 0xffffffff
jmp 0x5d2ee2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5d2ee9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5d2ed8
mov eax, 1
add ebx, ebx
jne 0x5d2efb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5d2f0c
jne 0x5d2f2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5d2f2b
dec eax
add ebx, ebx
jne 0x5d2f18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5d2ef0
add ebx, ebx
jne 0x5d2f27
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5d2f7d
xor ecx, ecx
sub eax, 3
jb 0x5d2f43
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5d2fb2
sar eax, 1
mov ebp, eax
jmp 0x5d2f4e
add ebx, ebx
jne 0x5d2f4e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5d2f1c
inc ecx
add ebx, ebx
jne 0x5d2f5c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5d2f1c
add ebx, ebx
jne 0x5d2f69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5d2f5e
jne 0x5d2f7a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5d2f5e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5d2f9c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5d2f8e
jmp 0x5d2ede
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5d2f9c
add edi, ecx
jmp 0x5d2ede
pop esi
mov edi, esi
mov ecx, 0x58a6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5d2fba
cmp byte [edi], 0x13
jne 0x5d2fba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5d2fbf
lea edi, [esi + 0x1ca000]
mov eax, dword [edi]
or eax, eax
je 0x5d302e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x265864]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x26596c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5d2fec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x265974]
or eax, eax
je 0x5d3028
mov dword [ebx], eax
add ebx, 4
jmp 0x5d3009
call dword [esi + 0x265970]
mov ebp, dword [esi + 0x265978]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5d3062
sub esp, 0xffffff80
jmp 0x4cdd08
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x55e35b5a
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..rdata
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x6bbe6bb0
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x4441b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x28000]
lea eax, [edi + 0x3a42c]
push dword [eax]
mov dword [eax], 0x662073ff
push eax
push edi
jmp 0x4441da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4441e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4441d0
mov eax, 1
add ebx, ebx
jne 0x4441f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4441e8
jne 0x444204
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4441e8
xor ecx, ecx
sub eax, 3
jb 0x444218
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x44428a
mov ebp, eax
add ebx, ebx
jne 0x444223
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x444230
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x444254
inc ecx
add ebx, ebx
jne 0x444240
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x444235
jne 0x444251
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x444235
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x444274
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x444265
jmp 0x4441d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x444274
add edi, ecx
jmp 0x4441d6
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0xc90
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x444296
cmp byte [edi], 0xe
jne 0x444296
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x44429b
lea edi, [esi + 0x41000]
mov eax, dword [edi]
or eax, eax
je 0x44430a
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x44620]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x44678]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4442c8
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x44680]
or eax, eax
je 0x444304
mov dword [ebx], eax
add ebx, 4
jmp 0x4442e5
call dword [esi + 0x4467c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x44433b
cmp al, 0xef
ja 0x44432e
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x444310
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x44431d
mov ebp, dword [esi + 0x44684]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x44396]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x444387
sub esp, 0xffffff80
jmp 0x40de3e
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43100c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
sub eax, reloc.shell32.dll_DragFinish
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x404d00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ebx, eax
cmp byte [ebx], 0
jne 0x404d32
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ebx, [ebp - 0x10c]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push ebx
call fcn.00404b70
add esp, 0x14
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea eax, [edx + eax*4]
push eax
call fcn.004054e0
pop ecx
mov esi, eax
test esi, esi
jne 0x404d65
push 1
call fcn.00404530
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
lea eax, [esi + eax*4]
push eax
push esi
push ebx
call fcn.00404b70
add esp, 0x14
mov eax, dword [ebp - 4]
dec eax
mov dword [0x407288], eax
mov dword [0x40728c], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404da0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test eax, eax
jne 0x404dbb
mov ebx, dword [0x407358]
mov esi, ebx
xor ecx, ecx
jmp 0x404dde
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x404dc6
inc eax
mov dword [ebp - 4], eax
cmp byte [esi], 0x3d
je 0x404dd9
add ecx, dword [ebp - 4]
mov eax, dword [ebp - 4]
add esi, eax
cmp byte [esi], 0
jne 0x404dc1
lea eax, [ecx + 1]
push eax
call fcn.004054e0
pop ecx
mov edi, eax
mov dword [0x407294], eax
cmp dword [0x407294], 0
jne 0x404e05
push 1
call fcn.00404530
pop ecx
mov esi, ebx
jmp 0x404e3a
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x404e0e
inc eax
mov dword [ebp - 4], eax
cmp byte [esi], 0x3d
je 0x404e35
mov ecx, edi
mov edx, esi
push ecx
sub ecx, edx
mov al, byte [edx]
mov byte [ecx + edx], al
inc edx
test al, al
jne 0x404e25
pop eax
mov eax, dword [ebp - 4]
add edi, eax
mov eax, dword [ebp - 4]
add esi, eax
cmp byte [esi], 0
jne 0x404e09
mov byte [edi], 0
cmp ebx, dword [0x407358]
je 0x404e51
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x44ea041c
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
mov ecx, 0x64e556dc
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x10001ed0
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 0x10001f28
cmp byte [esi + ebx - 1], 0xa
je 0x10001efc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x10008084], 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 0x10002550
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 0x10002728
mov edi, dword [0x10008084]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], edi
je 0x10002637
test byte [0x10003050], 8
jne 0x100026d0
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x10003060], 8
jne 0x10002690
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 0x100025d9
cmp esi, 3
jbe 0x10002648
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 0x100025ea
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 + 0x10006028]
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 0x100025d9
mov dword [esp], 0x10003060
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x100025b0
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 0x100025b0
mov dword [esp], 0x10003050
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x1000259b
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 0x100025a3
mov eax, 0xffffffff
jmp 0x10002637
Function at 0x10008163
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x1000819b
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x10008189
mov al, 1
jmp 0x10008207
cmp dword [ebx + 0x54], ecx
jne 0x10008192
mov al, 2
jmp 0x10008207
cmp dword [ebx + 0x7c], ecx
jne 0x10008207
mov al, 3
jmp 0x10008207
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x100081b0
mov al, 4
jmp 0x10008207
cmp ecx, 5
jne 0x100081d0
cmp ebx, 0
jne 0x100081be
mov al, 5
jmp 0x10008207
cmp ebx, 1
jne 0x100081c7
mov al, 6
jmp 0x10008207
cmp ebx, 2
jne 0x100081d0
mov al, 7
jmp 0x10008207
cmp ecx, 0xa
jne 0x100081d7
jmp 0x10008205
cmp ecx, 6
jne 0x10008207
cmp ebx, 0
jne 0x100081e5
mov al, 8
jmp 0x10008207
cmp ebx, 1
jne 0x100081ee
mov al, 9
jmp 0x10008207
cmp ebx, 2
jne 0x100081f7
mov al, 0xa
jmp 0x10008207
cmp ebx, 3
jne 0x10008200
mov al, 0xb
jmp 0x10008207
cmp ebx, 4
jne 0x10008207
mov al, 0xc
pop ebx
leave
ret
Function at 0x10063aa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100dd400
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.100d29a8
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.10067db0
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x10063af4
jmp dword [ecx*4 + 0x10063c5c]
mov al, byte [esi]
test al, al
je 0x10063b22
cmp al, 0x20
je 0x10063b0e
cmp al, 0xa1
jne 0x10063b22
cmp byte [esi + 1], al
jne 0x10063b22
test al, 0x80
je 0x10063b1a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x10063b22
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10063b01
test ecx, ecx
je case.default.0x10063af4
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x10063af4
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x10063b68
cmp dl, 0xa1
jne 0x10063b5c
cmp byte [eax + 1], 0xa1
jne 0x10063b5c
test ecx, ecx
jne 0x10063b54
mov edi, eax
mov ecx, 1
inc eax
jmp 0x10063b7c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x10063b96
jmp 0x10063b7c
cmp dl, 0x20
jne 0x10063b7a
test ecx, ecx
jne 0x10063b73
mov edi, eax
mov ecx, 1
jmp 0x10063b7c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x10063b3c
cmp ecx, 1
jne case.default.0x10063af4
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10063af4
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10063af4
mov al, byte [esi]
test al, al
je 0x10063bee
test al, 0x80
mov byte [esp + 0x3c], al
je 0x10063bd4
mov cl, byte [esi + 1]
test cl, cl
je 0x10063bee
cmp al, 0xa1
jne 0x10063bc4
cmp cl, al
je 0x10063bd1
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.10068080
inc esi
jmp 0x10063be6
cmp al, 0x20
je 0x10063be6
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.100680c0
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10063bad
push 0
lea ecx, [esp + 0x14]
call fcn.100680c0
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10071200
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x10063c21
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x10106598
call fcn.10067fb0
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.100d293a
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x1006bcf0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x100dd81b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.100d26af
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x1006bd72
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.100d0595
mov eax, dword [eax]
push 0x1011edf0
push eax
call fcn.100c32e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.100d293a
test bl, bl
je 0x1006bd72
push 0x1011edf0
lea ecx, [esp + 0xc]
call fcn.100d2cca
push 0x1011edfc
lea ecx, [esp + 0xc]
call fcn.100d2cca
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x1006bdae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.100d293a
jmp 0x1006be79
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x1006be32
lea edx, [esp + 0x7c]
push 0x1011edf8
push edx
call fcn.100c32e4
add esp, 8
test eax, eax
je 0x1006be32
lea eax, [esp + 0x7c]
push 0x1011edf4
push eax
call fcn.100c32e4
add esp, 8
test eax, eax
je 0x1006be32
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1006bdc2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.100d293a
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x1006c680
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x1006c6e2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc