joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c2090
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x79000]
push edi
jmp 0x4c20aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4c20b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c20a0
mov eax, 1
add ebx, ebx
jne 0x4c20c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4c20d4
jne 0x4c20f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c20f3
dec eax
add ebx, ebx
jne 0x4c20e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4c20b8
add ebx, ebx
jne 0x4c20ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4c2145
xor ecx, ecx
sub eax, 3
jb 0x4c210b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4c217a
sar eax, 1
mov ebp, eax
jmp 0x4c2116
add ebx, ebx
jne 0x4c2116
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c20e4
inc ecx
add ebx, ebx
jne 0x4c2124
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c20e4
add ebx, ebx
jne 0x4c2131
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4c2126
jne 0x4c2142
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4c2126
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4c2164
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4c2156
jmp 0x4c20a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4c2164
add edi, ecx
jmp 0x4c20a6
pop esi
mov edi, esi
mov ecx, 0x397e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4c2182
cmp byte [edi], 0x11
jne 0x4c2182
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 0x4c2187
lea edi, [esi + 0xbf000]
mov eax, dword [edi]
or eax, eax
je 0x4c21ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd611c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd6220]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4c21b4
mov ecx, edi
jns 0x4c21e3
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 + 0xd6224]
or eax, eax
je 0x4c21f9
mov dword [ebx], eax
add ebx, 4
jmp 0x4c21d1
call dword [esi + 0xd6234]
mov ebp, dword [esi + 0xd6228]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4c2233
sub esp, 0xffffff80
jmp 0x45b9bf
Function at 0x40a8fc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 0xc]
mov byte [ebp - 0x1c], 0x41
push eax
lea eax, [ebp - 4]
push 0
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1b], 0x34
mov byte [ebp - 0x1a], 0x40
push 0x10
push eax
push dword [ebp + 8]
mov byte [ebp - 0x19], 0x35
mov byte [ebp - 0x18], 0xde
mov byte [ebp - 0x17], 0x34
mov byte [ebp - 0x16], 0x41
mov byte [ebp - 0x15], 0x67
mov byte [ebp - 0x14], 0x34
mov byte [ebp - 0x13], 0x41
mov byte [ebp - 0x12], 0x34
mov byte [ebp - 0x11], 0x40
mov byte [ebp - 0x10], 0x40
mov byte [ebp - 0xf], 0x3a
mov byte [ebp - 0xe], 0xde
mov byte [ebp - 0xd], 0x34
mov byte [ebp - 0xc], 0xa9
mov byte [ebp - 0xb], 0x98
mov byte [ebp - 0xa], 0x7d
mov byte [ebp - 9], 0xd3
mov byte [ebp - 8], 0x90
mov byte [ebp - 7], 0x7b
mov byte [ebp - 6], 0xa9
mov byte [ebp - 5], 0x8a
mov dword [ebp - 4], 0x100
call fcn.0040a6f8
add esp, 0x1c
push 1
pop eax
leave
ret
Function at 0x6dbdde
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 0x40]
je 0x6db4e7
bt sp, 0xd
clc
add eax, edi
call fcn.00982520
and ebx, esi
shr dword [ecx + 0x29b7c0ea], 1
push 0x4d04c9d5
add al, 0xc7
pop edi
les ax, [ebp + 0x7c]
sal bh, cl
scasb al, byte es:[edi]
rol dword [esi + 0x44], 0xd8
push esi
xchg esp, eax
test dword [edx - 0x53b6f5b8], 0x6633434e
push ss
or cl, byte [ecx - 0x54]
dec esi
inc ebx
xor esp, dword [esi + 0x16]
stosd dword es:[edi], eax
sub al, 0x5d
push esi
adc dh, cl
jae 0x6dbe16
std
pushal
cld
movsd dword es:[edi], dword [esi]
cmp byte [ebx + esi*8], bl
mov dl, 0x3c
xchg ecx, eax
pop esi
mov ebp, 0x5bc39fca
mov esi, 0x3363a80f
fnstcw word [ecx + 0x75e455c9]
in eax, 0x42
xor byte [eax], 0xae
in eax, 0x95
aam 0x18
test eax, 0x6e9ff05e
pop ds
cmc
scasb al, byte es:[edi]
movsb byte es:[edi], byte [esi]
and eax, dword [ecx - 0x1f13133]
sbb ebp, ebx
jne 0x6dbe33
lahf
ret
cmpsd dword [esi], dword es:[edi]
out 0xc3, al
iretd

