joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4315b0
Capabilities:
Query environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [0x44c618]
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 4], 0
mov dword [esp], 0x434180
call sym._pthread_mutex_init
mov dword [esp], str.GLIBCXX_TUNABLES
mov dword [0x434184], 0
mov dword [0x434188], 0
mov dword [0x43418c], 0
call sym._getenv
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], str.obj_size
mov ebx, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 9
mov dword [esp + 0x24], str.obj_count
mov dword [esp + 0x28], 0x40
test eax, eax
jne 0x431656
jmp 0x431727
mov dword [esp], ebx
mov dword [esp + 4], 0x3a
call sym._strchr
mov ebx, eax
test eax, eax
je 0x4316d0
xor eax, eax
cmp byte [ebx], 0x3a
sete al
add ebx, eax
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
xor eax, 0x62696c67
xor edx, 0x2e787863
or eax, edx
jne 0x431640
mov eax, dword [ebx + 7]
mov edx, dword [ebx + 0xb]
xor eax, 0x5f68652e
xor edx, 0x6c6f6f70
or eax, edx
jne 0x431640
cmp byte [ebx + 0xf], 0x2e
jne 0x431640
add ebx, 0x10
lea esi, [esp + 0x14]
lea ebp, [esp + 0x2c]
mov edi, dword [esi]
test edi, edi
je 0x4316b7
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov eax, dword [esi + 4]
mov dword [esp], eax
call sym._memcmp
test eax, eax
jne 0x4316c1
cmp byte [ebx + edi], 0x3d
je 0x431755
add esi, 0xc
cmp ebp, esi
jne 0x43169a
jmp 0x431640
mov eax, dword [esp + 0x28]
mov edx, 0x100
mov ecx, 6
cmp eax, edx
cmovle edx, eax
mov eax, dword [esp + 0x1c]
test eax, eax
cmove eax, ecx
add eax, 0x2c
imul eax, edx
lea ebx, [eax*4]
mov dword [0x43418c], ebx
test ebx, ebx
jne 0x431736
mov dword [esp], sym.___tcf_0
call dbg.atexit
mov eax, dword [esp + 0x2c]
sub eax, dword [0x44c618]
jne 0x4317a0
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [0x43418c], 0x3200
mov ebx, 0x3200
mov dword [esp], ebx
call sym._malloc
mov dword [0x434188], eax
test eax, eax
je 0x431793
xor edx, edx
mov dword [0x434184], eax
mov dword [eax], ebx
mov dword [eax + 4], edx
jmp 0x431703
lea eax, [esp + 0x10]
xor ebp, ebp
mov dword [esp + 4], eax
lea eax, [ebx + edi + 1]
mov dword [esp + 8], ebp
mov dword [esp], eax
call sym._strtoul
mov ebx, dword [esp + 0x10]
movzx edx, byte [ebx]
cmp dl, 0x3a
je 0x431783
test dl, dl
jne 0x431640
test eax, eax
js 0x431640
mov dword [esi + 8], eax
jmp 0x431640
xor ecx, ecx
mov dword [0x43418c], ecx
jmp 0x431703
call dbg.__stack_chk_fail
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x1a01058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.01a011a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1a0107e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1a0106a
add dl, dl
jne 0x1a01089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1a010dc
xor eax, eax
add dl, dl
jne 0x1a01096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1a0117d
add dl, dl
jne 0x1a010a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1a010b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1a010bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1a010c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1a010d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1a01075
mov eax, 1
add dl, dl
jne 0x1a010ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1a010f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1a010e1
sub eax, ebx
mov ebx, 1
jne 0x1a01128
mov ecx, 1
add dl, dl
jne 0x1a0110e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1a01119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1a01105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1a01075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1a0113f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1a0114a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1a01136
cmp eax, 0x7d00
jae 0x1a0116d
cmp eax, 0x500
jb 0x1a01168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1a01075
cmp eax, 0x7f
ja 0x1a01170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1a01075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1a0119e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1a01075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x477760
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x507688
push 0x4a2330
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x50e008]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x440], edi
mov dword [ebp - 0x438], esi
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.00402850
mov dword [ebp - 0x43c], 0
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x4777d0
mov eax, dword [eax]
lea ecx, [ebp - 0x43c]
push ecx
push eax
call fcn.00402a20
add esp, 8
mov edx, esi
mov ecx, edi
call fcn.004778e0
mov bl, al
mov byte [ebp - 0x431], bl
mov dword [ebp - 4], 0xfffffffe
jmp 0x47781e
test bl, bl
jne 0x4778bb
cmp edi, 0x1a
jne 0x4778bb
mov ecx, esi
call fcn.00402850
mov dword [ebp - 0x438], 0
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x47784f
mov eax, dword [eax]
lea ecx, [ebp - 0x438]
push ecx
push eax
call fcn.00402a20
push 0x410
push 0
lea eax, [ebp - 0x430]
push eax
call fcn.004a2d80
add esp, 0x14
push 0x207
lea eax, [ebp - 0x430]
push eax
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp - 0x430]
push eax
call fcn.00402a80
add esp, 4
push eax
lea eax, [ebp - 0x430]
push eax
mov ecx, esi
call fcn.00402870
mov ecx, esi
call fcn.00402650
movzx ebx, bl
mov ecx, 1
test al, al
cmove ebx, ecx
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004a100a
mov esp, ebp
pop ebp
ret
Function at 0x4af779
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004af439
Function at 0x8185f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x81e4cc]
cmp dword [eax + 0x28], 0
jne 0x818608
xor eax, eax
jmp 0x818737
mov ecx, dword [0x81e43c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
add edx, 0xe
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [0x81e430], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [0x81e42c], eax
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x10], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x81e430]
mov dword [ebp - 0x40], ecx
mov edx, dword [0x81e42c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x40]
shr eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 8]
shr ecx, 1
mov dword [ebp - 0x1c], ecx
push 0
mov edx, dword [0x81e4b8]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0x80000000
push 0x81c680
push 0x81c6d0
push 0x88
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [0x81e428], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00818530
push 5
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x8185c0
mov edx, dword [0x81e4cc]
mov eax, dword [edx + 0x34]
imul eax, eax, 0x3e8
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x81e434], eax
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x818737
cmp dword [ebp - 0x38], 0x12
jne 0x81872b
mov dword [0x81e444], 0
call fcn.00818740
xor eax, eax
jmp 0x818737
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x8186fc
mov esp, ebp
pop ebp
ret 4

