joyce8/EMBER2024-capa huggingface dataset:
Function at 0x500f30
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe0
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x6c], 0
jne 0x500f48
mov eax, ebx
call fcn.00500800
cmp dword [ebx + 0x68], 0
jne 0x500f55
mov eax, ebx
call fcn.00500788
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [esp], eax
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [esp + 4], eax
lea edx, [esp + 0x10]
mov eax, ebx
call fcn.00500608
lea eax, [esp + 0x10]
xor edx, edx
call fcn.00501880
cmp eax, dword [esp]
je 0x500fc3
lea eax, [esp + 0x10]
xor edx, edx
call fcn.00501894
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x500f9f
adc edx, 0
push edx
lea eax, [esp + 0x14]
xor edx, edx
call fcn.00501880
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x500fb8
adc edx, 0
push edx
lea eax, [esp + 0x18]
push eax
call sub.user32.dll_InflateRect
mov esi, dword [ebx + 0x48]
test esi, esi
je 0x500fde
push 3
mov eax, dword [esi + 0x10]
call fcn.004482c0
push eax
call sub.user32.dll_GetWindow
mov esi, eax
jmp 0x500feb
push 3
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 0x68]
call fcn.00441228
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x68]
call fcn.0044124c
mov edx, dword [esp]
mov eax, dword [ebx + 0x68]
call fcn.00441274
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x68]
call fcn.00441298
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.00418858
mov eax, ebp
mov edx, dword [0x520e38]
mov byte [edx + 2], al
mov eax, dword [0x520e38]
mov byte [eax], 0
mov eax, dword [0x520e38]
mov byte [eax + 1], 0
mov eax, dword [0x520e38]
mov byte [eax + 3], 1
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.004482c0
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.004482c0
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.004482c0
push eax
call sub.user32.dll_SetWindowLongA
push 2
mov eax, dword [0x520e38]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x6c]
call fcn.0042948c
call fcn.00424fc0
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.004482c0
push eax
mov eax, dword [0x520df4]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x68]
call fcn.004482c0
push eax
call sub.user32.dll_ShowWindow
push 0
push esi
call sub.user32.dll_ReleaseDC
add esp, 0x20
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x501c68
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetTickCount
mov ebx, eax
mov eax, dword [0x52128c]
mov eax, dword [eax]
call fcn.0046196c
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, esi
jb 0x501c73
pop esi
pop ebx
ret
Function at 0x5021bc
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffe9c
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
mov eax, ebx
call fcn.00409e30
test al, al
je 0x502243
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x160
call fcn.004037cc
or esi, 0x100
test esi, esi
jns 0x5021f7
call fcn.0040401c
push esi
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
mov eax, ebx
call fcn.004053b8
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x502243
mov dl, 1
mov eax, dword [0x423064]
call fcn.0042aa58
mov dword [esp], eax
mov edx, dword [esp + 4]
mov eax, dword [esp]
call fcn.0042ae28
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x502243
mov eax, esp
call fcn.0040f39c
mov eax, dword [esp]
add esp, 0x164
pop esi
pop ebx
ret
Function at 0x50c6fc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ebp, 0x523788
test esi, esi
jne 0x50c716
xor eax, eax
jmp 0x50c818
cmp dword [ebp], 0
jne 0x50c721
call fcn.0050c68c
xor ebx, 0xffffffff
cmp edi, 8
jb 0x50c7f1
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jae 0x50c72d
test edi, edi
jbe 0x50c813
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
ja 0x50c7f5
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4084e4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x4276d4], 0
mov ebp, esp
push edi
mov ecx, dword [ebp + 0xc]
push esi
push ebx
mov ebx, dword [ebp + 0x10]
jne 0x408525
xor edx, edx
mov eax, edx
mov esi, 8
mov edi, eax
and eax, 1
neg eax
shr edi, 1
and eax, 0xedb88320
xor eax, edi
dec esi
jne 0x408502
mov dword [edx*4 + 0x4276d0], eax
inc edx
cmp edx, 0x100
jne 0x4084fb
mov eax, dword [ebp + 8]
not eax
jmp 0x40853f
mov dl, byte [ecx]
dec ebx
inc ecx
xor edx, eax
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0x4276d0]
test ebx, ebx
jne 0x40852c
pop ebx
not eax
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x435540
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x20000]
push edi
or ebp, 0xffffffff
jmp 0x435562
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x435569
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x435558
mov eax, 1
add ebx, ebx
jne 0x43557b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x435570
jne 0x43558c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x435570
xor ecx, ecx
sub eax, 3
jb 0x4355a0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x435612
mov ebp, eax
add ebx, ebx
jne 0x4355ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4355b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4355dc
inc ecx
add ebx, ebx
jne 0x4355c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4355bd
jne 0x4355d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4355bd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4355fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4355ed
jmp 0x43555e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4355fc
add edi, ecx
jmp 0x43555e
pop esi
lea edi, [esi + 0x33000]
mov eax, dword [edi]
or eax, eax
je 0x435664
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x35000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x35094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x435619
mov ecx, edi
jns 0x435648
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 + 0x3509c]
or eax, eax
je 0x43565e
mov dword [ebx], eax
add ebx, 4
jmp 0x435636
call dword [esi + 0x35098]
mov ebp, dword [esi + 0x350a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x435698
sub esp, 0xffffff80
jmp 0x411fa7
Function at 0x44df49
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
test esi, esi
jne 0x44df62
call fcn.00415a0e
mov esi, dword [eax + 0xc]
push 0x58a8f4
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x44dfb8
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x44dfb7
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x44df98
xor esi, esi
jmp 0x44dfae
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0044dfc0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x458899
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, 0xfffc63e8
call dword [eax + 0x56]
push dword [ebp + 8]
call fcn.004584b7
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00458502
push eax
push esi
push dword [ebp + 8]
call fcn.004584b7
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00458502
push eax
push esi
push dword [ebp + 8]
call fcn.004584b7
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004584f2
aad 0x4e
sar dword [eax - 0x836278], cl
invalid
Function at 0x458c1e
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x458bc9
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x458be7
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x458c45
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
add byte [eax], al
invalid
add byte [eax], al
or byte [ebx - 0x2cc4e7b3], 0x74
add al, 0x80
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x458c2c
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x458c35
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x458c3f
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x458c21
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x458bab
mov dword [ebp + 8], esi
xor edi, edi
Function at 0x4591a8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [ebp - 0x3337b], cl
call dword [eax - 1]
jne 0x4591bb
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x4591e6
push 0xc6fffffc
test dword [edx + edi*8 - 0x7cfe0001], edi
mov ebp, 0xfffffc68
add byte [edi + edx - 0x7d], dh
mov ebp, 0xfffffc68
add byte [edi], cl
test ah, dl
add dword [eax], eax
add byte [ebx + 0xf010c7d], al
test dl, cl
add dword [eax], eax
add byte [ebx + 0xf080c7d], al
test dword [eax - 0x7fffffff], ecx
movsd dword es:[edi], dword [esi]
dec eax
stc
invalid
cmp dword [ebp - 0x398], 0
je 0x4593b0
cmp dword [ebp + 0xc], 1
je 0x4593b0
cmp dword [ebp + 0xc], 8
jne 0x459378
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.00458502
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004584b7
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
call dword [ebp - 0x690]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6bc], eax
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x698], eax
call fcn.004584f2
popal
lodsb al, byte [esi]
and byte [edi + edi*8 - 0x4b], ch
push 0x8dfffff9
test dword [eax - 7], eax
invalid
call fcn.004584f2
add byte [esi], cl
jmp 0xbceb1450
and byte [ebp - 0x230], 0
push 0x40
Function at 0x4e361b
Capabilities:
Get file system object information