Function at 0x97d2b4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 0x30]
jmp 0x9815ac
mov byte [esp + 4], dh
jmp 0x983098
mov byte [esp + 4], al
lea esp, [esp + 0x34]
ja 0x6d8688
pushal
call fcn.006dbad3
Function at 0x99a27b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
invalid
push 0x630b7e17
cmp byte [edi - 1], 0
pushfd
mov byte [esp], 0x2b
mov byte [esp], cl
lea esp, [esp + 8]
jne 0x6d859c
not di
cmp ebx, ebx
not di
bsf edi, ebx
mov edi, dword [edx + 0x24]
pushal
add edi, eax
pushal
test si, 0xce5a
movzx ecx, word [edi + ecx*2]
rcr di, cl
mov edi, dword [edx + 0x1c]
bt bp, 9
test bl, 0xf1
add edi, eax
mov dword [esp + 8], edi
stc
mov edi, dword [edi + ecx*4]
pushfd
test edi, edi
call fcn.0099836a
fnstenv [eax + 0x1a]
mov eax, dword [0xce6e9e23]
sbb ah, byte [ecx - 0x319161dd]
mov byte [0x6d0b1d3], al
jnp 0x6d4078
clc
jne 0x6d4166
inc edi
mov cl, 0xc5
jne 0x6d40d7
xchg dword [edx + 0xfdefb40], esp
lodsb al, byte [esi]
call 0xb4272dcd
pop edx
idiv byte [edi + ebp*8 + 0x28]
mov dword [0xc32e93af], eax
nop
mov ch, 0x99
mov ebp, dword [ecx - 0x7598da69]
idiv dword [edx - 0x3b]
je 0x6d412d
mov dh, 0xae
ja 0x6d409f
jae 0x6d40f3
clc
add bl, 0xce
les esi, [0xac957e96]
je 0x6d40e2
imul edi, dword [ebx - 0x1b], 0x19
pop edx
xchg ebx, eax
ret 0x3383
or dword [edi + ebx*2 + 0x6f7b4d8d], esi
rcr byte [ebx + eax*2], cl
invalid
push cs
mov eax, 0xd8768d5
ror eax, 1
into
fcmovne st(0), st(2)
ja 0x6d4155
invalid
jmp 0x6daba7
pushal
cmp ebx, 0x49509127
cmp ecx, dword [ebp - 4]
jmp fcn.0097f812
jb 0x6d3c48
cmp bh, 0x28
test cl, dh
bt edx, ecx
cmp byte [edi - 1], 0
jmp 0x97ff53
pushal
pushfd
push ebx
lea esp, [esp + 0x28]
jne 0x6d859c
bt dx, 1
mov edi, dword [edx + 0x24]
stc
add edi, eax
clc
movzx ecx, word [edi + ecx*2]
lea esp, [esp + 0x40]
ja 0x6d8688
pushfd
lea esp, [esp + 4]
jge 0x995c9a
jmp 0x97fdca
pushal
lea esp, [esp + 0x20]
jb 0x6d3c48
jmp 0x6d407f
push ebp
jmp 0x98097f
Function at 0x4041d0
Capabilities:
Hide graphical window

Disassembly:
push 0
push eax
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x4886b8
push str.CometBird_Downloader_MainWnd_Class
push 0
mov dword [0x4ac78c], eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
jne 0x404206
ret
push 0
push eax
mov dword [0x4ec7b0], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
ret

