joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414735
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x414763
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x414781
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041469f
jmp 0x414781
mov eax, dword [esi + 0x14]
test eax, eax
je 0x414781
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0041469f
test edi, edi
mov eax, edi
jne 0x41476b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x41daf4]
test ecx, ecx
je 0x414834
jmp 0x414734
ret 8
Function at 0x13a73320
Capabilities:
Encode data using xor

Disassembly:
call 0x13a73299
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x13a732c9
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x13a732e5
xor edx, 0
jmp 0x13a732f0
xor edx, edx
jmp 0x13a73307
jmp 0x13a73313
xor eax, eax
push 0x8427d7c0
call 0x13a73320
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x13a7335c
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x13a73335
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x13a73373
add eax, 0
jno 0x13a73378
add esi, 0
ret 0x10

Function at 0x13a740e1
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x13a74103
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x13a742a5
cmp edi, dword [ebp + 0x10]
jb 0x13a742a5
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.13a73bcd
inc edi
jmp 0x13a7418c
jmp 0x13a74199
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.13a73bcd
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.13a73bcd
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x13a741ed
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x13a741d1
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.13a7421b
add dword [eax], 0x39
jle 0x13a741f7
sub al, 0xf5
mov ch, al
call fcn.13a74230
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x13a75f08
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x13a75f1e
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x13a75f2f
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.13a75f70
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x13a782dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x13a78225
add ebx, 0
push ecx
call 0x13a7823a
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x71367293
sub ebx, dword [0x71386ad2]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x71386ac2
call fcn.13a73d04
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.13a73212
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x13a78398
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x13a78398
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x13a7834f
mov eax, 1
lock xchg dword [0x71386ace], eax
push 0x3dd1fc71
call 0x13a782dc
push esi
add esp, 8
cmp eax, 0
jne 0x13a782c5
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x13a782eb
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x13a78300
cmp ecx, edx
cmp eax, 0
je 0x13a78325
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x13a7830f
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.13a7833e
dec eax
loope 0x13a78341
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x71386ace], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x13a78375
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x13a7838a
jmp 0x13a78395
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x13a78283
Function at 0x13a7f3fd
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x13a7f6d3
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x71373746
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x7136a70c
push 0xffffffffffffffff
call fcn.13a765fd
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x13a7f467
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.13a7f47f
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x13a7f6c7
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x13a7f69b
Function at 0x13a8eecd
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x13a8eeef
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x13a8eeef
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x13a8eeef
ret
cmp word [ebx + 4], 0x14c
jne 0x13a8eeef
test word [ebx + 0x16], 2
je 0x13a8eeef
test word [ebx + 0x16], 0x100
je 0x13a8eeef
cmp word [ebx + 0x18], 0x10b
jne 0x13a8eeef
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x13a8eeef
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x13a8ef7b
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x13a8ef0f
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.13a75e5a
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x13a8eeef
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x13a8ef7b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x13a8eeef
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x13a8eeef
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x13a8eeef
ret
cmp word [ebx + 4], 0x14c
jne 0x13a8eeef
test word [ebx + 0x16], 2
je 0x13a8eeef
test word [ebx + 0x16], 0x100
je 0x13a8eeef
cmp word [ebx + 0x18], 0x10b
jne 0x13a8eeef
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x13a8eeef
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x13a8ef7b
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x13a8ef0f
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.13a75e5a
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x13a8eeef
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x13a8f032
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x13a8f08b
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x13a8f032
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x13a8f041
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x13e94ce4
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x13a8f092
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.13a75f08
cmp eax, dword [ebp + 0xc]
pop eax
je 0x13a8f131
add edi, 4
add eax, 2
dec ecx
jne 0x13a8f077
call 0x13a8f0de
loope 0x13a8f0d4
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x13a8f12e
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x13a8f13f
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x13a8f0f2
cmp eax, ecx
ja 0x13a8f0f2
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x13a8f17c
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x13a8f172
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.13a763e7
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x13a8f041
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x13a8f08b
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x13a8f032
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x13a8f041
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x13e94ce4
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x13a8f092
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.13a75f08
cmp eax, dword [ebp + 0xc]
pop eax
je 0x13a8f131
add edi, 4
add eax, 2
dec ecx
jne 0x13a8f077
call 0x13a8f0de
loope 0x13a8f0d4
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x13a8f12e
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x13a8f13f
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x13a8f0f2
cmp eax, ecx
ja 0x13a8f0f2
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x13a8f17c
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x13a8f172
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.13a763e7
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x4013b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
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 0x40140b
cmp byte [esi + ebx - 1], 0xa
je 0x4013df
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4050a4], 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]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x4019e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0xf0
mov edi, dword [0x4050b4]
mov esi, dword [ebp + 8]
test edi, edi
je 0x401ba0
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x4050b4]
movzx eax, al
bt eax, esi
jae 0x401c00
mov ecx, dword [0x4050a4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x401aa6
test byte [0x402028], 8
jne 0x401b40
lea ebx, [esp + 0x28]
mov edi, ebx
test byte [0x402038], 8
jne 0x401af0
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 dbg.sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x401a75
cmp esi, 3
jbe 0x401ab0
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 8], str._s:_s:_s
lea edx, [edi + 1]
mov dword [esp], eax
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x403130]
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 0x401a75
mov ecx, dword [0x4050b4]
test ecx, ecx
je 0x401be0
mov dword [esp], 0x402038
call dword [0x4050b4]
test al, 8
je 0x401a4c
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 dbg.sprintf
add edi, eax
jmp 0x401a4c
mov ebx, dword [0x4050b4]
test ebx, ebx
je 0x401bc0
mov dword [esp], 0x402028
call dword [0x4050b4]
test al, 8
je 0x401a39
call dword [sym.imp.kernel32.dll_GetTickCount]
lea ebx, [esp + 0x28]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mov eax, 0x10624dd3
mov dword [esp], ebx
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call dbg.sprintf
lea edi, [ebx + eax]
jmp 0x401a3f
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x4050b4
call sym._load_func.part.0
jmp 0x401a00
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x4050b4
call sym._load_func.part.0
jmp 0x401b4a
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x4050b4
call sym._load_func.part.0
jmp 0x401afe
mov eax, 0xffffffff
jmp 0x401aa6
Function at 0x401d70
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_narrow_argv
call sym.__initialize_narrow_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___argv
mov edi, dword [eax]
call sym.__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call dbg.main
mov dword [esp], eax
call sym._exit
Function at 0x10008d48
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
or dword [ebp - 0x14], 0xffffffff
push ebx
push esi
xor esi, esi
push edi
mov ebx, 0x126
push ebx
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call fcn.10009396
pop ecx
cmp eax, esi
jne 0x10008d7a
xor eax, eax
jmp 0x10008da0
mov edx, 0x1001dc18
xor edi, edi
sub edx, eax
mov ebx, edi
and ebx, 0xf
mov bl, byte [ebx + 0x1001dc04]
lea ecx, [edi + eax]
xor bl, byte [edx + ecx]
inc edi
mov byte [ecx], bl
mov ebx, 0x126
cmp edi, ebx
jb 0x10008d83
mov dword [ebp - 0x1c], eax
cmp eax, esi
jne 0x10008daf
push 0xfffffffffffffffe
pop eax
jmp 0x10008ee9
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push esi
push 0x8000
push ebx
push eax
mov eax, dword [0x1001e3f4]
push 8
push 1
call dword [eax]
test eax, eax
je 0x10008e4b
push 0xf0000000
push 1
push esi
push esi
lea eax, [ebp - 4]
push eax
mov eax, dword [0x1001e3f0]
call dword [eax + 0x44]
test eax, eax
jne 0x10008e00
push 0xf0000008
push 1
push esi
push esi
lea eax, [ebp - 4]
push eax
mov eax, dword [0x1001e3f0]
call dword [eax + 0x44]
test eax, eax
je 0x10008e4b
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
mov eax, dword [0x1001e3f4]
push 0x10001
push dword [ebp - 4]
call dword [eax + 4]
test eax, eax
je 0x10008e4b
lea eax, [ebp - 8]
push eax
mov eax, dword [0x1001e3f0]
push esi
push esi
push 0x8004
push dword [ebp - 4]
call dword [eax + 0x48]
test eax, eax
je 0x10008e4b
mov eax, dword [0x1001e3f0]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [eax + 0x4c]
test eax, eax
jne 0x10008e53
call dword [0x1001707c]
jmp 0x10008e98
mov eax, dword [ebp + 8]
xor edi, edi
add eax, 0xff
mov ecx, dword [ebp + 8]
mov bl, byte [eax]
lea edx, [edi + ecx]
mov cl, byte [edx]
mov byte [edx], bl
inc edi
mov byte [eax], cl
dec eax
cmp edi, 0x80
jb 0x10008e5d
mov eax, dword [0x1001e3f0]
push esi
push esi
push dword [ebp - 0xc]
push 0x100
push dword [ebp + 8]
push dword [ebp - 8]
call dword [eax + 0x50]
test eax, eax
je 0x10008e98
mov dword [ebp - 0x14], 1
cmp dword [ebp - 8], esi
je 0x10008ea8
push dword [ebp - 8]
mov eax, dword [0x1001e3f0]
call dword [eax + 0x5c]
cmp dword [ebp - 0xc], esi
je 0x10008eb8
push dword [ebp - 0xc]
mov eax, dword [0x1001e3f0]
call dword [eax + 0x58]
cmp dword [ebp - 4], esi
je 0x10008ec9
mov eax, dword [0x1001e3f0]
push esi
push dword [ebp - 4]
call dword [eax + 0x54]
cmp dword [ebp - 0x10], esi
je 0x10008ed9
push dword [ebp - 0x10]
mov eax, dword [0x1001e3e4]
call dword [eax + 0x2c]
mov eax, 0x126
lea ecx, [ebp - 0x1c]
call fcn.100093ac
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10008eee
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
mov ebx, eax
push edi
mov edi, ecx
mov ecx, ebx
cmp ebx, dword [ebp + 8]
jae 0x10008f26
push 0x5a
xor edx, edx
mov eax, ecx
pop esi
div esi
mov eax, dword [ebp + 0xc]
mov al, byte [edx + eax]
xor al, byte [ecx + edi]
je 0x10008f21
inc ecx
cmp ecx, dword [ebp + 8]
jb 0x10008f05
jmp 0x10008f26
sub ecx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
inc eax
push eax
call fcn.10009396
xor esi, esi
pop ecx
mov dword [ebp - 8], eax
cmp eax, esi
jne 0x10008f41
mov eax, 0x1001e450
jmp 0x10008f73
cmp dword [ebp - 4], esi
jbe 0x10008f70
mov dword [ebp + 8], ebx
sub dword [ebp + 8], eax
add edi, ebx
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add ecx, esi
add eax, ecx
xor edx, edx
push 0x5a
pop ebx
div ebx
mov eax, dword [ebp + 0xc]
mov al, byte [edx + eax]
xor al, byte [edi + esi]
inc esi
mov byte [ecx], al
cmp esi, dword [ebp - 4]
jb 0x10008f4e
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10008f78
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push edi
mov edi, eax
mov ecx, esi
cmp esi, dword [ebp + 8]
jae 0x10008fac
push 0x5a
xor edx, edx
mov eax, ecx
pop ebx
div ebx
mov eax, dword [ebp + 0xc]
mov al, byte [edx + eax]
xor al, byte [ecx + edi]
je 0x10008fa7
inc ecx
cmp ecx, dword [ebp + 8]
jb 0x10008f8b
jmp 0x10008fac
sub ecx, esi
mov dword [ebp - 4], ecx
mov ebx, dword [ebp - 4]
lea eax, [ebx + ebx + 2]
push eax
call fcn.10009396
pop ecx
mov dword [ebp + 8], eax
test eax, eax
jne 0x10008fc8
mov eax, 0x1001e454
jmp 0x10008ff3
xor ecx, ecx
test ebx, ebx
je 0x10008ff3
add edi, esi
xor edx, edx
push 0x5a
lea eax, [ecx + esi]
pop ebx
div ebx
mov eax, dword [ebp + 0xc]
mov al, byte [edx + eax]
xor al, byte [edi + ecx]
movzx edx, al
mov eax, dword [ebp + 8]
mov word [eax + ecx*2], dx
inc ecx
cmp ecx, dword [ebp - 4]
jb 0x10008fd0
pop edi
pop ebx
leave
ret

Function at 0x100095a5
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esi]
inc eax
push eax
call fcn.10009396
pop ecx
xor ecx, ecx
cmp eax, ecx
je 0x100095d1
cmp dword [esi], ecx
jbe 0x100095d1
mov edx, ecx
and edx, 3
mov dl, byte [edx + esi + 0x108]
xor dl, byte [esi + ecx + 4]
mov byte [ecx + eax], dl
inc ecx
cmp ecx, dword [esi]
jb 0x100095b9
ret