Disassembly:
push 0x4cc
mov eax, 0x57bd8c
call fcn.00545ef4
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.004174b6
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x5bac20
call fcn.00426546
cmp eax, 0xffffffff
jne 0x4e36e6
push 0
push 0x58a8b0
lea ecx, [ebp - 0x4d0]
call fcn.00426546
cmp eax, 0xffffffff
jne 0x4e36e6
push 0
push 0x5badb4
lea ecx, [ebp - 0x4d0]
call fcn.00426546
cmp eax, 0xffffffff
jne 0x4e36e6
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.004174b6
mov edi, eax
pop ecx
mov dword [ebp - 0x4d4], edi
lea ecx, [edi + 0x10]
mov dword [ebp - 0x4d8], ecx
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea eax, [ebp - 0x218]
push eax
push 0x104
push edx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4e36c3
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.00545d9c
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4d4]
mov edi, eax
call fcn.00415c54
jmp 0x4e371e
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00416a80
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00415c54
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4e370c
mov edi, dword [ebp - 0x4cc]
jmp 0x4e371e
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.00545d9c
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.00415c54
mov eax, edi
call fcn.00545e9e
ret

Function at 0x564cad
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00564970

Function at 0x564cb8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00564af1

Function at 0x569182
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00568e42
Function at 0x5ef103
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5ef11e
add esi, 0x1000
lea eax, [ebp - 0x2bc]
push edx
push 0x1c
push eax
push esi
call dword [edx + 0x124b4343]
pop edx
test eax, eax
je 0x5ef1f0
cmp dword [ebp - 0x2ac], 0x1000
jne 0x5ef1df
test dword [ebp - 0x2a8], 1
jne 0x5ef1df
and dword [ebp - 0x2a8], 0x100
jne 0x5ef1df
push esi
push edx
push 4
push esi
call dword [edx + 0x122d3b5c]
pop edx
pop esi
test eax, eax
je 0x5ef182
jmp 0x5ef1df
cmp word [esi], 0x5a4d
jne 0x5ef1df
mov eax, esi
push ebx
mov ebx, dword [esi + 0x3c]
add eax, ebx
pop ebx
cmp dword [eax], 0x4550
jne 0x5ef1df
lea eax, [ebp - 0x28c]
push edx
push 0x28a
push eax
push esi
call dword [edx + 0x122d3c00]
pop edx
test eax, eax
je 0x5ef1df
lea eax, [ebp - 0x28c]
push eax
call fcn.005ef05f
test eax, eax
jne 0x5ef1d8
jmp 0x5ef1df
mov eax, esi
jmp 0x5ef1f0
mov esi, dword [ebp - 0x2b0]
add esi, dword [ebp - 0x2bc]
jmp 0x5ef11e
pop esi
leave
ret 4
Function at 0x100015b0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push ebx
lea eax, [esp + 4]
push esi
push eax
mov dword [esp + 0xc], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x100015df
xor ebx, ebx
jmp 0x10001627
cmp eax, 2
jne 0x10001611
cmp edx, 4
ja 0x100015f0
mov ebx, 4
jmp 0x10001627
cmp edx, 5
jne 0x1000160a
test ecx, ecx
jne 0x100015fd
mov ebx, edx
jmp 0x10001627
xor ebx, ebx
cmp ecx, 1
setne bl
add ebx, 6
jmp 0x10001627
mov ebx, 8
jmp 0x10001627
test ecx, ecx
jne 0x1000161c
mov ebx, 1
jmp 0x10001627
xor ebx, ebx
cmp ecx, 0xa
setne bl
add ebx, 2
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x10001647
mov esi, dword [esp + 0x14]
push esi
push ecx
push edx
push str._d._d._d
push eax
call fcn.1001bdba
add esp, 0x14
test ebx, ebx
mov byte [0x10070c17], bl
je 0x10001666
cmp ebx, 1
je 0x10001666
cmp ebx, 4
je 0x10001666
xor eax, eax
pop esi
pop ebx
add esp, 0x94
ret
pop esi
mov eax, 0x1a0
pop ebx
add esp, 0x94
ret