Function at 0x406410
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x477108
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push edi
mov eax, dword [0x49d340]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
xor edi, edi
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
call fcn.004075e0
mov eax, ebx
mov dword [esp + 0x34], edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x406470
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.00406960
push 0xffffffffffffffff
push edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push eax
mov ecx, esi
mov word [esi + 4], di
call fcn.004075e0
cmp dword [esp + 0x28], 8
jb 0x4064b7
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00433471
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x2c
ret

Function at 0x407ff0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4770a8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push edi
mov eax, dword [0x49d340]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call fcn.004331cb
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc], vtable.boost::io::bad_format_string.0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], 0
lea edi, [esp + 0xc]
jmp fcn.0040c160
Function at 0x408190
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47b0aa
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x49d340]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esi], vtable.Core_Common::Win32_HTTP_Async.0
mov dword [esi + 8], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
lea ecx, [esi + 8]
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esp + 0x14], eax
mov dword [esi], vtable.Downloader.0
mov edx, 7
mov dword [esi + 0x88], edx
mov dword [esi + 0x84], eax
mov word [esi + 0x74], ax
mov dword [esi + 0xa4], edx
mov dword [esi + 0xa0], eax
mov word [esi + 0x90], ax
mov dword [esi + 0xc0], edx
mov dword [esi + 0xbc], eax
mov word [esi + 0xac], ax
mov dword [esi + 0xe0], 0xf
mov dword [esi + 0xdc], eax
mov byte [esi + 0xcc], al
mov dword [esi + 0xe4], eax
mov dword [esi + 0xe8], eax
mov dword [esi + 0xec], eax
mov dword [esi + 0xf0], eax
mov dword [esi + 0xf8], eax
push esi
mov eax, 0x417300
push eax
push ecx
mov byte [esp + 0x20], 6
call fcn.0040c220
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4