Function at 0x819b00
Capabilities:
Read .ini file
Read and send data from client to server
Send data
Send data on socket
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebp
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
pop ebp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x81a69c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x81c168
sub eax, eax
test esi, esi
je 0x81a774
sub eax, 1
test ecx, ecx
je 0x81a772
test esi, 3
je 0x81a6da
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x81a6bf
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x81a759
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x81a6e4
mov ecx, edx
test ecx, ecx
je 0x81a772
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x81a75f
not eax
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x81a77c
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0081a7ff
jae 0x81a78a
xor ecx, ecx
call fcn.0081a7ff
jae 0x81a7b9
xor eax, eax
call fcn.0081a7ff
jae 0x81a7c9
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0081a7ff
adc al, al
jae 0x81a7ab
jne 0x81a7f5
stosb byte es:[edi], al
jmp 0x81a78d
call fcn.0081a80b
sub ecx, ebx
jne 0x81a7d2
call fcn.0081a809
jmp 0x81a7f1
lodsb al, byte [esi]
shr eax, 1
je 0x81a81b
adc ecx, ecx
jmp 0x81a7ee
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.0081a809
cmp eax, 0x7d00
jae 0x81a7ee
cmp ah, 5
jae 0x81a7ef
cmp eax, 0x7f
ja 0x81a7f0
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x81a78d
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x81b14c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x81e000]
jne 0x81b156
repz ret
jmp fcn.0081b3fd
Function at 0x6c87b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1c6000]
push edi
or ebp, 0xffffffff
jmp 0x6c87d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6c87d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6c87c8
mov eax, 1
add ebx, ebx
jne 0x6c87eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6c87fc
jne 0x6c881b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6c881b
dec eax
add ebx, ebx
jne 0x6c8808
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6c87e0
add ebx, ebx
jne 0x6c8817
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6c886d
xor ecx, ecx
sub eax, 3
jb 0x6c8833
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6c88a2
sar eax, 1
mov ebp, eax
jmp 0x6c883e
add ebx, ebx
jne 0x6c883e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6c880c
inc ecx
add ebx, ebx
jne 0x6c884c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6c880c
add ebx, ebx
jne 0x6c8859
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6c884e
jne 0x6c886a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6c884e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6c888c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6c887e
jmp 0x6c87ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6c888c
add edi, ecx
jmp 0x6c87ce
pop esi
mov edi, esi
mov ecx, 0x358f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6c88aa
cmp byte [edi], 0x21
jne 0x6c88aa
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 0x6c88af
lea edi, [esi + 0x2c5000]
mov eax, dword [edi]
or eax, eax
je 0x6c8927
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2d0f50]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2d1004]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6c88dc
mov ecx, edi
jns 0x6c890b
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 + 0x2d1008]
or eax, eax
je 0x6c8921
mov dword [ebx], eax
add ebx, 4
jmp 0x6c88f9
call dword [esi + 0x2d1018]
mov ebp, dword [esi + 0x2d100c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x6c895b
sub esp, 0xffffff80
jmp 0x46a86e
Function at 0x41fcf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c1fa
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5c49f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.00532167
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x41fdb0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.005350a5
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x5b9d34
push eax
call fcn.005378bc
push edi
push esi
call fcn.005324af
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00533845
mov esp, ebp
pop ebp
ret 4
Function at 0x424790
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c7a9
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5c49f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.004302a0
push 7
mov dword [ebp - 4], 0
mov ecx, esi
push str.update
mov dword [ebp - 0x2c], 1
call fcn.0042c4c0
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0042c2e0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42482f
test al, 0x10
je 0x42482f
mov edi, 1
jmp 0x424831
xor edi, edi
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x424846
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0042ceb0
test edi, edi
jne 0x42488c
push 0xffffffffffffffff
push edi
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x28], 0
call fcn.0042c2e0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push edi
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x42488c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0042ceb0
push 0xb
push str.update.zip
mov ecx, esi
call fcn.0042c4c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00533845
mov esp, ebp
pop ebp
ret 4
Function at 0x4248c0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c7ef
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5c49f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], 0
call fcn.004302a0
sub esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x38], 1
mov ecx, esi
mov byte [ebp - 0x18], 0x5c
push eax
call fcn.0042bb40
push eax
push 0
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.0042a2f0
mov edi, eax
mov dword [ebp - 4], 1
cmp esi, edi
je 0x424979
cmp dword [esi + 0x14], 0x10
jb 0x424954
mov eax, dword [esi + 0x14]
mov ecx, esi
inc eax
push eax
push dword [esi]
call fcn.0042ceb0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x42496c
mov eax, dword [esi]
jmp 0x42496e
mov eax, esi
push edi
mov ecx, esi
mov byte [eax], 0
call fcn.0042c6f0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x424992
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.0042ceb0
push 0xb
push str._addnewfile
mov ecx, esi
call fcn.0042c4c0
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
call fcn.0042c2e0
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4249e1
test al, 0x10
je 0x4249e1
mov edi, 1
jmp 0x4249e3
xor edi, edi
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x4249f8
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.0042ceb0
test edi, edi
jne 0x424a3e
push 0xffffffffffffffff
push edi
push esi
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], edi
mov byte [ebp - 0x34], 0
call fcn.0042c2e0
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
push edi
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x424a3e
inc ecx
push ecx
push dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
call fcn.0042ceb0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00533845
mov esp, ebp
pop ebp
ret 4
Function at 0x4288d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x5c49f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x40
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x50], 0x44
push 0
push eax
call fcn.005369e0
add esp, 0xc
mov dword [ebp - 0x24], 1
lea ecx, [ebp - 0x60]
xor eax, eax
cmp dword [ebp + 0x1c], 0x10
mov word [ebp - 0x20], ax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x50]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [ebp + 0x1c]
mov esi, eax
neg esi
sbb esi, esi
cmp ecx, 0x10
jb 0x428948
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.0042ceb0
mov ecx, dword [ebp - 4]
lea eax, [esi + 1]
xor ecx, ebp
pop esi
call fcn.00533845
mov esp, ebp
pop ebp
ret 0x18

Function at 0x428960
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x5c49f0]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [esp + 0xc]
push esi
push edi
push 0x124
push 0
push eax
or edi, 0xffffffff
call fcn.005369e0
add esp, 0xc
mov dword [esp + 0x10], pe_nt_image_headers32
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, edi
je 0x428a02
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
nop dword [eax + eax]
lea eax, [esp + 0x34]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4289dd
mov ecx, dword [esp + 0x18]
call fcn.004297a0
test al, al
jne 0x4289f7
lea eax, [esp + 0x10]
mov dword [esp + 0x10], pe_nt_image_headers32
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x4289c0
jmp 0x4289fb
mov edi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00533845
mov esp, ebp
pop ebp
ret 4