Function at 0x10002d80
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push ebx
call fcn.100025b0
add eax, 7
add esp, 4
cdq
and edx, 7
add eax, edx
mov esi, eax
sar esi, 3
mov dword [esp + 8], esi
mov eax, esi
dec esi
test eax, eax
jle 0x10002dec
push edi
mov edi, dword [esp + 0x18]
push ebp
mov eax, esi
cdq
and edx, 3
add eax, edx
mov ebp, eax
mov eax, esi
cdq
xor eax, edx
sub eax, edx
and eax, 3
xor eax, edx
sar ebp, 2
mov ecx, eax
mov dword [esp + 0x18], ebp
mov ebp, dword [ebx]
sub ecx, edx
mov edx, dword [esp + 0x18]
shl ecx, 3
mov eax, dword [ebp + edx*4]
shr eax, cl
inc edi
mov ecx, esi
dec esi
test ecx, ecx
mov byte [edi - 1], al
jg 0x10002daf
pop ebp
pop edi
mov eax, dword [esp + 8]
pop esi
pop ebx
pop ecx
ret
Function at 0x10009ec0
Capabilities:
Allocate or change rwx memory
Check for software breakpoints
Get system information on windows

Disassembly:
sub esp, 0x24
lea eax, [esp]
push ebx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x10]
mov eax, fcn.1000e430
mov dword [0x10074530], 0x10018d80
mov dword [0x100744ec], eax
mov dword [0x10074568], eax
mov dword [esi + 0x1e18], 0x10018da0
mov ecx, dword [0x100744ec]
mov eax, ecx
xor edx, edx
div ebx
push 0x100744cc
push 0x40
sub ecx, edx
xor edx, edx
mov edi, ecx
mov ecx, ebx
add ecx, 0x1001aa00
mov dword [0x100744ec], edi
inc ecx
mov eax, ecx
div ebx
sub ecx, edx
sub ecx, edi
push ecx
push edi
mov dword [0x1007458c], ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10009f56
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x1748], eax
mov eax, 0x1ed
pop edi
pop esi
pop ebx
add esp, 0x24
ret
xor eax, eax
mov ecx, dword [esi + 0x1e18]
cmp byte [eax + ecx], 0xc3
je 0x10009f6a
inc eax
cmp eax, 0x64
jb 0x10009f58
cmp eax, 0x64
jne 0x10009f7b
mov eax, 0x1f3
pop edi
pop esi
pop ebx
add esp, 0x24
ret
mov edx, dword [esi + 0x1e18]
inc eax
add edx, eax
mov dword [esi + 0x1e18], edx
mov eax, edx
mov edx, 0x1001aa00
sub edx, eax
inc edx
xor eax, eax
mov dword [esi + 0x1e1c], edx
mov ecx, dword [0x10074568]
cmp dword [eax + ecx], 0x9bd7edd9
je 0x10009fb1
inc eax
cmp eax, 0x64
jb 0x10009fa2
cmp eax, 0x64
jne 0x10009fc2
mov eax, 0x1f4
pop edi
pop esi
pop ebx
add esp, 0x24
ret
jae 0x10009fd0
cmp byte [eax + ecx], 0xcc
je 0x10009fd0
inc eax
cmp eax, 0x64
jb 0x10009fc4
cmp eax, 0x64
jne 0x10009fe1
mov eax, 0x1f4
pop edi
pop esi
pop ebx
add esp, 0x24
ret
lea eax, [ecx + eax + 1]
pop edi
mov dword [0x10074568], eax
pop esi
mov byte [0x10074520], 0
xor eax, eax
pop ebx
add esp, 0x24
ret