Function at 0x40cab0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x479687
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x49d340]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x18], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], bl
mov dword [esi + 0x4c], 7
mov dword [esi + 0x48], ebx
mov word [esi + 0x38], bx
lea edi, [esi + 0x54]
mov byte [esp + 0x18], 2
push edi
mov byte [esi + 0x50], 0xff
call fcn.0040d2f0
mov dword [edi], vtable.boost::io::basic_altstringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [edi + 0x3c], ebx
mov byte [edi + 0x40], bl
mov dword [edi + 0x44], 3
mov byte [esi + 0xa0], bl
mov eax, dword [esp + 0x24]
push eax
mov byte [esp + 0x1c], 4
call fcn.0040d540
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8
Function at 0x40e150
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x477588
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x49d340]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00418b50
mov dword [esi], vtable.boost::bad_function_call.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x40e19a
add edi, 0x28
jmp 0x40e19c
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x40e1b4
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::bad_function_call_.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_boost::bad_function_call_.1.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x40e5f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x478d38
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49d340]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x30]
mov esi, ecx
mov dword [esp + 0x28], 0
mov edi, dword [esi + 4]
test edi, edi
jne 0x40e630
xor eax, eax
jmp 0x40e646
mov ecx, dword [esi + 8]
sub ecx, edi
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ebx
jae 0x40e69a
mov ebp, dword [esi + 8]
cmp edi, ebp
jbe 0x40e656
call fcn.00433461
mov eax, dword [esi + 4]
test eax, eax
jne 0x40e672
push ebp
push esi
lea ecx, [esp + 0x3c]
push ecx
sub ebx, eax
push ebx
push esi
call fcn.0040ecc0
jmp 0x40e6f7
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
push ebp
mov eax, edx
shr eax, 0x1f
push esi
add eax, edx
lea ecx, [esp + 0x3c]
push ecx
sub ebx, eax
push ebx
push esi
call fcn.0040ecc0
jmp 0x40e6f7
test edi, edi
je 0x40e6f7
mov ebp, dword [esi + 8]
mov ecx, ebp
sub ecx, edi
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x40e6f7
cmp edi, ebp
jbe 0x40e6c3
call fcn.00433461
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jbe 0x40e6d0
call fcn.00433461
imul ebx, ebx, 0x64
mov dword [esp + 0x1c], edi
add edi, ebx
cmp edi, dword [esi + 8]
ja 0x40e6e3
cmp edi, dword [esi + 4]
jae 0x40e6e8
call fcn.00433461
push ebp
push esi
push edi
push esi
lea edx, [esp + 0x28]
push edx
push esi
call fcn.0040ec60
lea esi, [esp + 0x34]
call fcn.0040e210
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x68
Function at 0x410cb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x478113
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x49d340]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x20]
push edi
mov ecx, esi
call fcn.0040e150
mov dword [esp + 0x18], 0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_base.0
test edi, edi
mov byte [esp + 0x18], 1
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_function_call__.0
mov dword [esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_function_call__.1.0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_function_call__.2.0
je 0x410d12
lea ebx, [edi + 0x28]
jmp 0x410d14
xor ebx, ebx
mov ecx, dword [esi + 0x2c]
test ecx, ecx
mov edi, dword [ebx + 4]
je 0x410d25
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
test edi, edi
mov dword [esi + 0x2c], edi
je 0x410d35
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov eax, dword [ebx + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [ebx + 0x10]
mov dword [esi + 0x38], edx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x41df87
Capabilities:
Get file size

Disassembly:
push 0x60
mov eax, 0x47a290
call fcn.004340ff
mov edi, ecx
sub esp, 0x1c
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp + 8]
mov esi, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.00401220
call fcn.0041de8e
add esp, 0x1c
cmp al, bl
jne 0x41dfcf
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea esi, [ebp + 8]
call fcn.00406ba0
mov al, bl
call fcn.004341a4
ret
or dword [ebp - 0x1c], 0xffffffff
mov byte [ebp - 0x18], 1
mov byte [ebp - 0x17], bl
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.0041e419
mov byte [ebp - 4], 3
cmp dword [eax + 0x18], 8
jb 0x41dffc
mov eax, dword [eax + 4]
jmp 0x41dfff
add eax, 4
push eax
lea ecx, [ebp - 0x4c]
call fcn.00404340
push 1
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.0042ac4e
lea ecx, [ebp - 0x4c]
call fcn.00407dc0
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.00407dc0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp - 0x28], eax
jne 0x41e04f
lea esi, [ebp - 0x28]
call fcn.0042adf7
mov dword [ebp - 0x2c], edx
jmp 0x41e055
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], ecx
push ebx
push eax
mov ecx, edi
call fcn.0041bc65
cmp dword [edi + 0x18], 0x10
mov ecx, dword [edi + 0x14]
jb 0x41e06c
mov eax, dword [edi + 4]
jmp 0x41e06f
lea eax, [edi + 4]
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0042acd2
lea esi, [ebp - 0x1c]
call fcn.0042acc0
call fcn.0042acc0
mov bl, 1
jmp 0x41dfbf
Function at 0x41f3f9
Capabilities:
Create process on windows

