joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10024e70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x10024e7f
pop dword [ebp - 8]
mov eax, 0x8cccce75
add eax, 0x8335800a
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x56716afc
sub dword [ebp - 0x18], 0x81f25b1
mov dword [ebp - 0x14], 0xe75498d3
sub dword [ebp - 0x14], 0xb5214c8e
mov dword [ebp - 0x10], 0xbea8ff82
sub dword [ebp - 0x10], 0x725cbb54
mov dword [ebp - 0xc], 0x1aa542fb
sub dword [ebp - 0xc], 0x1aa542fb
lea eax, [ebp - 0x18]
push eax
mov eax, 0x4967154
add eax, 0xb6f5fb4
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xdc03f06b
add dword [ebp - 0x18], 0x986e78eb
mov dword [ebp - 0x14], 0x4a9e5b28
sub dword [ebp - 0x14], 0x931f9b3
mov dword [ebp - 0x10], 0xedb95617
sub dword [ebp - 0x10], 0x8a49e9ab
mov dword [ebp - 0xc], 0xcf1f518
add dword [ebp - 0xc], 0xf30e0ae8
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x524dd
push 0
call eax
mov ecx, 0x51d8
xor edx, edx
add edx, eax
mov esi, 0x10090e00
add esi, dword [ebp - 8]
mov ebx, 0xf41b61da
sub dword [ebp - 4], ebx
mov edi, dword [esi]
xor dword [ebp - 4], 0x90cfea35
xor edi, ebx
mov dword [ebp - 4], 0x5d9702ce
mov dword [edx], edi
xor dword [ebp - 4], eax
add edx, 0x608cb41e
sub edx, 0x608cb41a
add esi, 4
loop 0x10024f8c
add eax, 0x13a33
xor ebx, ebx
add ebx, eax
add eax, 0xf3fbb9b6
sub eax, 0xf3fbb9b1
mov ecx, 0x10000000
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x100374d0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
test esi, esi
jne 0x100374fb
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [ebp - 8]
push eax
mov eax, esi
call fcn.10024e70
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x10037529
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x10037522
mov eax, esi
mov dword [ebp - 4], eax
jmp 0x10037525
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1003753b
lea ecx, [ebp - 8]
push ecx
push 0x100374a0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x421c20
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b71a8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x63506c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x421c59
mov eax, dword [esi]
jmp 0x421c5b
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x421d06
push 2
sub esp, 8
mov ecx, esi
call fcn.00421f80
cmp eax, 0xffffffff
je 0x421cdf
push eax
push 0
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00421f20
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x421cb5
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.00421c20
test eax, eax
je 0x421cca
cmp dword [esi + 0x14], 8
jb 0x421cbd
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x421cfe
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x421cdf
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00423720
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00572b23
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x28]
call fcn.004236e0
mov eax, 1
jmp 0x421ce1
Function at 0x421d10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b71d8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x63506c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
cmp dword [edi + 0x14], 8
jb 0x421d53
mov eax, dword [edi]
jmp 0x421d55
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
je 0x421efb
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421d70
sub ecx, edx
je 0x421efb
push 2
sub esp, 8
mov ecx, edi
call fcn.00421f80
cmp eax, 0xffffffff
je 0x421db8
push eax
push 0
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00421f20
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.00421c20
lea ecx, [ebp - 0x2c]
call fcn.004236e0
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x30], 0
jb 0x421dc9
mov eax, dword [edi]
jmp 0x421dcb
mov eax, edi
push 0x61c5cc
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0058f130
add esp, 0xc
cmp dword [ebp - 0x30], 0
je 0x421efb
call fcn.0048abd0
mov ebx, eax
test ebx, ebx
je 0x421efb
push esi
push 0x2712
push ebx
call fcn.0048de70
push 0
push 0x40
push ebx
call fcn.0048de70
push 0
push 0x51
push ebx
call fcn.0048de70
push 0
push 0x2a
push ebx
call fcn.0048de70
push 0x421b80
push 0x4e2b
push ebx
call fcn.0048de70
push dword [ebp - 0x30]
push 0x2711
push ebx
call fcn.0048de70
add esp, 0x48
push 1
push 0x29
push ebx
call fcn.0048de70
push 1
push 0x34
push ebx
call fcn.0048de70
push 0
push 0x2b
push ebx
call fcn.0048de70
push 0x421bb0
push 0x4efb
push ebx
call fcn.0048de70
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push 0x2749
push ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], 0x426550
call fcn.0048de70
push 1
push 0x2d
push ebx
call fcn.0048de70
add esp, 0x48
push 1
push 0x63
push ebx
call fcn.0048de70
push ebx
call fcn.0048ac10
mov esi, eax
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0x200002
push ebx
call fcn.0048abb0
push ebx
call fcn.0048ab90
push dword [ebp - 0x30]
call fcn.0058f494
add esp, 0x24
test esi, esi
jne 0x421eeb
mov eax, dword [ebp - 0x14]
add eax, 0xffffff38
cmp eax, 0xc7
ja 0x421eeb
mov al, 1
jmp 0x421efd
cmp dword [edi + 0x14], 8
jb 0x421ef3
mov edi, dword [edi]
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00572b23
mov esp, ebp
pop ebp
ret 0x10
Function at 0x424f30
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b74db
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x63506c]
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
push 0xa
xor eax, eax
mov dword [ebp - 0x21c], 7
push 0x61c920
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00423580
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0058b9c0
mov ecx, dword [esi]
add esp, 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x250], 0
movups xmmword [ebp - 0x24c], xmm0
mov dword [ebp - 0x234], 0
movq qword [ebp - 0x23c], xmm0
call fcn.005823ca
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x250]
push eax
mov dword [ebp - 0x240], 0x40
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4250a1
mov edx, dword [esi]
lea eax, [ebp - 0x218]
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x425040
sub eax, edi
lea ecx, [edx + 0x474]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0042d810
mov ecx, dword [esi]
call fcn.00427eb0
lea ecx, [ebp - 0x268]
call fcn.00436400
cmp dword [eax + 0x14], 8
jb 0x42507c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x254]
cmp eax, 8
jb 0x4250a1
inc eax
lea ecx, [ebp - 0x268]
push eax
push dword [ebp - 0x268]
call fcn.00423720
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x4250bf
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00423720
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.00572b23
mov esp, ebp
pop ebp
ret
Function at 0x425350
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b758d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x63506c]
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, dword [ebp + 8]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
push ecx
cmovae eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4253d8
mov eax, dword [esi]
jmp 0x4253da
mov eax, esi
xor edi, edi
mov word [eax], di
mov dword [ebp - 0x2c], 1
test edx, edx
jne 0x4254d5
cmp ecx, 0x40000000
ja 0x4254d5
test edx, edx
jne 0x425498
cmp ecx, 0x100000
ja 0x425498
test edx, edx
jne 0x425455
cmp ecx, 0x400
ja 0x425455
call fcn.00573a20
cvtsd2ss xmm0, xmm0
sub esp, 8
lea eax, [ebp - 0x44]
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
push str._.2f_B
push eax
call fcn.00434da0
add esp, 0x10
mov ecx, esi
push eax
call fcn.0042cdc0
lea ecx, [ebp - 0x44]
call fcn.004236e0
jmp 0x425567
call fcn.00573a20
cvtsd2ss xmm0, xmm0
sub esp, 8
lea eax, [ebp - 0x44]
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x61f140]
movsd qword [esp], xmm0
push str._.2f_KB
push eax
call fcn.00434da0
add esp, 0x10
mov ecx, esi
push eax
call fcn.0042cdc0
lea ecx, [ebp - 0x44]
call fcn.004236e0
jmp 0x425567
call fcn.00573a20
cvtsd2ss xmm0, xmm0
lea eax, [ebp - 0x44]
sub esp, 8
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mulsd xmm1, qword [0x61f140]
mulsd xmm1, qword [0x61f140]
movsd qword [esp], xmm1
push str._.2f_MB
push eax
call fcn.00434da0
add esp, 0x10
mov edi, eax
jmp 0x425514
call fcn.00573a20
cvtsd2ss xmm0, xmm0
lea eax, [ebp - 0x44]
sub esp, 8
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, qword [0x61f140]
mulsd xmm1, xmm0
mulsd xmm1, xmm0
mulsd xmm1, xmm0
movsd qword [esp], xmm1
push str._.2f_GB
push eax
call fcn.00434da0
add esp, 0x10
mov edi, eax
cmp esi, edi
je 0x425552
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x42552b
inc ecx
push ecx
push dword [esi]
mov ecx, esi
call fcn.00423720
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x425543
mov eax, dword [esi]
jmp 0x425545
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edi
call fcn.004230a0
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x425567
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00423720
mov ecx, dword [ebp + 0x20]
cmp ecx, 8
jb 0x42557c
inc ecx
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00423720
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.00572b23
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4278a0
Capabilities:
Create shortcut via ishelllink
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7970
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x63506c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0
mov dword [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
cmp dword [esi + 0x14], 8
jb 0x4278f2
mov eax, dword [esi]
jmp 0x4278f4
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x14]
push eax
push 0x5bf870
push 1
push 0
push 0x5bf8e0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x42793e
cmp dword [edi + 0x14], 8
jb 0x42791f
mov edi, dword [edi]
mov eax, dword [ebp - 0x14]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push edx
push 0x5bf900
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jns 0x42794e
call dword [sym.imp.ole32.dll_OleUninitialize]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor bl, bl
jmp 0x427982
cmp dword [esi + 0x14], 8
jb 0x427956
mov esi, dword [esi]
mov eax, dword [ebp - 0x18]
push 2
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_OleUninitialize]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov bl, 1
mov eax, dword [ebp + 0x28]
cmp eax, 8
jb 0x427997
inc eax
lea ecx, [ebp + 0x14]
push eax
push dword [ebp + 0x14]
call fcn.00423720
mov ecx, dword [ebp + 0x40]
xor eax, eax
mov dword [ebp + 0x28], 7
mov dword [ebp + 0x24], 0
mov word [ebp + 0x14], ax
cmp ecx, 8
jb 0x4279c0
inc ecx
push ecx
push dword [ebp + 0x2c]
lea ecx, [ebp + 0x2c]
call fcn.00423720
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00572b23
mov esp, ebp
pop ebp
ret 0x3c
Function at 0x42cf20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x42cf39
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x42cf76
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x42cf72
nop word [eax + eax]
cmp esi, edx
jae 0x42cf76
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x42cf60
cmp esi, edx
jb 0x42cf7d
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x42e7e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8389
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x63506c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 0x58
call fcn.00572b42
mov esi, eax
mov dword [ebp - 0x14], esi
push 0x58
push 0
push esi
mov dword [ebp - 4], 0
call fcn.0058b9c0
mov dword [esi + 0x10], 0x61d7f0
mov dword [esi + 0x4c], vtable.nbase::SupportWeakCallback.0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
add esp, 0xc
mov byte [ebp - 4], 1
mov ecx, esi
mov dword [ebp - 0x10], 1
push str.Global_Chores_Thread
call fcn.00439a90
mov eax, dword [esi + 0x10]
mov dword [esi], vtable.MiscThread.1.0
mov eax, dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + esi + 0x10], vtable.MiscThread.0
mov dword [esi + 0x48], 1
mov ecx, dword [edi + 0x48]
mov dword [edi + 0x48], esi
test ecx, ecx
je 0x42e8a5
mov eax, dword [ecx]
push 1
call dword [eax]
mov esi, dword [edi + 0x48]
cmp dword [esi + 0x1c], 0
jne 0x42e8d6
mov ecx, esi
mov dword [esi + 0x18], 0
mov dword [esi + 0x28], 0
call fcn.0043a530
test al, al
je 0x42e8d6
push 0xffffffffffffffff
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [esi + 0x14], 1
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x641920]
cmp eax, dword [ecx + 4]
jle 0x42e92b
push 0x641920
call fcn.00572f42
add esp, 4
cmp dword [0x641920], 0xffffffff
jne 0x42e92b
mov dword [ebp - 4], 2
call fcn.00437030
push 0x5be040
call fcn.00572df9
push 0x641920
mov dword [ebp - 4], 0xffffffff
call fcn.00572f03
add esp, 8
push 0
call fcn.004370b0
push dword [0x641750]
call fcn.0044744c
add esp, 4
push 0x61d75c
push 0x82
push dword [0x641750]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push dword [0x641750]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [0x641750]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push edi
call fcn.00447678
push 0x554
call fcn.00572b42
mov esi, eax
mov dword [ebp - 0x14], esi
push 0x554
push 0
push esi
mov dword [ebp - 4], 3
call fcn.0058b9c0
add esp, 0x18
mov ecx, esi
call fcn.00423b90
push 0
push accept
push accept
push accept
push accept
push 0x100
push 0x96c80000
mov esi, eax
mov dword [ebp - 4], 0xffffffff
push 0x61d764
push 0
mov ecx, esi
call fcn.00448e17
push 0x6b
mov ecx, esi
call fcn.004491f0
mov ecx, esi
call fcn.00448cc3
push 1
push 1
mov ecx, esi
call fcn.00449367
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42ea10
Capabilities:
Get thread local storage value
Terminate process
Terminate thread

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
call fcn.004478a6
call dword [sym.imp.ole32.dll_OleUninitialize]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, dword [edi + 0x48]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 8]
test eax, eax
je 0x42ea5d
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x42ea4a
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [esi + 8]
call ebx
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov esi, dword [edi + 0x48]
cmp byte [esi + 0x14], 0
je 0x42eab5
mov ecx, esi
call fcn.00439d70
mov eax, dword [esi + 8]
test eax, eax
je 0x42eaaf
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42ea9c
mov eax, dword [esi + 8]
test eax, eax
je 0x42eaaf
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x42ea9c
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [esi + 8]
call ebx
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov word [esi + 0x14], 0
mov ecx, dword [edi + 0x48]
mov dword [edi + 0x48], 0
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x42eacc
mov eax, dword [ecx]
push 1
call dword [eax]
call fcn.0043a080
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42eae1
mov byte [eax + 4], 1
jmp fcn.00437480
Function at 0x42f670
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b84bf
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x63506c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x14], 7
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x48], eax
mov dword [eax + 0x10], 0
jb 0x42f6d1
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], ecx
pushal
mov ebx, dword fs:[0x18]
mov eax, dword fs:[0x30]
mov ebx, dword [eax + 0xa8]
mov eax, dword [eax + 0xa4]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], eax
popal
cmp dword [ebp - 0x38], 5
jl 0x42f7cc
push str.GetNativeSystemInfo
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42f734
lea ecx, [ebp - 0x34]
push ecx
call eax
jmp 0x42f73e
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [ebp - 0x34]
cmp ax, 9
je 0x42f753
cmp ax, 6
mov eax, 0x20
jne 0x42f758
mov eax, 0x40
push eax
push dword [ebp - 0x3c]
lea eax, [ebp - 0x60]
push dword [ebp - 0x38]
push str.w_02d_02dx_d
push eax
call fcn.00434da0
add esp, 0x14
mov esi, eax
mov ebx, dword [ebp - 0x40]
cmp ebx, esi
je 0x42f7b3
mov eax, dword [ebx + 0x14]
cmp eax, 8
jb 0x42f78c
inc eax
mov ecx, ebx
push eax
push dword [ebx]
call fcn.00423720
mov dword [ebx + 0x14], 7
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], 0
jb 0x42f7a4
mov eax, dword [ebx]
jmp 0x42f7a6
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
mov ecx, ebx
push esi
call fcn.004230a0
mov ecx, dword [ebp - 0x4c]
cmp ecx, 8
jb 0x42f7c8
inc ecx
push ecx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x60]
call fcn.00423720
mov eax, ebx
jmp 0x42f7cf
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00572b23
mov esp, ebp
pop ebp
ret
Function at 0x431a90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x431a9b
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x431b57
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61ad20]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61ad20]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61ad20]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61ad20]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61ad20]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61ad20]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61ad20]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61ad20]
sub edi, 1
jne 0x431ab0
pop edi
test esi, esi
je 0x431b7a
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61ad20]
sub esi, 1
jne 0x431b60
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x432290
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x63506c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
mov esi, ebx
mov eax, ecx
imul esi, dword [ebp + 8]
mov dword [ebp - 8], eax
cmp byte [edi], 0
je 0x4322d6
push 0
lea ecx, [ebp - 8]
push ecx
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4322d1
mov byte [edi + 8], 1
mov eax, dword [ebp - 8]
jmp 0x4322fe
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, ecx
jbe 0x4322e7
mov esi, ecx
sub esi, edx
mov ecx, dword [edi + 0x14]
push esi
add ecx, edx
push ecx
push dword [ebp - 8]
call fcn.0058bfe0
add esp, 0xc
mov eax, esi
add dword [edi + 0x1c], esi
mov ecx, dword [ebp - 4]
xor edx, edx
pop edi
div ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.00572b23
mov esp, ebp
pop ebp
ret