Function at 0x1000a030
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x10074568]
push ebx
push esi
mov esi, dword [esp + 0xc]
mov ebx, esi
push edi
sub ebx, eax
xor ecx, ecx
mov eax, ebx
xor edx, edx
mov edi, 0xeb
div edi
mov al, bl
xor al, 0x5a
mov dl, byte [edx + 0x1006f500]
add dl, al
mov al, byte [ecx + esi]
xor al, dl
inc ebx
mov byte [ecx + esi], al
inc ecx
cmp ecx, 0x14
jl 0x1000a042
pop edi
pop esi
pop ebx
ret
Function at 0x1000c2f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
mov esi, dword [esp + 0x18]
test esi, esi
push edi
je 0x1000c300
mov dword [esi], 0
mov edi, dword [esp + 0x18]
test edi, edi
je 0x1000c367
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0
push edi
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jne 0x1000c330
mov edx, dword [esp + 0xc]
mov dword [edx + 0x1748], 0x22c
pop edi
pop esi
ret
cmp eax, 0xffffffff
jne 0x1000c34a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x1748], eax
xor eax, eax
pop edi
pop esi
ret
test esi, esi
je 0x1000c350
mov dword [esi], eax
cmp eax, edi
je 0x1000c367
mov edx, dword [esp + 0xc]
xor eax, eax
mov dword [edx + 0x1748], 0x22d
pop edi
pop esi
ret
pop edi
mov eax, 1
pop esi
ret