Disassembly:
push 0x7c
mov eax, 0x477b43
call fcn.00434135
lea eax, [ebp - 0x48]
xor ebx, ebx
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.0041e419
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x40]
mov byte [ebp - 4], 1
call fcn.0041e419
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x88]
push ebx
push eax
mov byte [ebp - 4], 2
call fcn.00438370
add esp, 0xc
cmp byte [ebp + 0x5e], bl
mov dword [ebp - 0x88], esi
jne 0x41f452
cmp byte [ebp + 0x64], bl
jne 0x41f452
xor eax, eax
jmp 0x41f455
push 0x40
pop eax
or eax, 0x500
cmp byte [ebp + 0x5d], bl
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], str.runas
jne 0x41f476
mov dword [ebp - 0x7c], str.open
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x41f482
lea eax, [ebp - 0x28]
mov dword [ebp - 0x70], eax
xor eax, eax
cmp byte [ebp + 0x5c], bl
mov dword [ebp - 0x68], ebx
setne al
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x44]
jae 0x41f49f
lea eax, [ebp - 0x44]
cmp dword [ebp + 0x3c], 8
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x28]
jae 0x41f4ae
lea eax, [ebp + 0x28]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x41f4e2
lea ecx, [ebp - 0x2c]
call fcn.00407dc0
lea ecx, [ebp - 0x48]
call fcn.00407dc0
lea edi, [ebp + 8]
call fcn.0041f37d
mov al, bl
call fcn.004341b8
ret
cmp dword [ebp - 0x50], ebx
je 0x41f574
cmp byte [ebp + 0x64], bl
je 0x41f53b
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.Kernel32.dll
call edi
cmp eax, ebx
je 0x41f53b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetProcessId
push eax
call esi
cmp eax, ebx
je 0x41f53b
push dword [ebp - 0x50]
call eax
cmp eax, ebx
mov dword [ebp - 0x4c], eax
je 0x41f53b
push str.user32.dll
call edi
cmp eax, ebx
je 0x41f53b
push str.AllowSetForegroundWindow
push eax
call esi
cmp eax, ebx
je 0x41f53b
push dword [ebp - 0x4c]
call eax
cmp byte [ebp + 0x5e], bl
je 0x41f574
mov eax, dword [ebp + 0x60]
cmp eax, ebx
jne 0x41f54a
or eax, 0xffffffff
push eax
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x50]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0x102
je 0x41f4c2
cmp esi, 0xffffffff
je 0x41f4c2
mov bl, 1
jmp 0x41f4c2

Function at 0x41f57b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x49d340]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x208
push eax
mov dword [ebp - 0x214], eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00438370
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.0041a3f8
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.00433192
leave
ret
Function at 0x41f5df
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x49d340]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x3c
mov eax, 0x4788ff
call fcn.004340cc
xor ebx, ebx
mov dword [ebp - 0x10], ebx
push 0x206
lea eax, [ebp + 2]
push ebx
mov dword [ebp - 4], ebx
push eax
mov word [ebp], bx
call fcn.00438370
add esp, 0xc
lea esi, [ebp - 0x2c]
call fcn.0041f57b
lea ecx, [ebp - 0x48]
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0041e419
cmp dword [ebp + 0x22c], 8
mov ecx, dword [ebp + 0x218]
jae 0x41f64d
lea ecx, [ebp + 0x218]
cmp dword [eax + 0x18], 8
jb 0x41f658
mov eax, dword [eax + 4]
jmp 0x41f65b
add eax, 4
lea edx, [ebp]
push edx
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea ecx, [ebp - 0x48]
call fcn.00407dc0
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00406ba0
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404340
push eax
push edi
mov byte [ebp - 4], 2
call fcn.0041a3e4
lea ecx, [ebp - 0x2c]
call fcn.00407dc0
lea ecx, [ebp + 0x214]
call fcn.00407dc0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00433192
add ebp, 0x20c
leave
ret
Function at 0x43084b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4ecff8]
cmp eax, 0x1fc00
jle 0x430883
push esi
push 0
lea eax, [ebp - 4]
push eax
mov esi, 0x4ac798
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
mov dword [0x4ecff8], eax
pop esi
lea ecx, [ebp + 0x10]
push ecx
push dword [ebp + 0xc]
lea eax, [eax*2 + 0x4ac798]
push eax
call dword [sym.imp.USER32.dll_wvsprintfW]
add dword [0x4ecff8], eax
leave
ret

Function at 0x4308a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4ecff8], 0x1fc00
jle 0x4308d8
push esi
push 0
lea eax, [ebp - 4]
push eax
mov esi, 0x4ac798
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
and dword [0x4ecff8], 0
pop esi
mov al, byte [edi]
mov ecx, edi
jmp 0x4308f9
mov edx, dword [0x4ecff8]
inc dword [0x4ecff8]
movsx ax, al
inc ecx
mov word [edx*2 + 0x4ac798], ax
mov al, byte [ecx]
test al, al
jne 0x4308de
leave
ret