joyce8/EMBER2024-capa huggingface dataset:
Function at 0x90c4770
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x90d4bd2
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xb20
mov eax, dword [0x91154f8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0x18]
push eax
mov dword [ebp - 0xb2c], eax
call fcn.09094540
add esp, 4
lea ecx, [ebp - 0xb24]
push eax
call fcn.09094540
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
push dword [ebp - 0xb24]
mov dword [ebp - 4], 0
push esi
call fcn.0900932b
add esp, 0x3c
lea ecx, [ebp - 0xb20]
push eax
call fcn.09094540
mov byte [ebp - 4], 1
xor eax, eax
nop dword [eax]
nop dword [eax + eax]
mov byte [ebp + eax - 0x118], al
inc eax
cmp eax, 0x100
jb 0x90c4820
mov ecx, dword [ebp - 0xb20]
lea eax, [ebp - 0x918]
push 0
push 0x5058595a
push 0x67386b30
push 0x100
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.09094540
movzx ecx, word [ebp - 0x11c]
movzx edi, word [ebp - 0x914]
mov dword [ebp - 0xb28], ecx
cmp ecx, edi
jbe 0x90c499a
mov edx, ecx
sub edx, edi
xor esi, esi
mov dword [ebp - 0xb1c], edx
movzx eax, word [ebp + esi*8 - 0x914]
cmp eax, edi
ja 0x90c4891
xor eax, eax
jmp 0x90c48be
cmp eax, ecx
jb 0x90c489c
mov eax, 0x8000
jmp 0x90c48be
sub eax, edi
mov ecx, edx
shl eax, 0xf
xor edx, edx
shr ecx, 1
add eax, ecx
mov ecx, dword [ebp - 0xb28]
div dword [ebp - 0xb1c]
mov edx, dword [ebp - 0xb1c]
movzx eax, ax
mov word [ebp + esi*2 - 0xb18], ax
inc esi
cmp esi, 0x100
jb 0x90c4881
lea ecx, [ebp - 0xb20]
mov byte [ebp - 4], 0
call fcn.09019907
lea ecx, [ebp - 0xb24]
mov dword [ebp - 4], 0xffffffff
call fcn.0901e5f6
mov esi, dword [ebp - 0xb2c]
lea eax, [esi + 8]
push eax
push 0x280
mov dword [ebp - 0xb2c], eax
call fcn.09094540
add esp, 8
mov dword [ebp - 0xb28], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x90c492a
push esi
mov ecx, eax
call fcn.09094540
mov edx, eax
jmp 0x90c492c
xor edx, edx
movsd xmm1, qword [ebx + 0x10]
xorps xmm0, xmm0
mov eax, dword [ebx + 0xc]
mulsd xmm1, qword [0x90e7a60]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
comisd xmm0, xmm1
mov dword [edx + 0x70], ecx
mov dword [edx + 0x74], eax
jbe 0x90c495a
subsd xmm1, qword [0x90dd3c8]
jmp 0x90c4962
addsd xmm1, qword [0x90dd3c8]
cvttsd2si eax, xmm1
lea edi, [edx + 0x7a]
mov ecx, 0x80
lea esi, [ebp - 0xb18]
rep movsd dword es:[edi], dword [esi]
mov word [edx + 0x78], ax
mov eax, edx
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.09002290
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x6250726f
call fcn.09094540
int3
Function at 0x1023a000
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov al, byte [0x10225158]
test eax, eax
je 0x1023a01d
mov cl, byte [0x10225608]
or cl, 1
mov byte [0x10225608], cl
cmp dword [0x10225130], 0
je 0x1023a035
mov dl, byte [0x10225608]
or dl, 8
mov byte [0x10225608], dl
xor eax, eax
mov al, byte [0x10225608]
test eax, eax
je 0x1023a09f
cmp dword [0x1022513c], 0
je 0x1023a059
push 0x10227dfc
push 0x10227e00
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov ecx, dword [0x10234454]
push ecx
mov dl, byte [0x10225608]
push edx
push 0x102253b0
push 0x10225158
mov eax, dword [0x10225140]
push eax
mov ecx, dword [0x1022513c]
push ecx
mov edx, dword [0x10225138]
push edx
mov eax, dword [0x10225134]
push eax
mov ecx, dword [0x10225130]
push ecx
push 0x10225128
call fcn.1023d498
add esp, 0x28
pop ebp
ret
Function at 0x1023b75f
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov word [ebp - 8], 0
call fcn.1023ca78
mov word [ebp - 4], ax
cmp dword [0x10234570], 0
je 0x1023b789
mov dword [0x10234b44], 0
jmp 0x1023b793
mov dword [0x10234b44], 1
cmp dword [0x10234b44], 0
je 0x1023b993
cmp dword [0x10227df8], 1
je 0x1023b7ba
mov eax, dword [0x10227df4]
cmp eax, dword [0x10227df0]
jne 0x1023b92c
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 4
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 5
idiv ecx
add edx, 1
mov dword [0x10227df0], edx
mov dword [0x10227df4], 1
mov edx, dword [0x10236818]
and edx, 0x1f3
mov dword [0x10234550], edx
mov eax, dword [0x10234550]
mov ecx, dword [eax*4 + 0x10224010]
xor ecx, 0xfd0699d6
mov dword [0x10234540], ecx
mov dword [0x10234544], 0
push 4
push 0
push 0x10234544
push 0x10234540
movzx dx, byte [0x1022400d]
push edx
push 0x102346ac
call fcn.1023e480
mov word [ebp - 4], ax
mov eax, dword [ebp - 4]
and eax, 0xffff
test eax, eax
jne 0x1023b876
mov ecx, dword [0x10234544]
xor ecx, 0x7b2309a7
mov edx, dword [0x10234550]
xor ecx, dword [edx*4 + 0x102247e0]
test ecx, ecx
je 0x1023b920
xor eax, eax
mov al, byte [0x10226f6a]
cmp eax, 0x31
jne 0x1023b888
mov word [ebp - 4], 3
xor ecx, ecx
mov cl, byte [0x10226f6a]
cmp ecx, 0x32
je 0x1023b8a2
xor edx, edx
mov dl, byte [0x10226f6a]
cmp edx, 0x33
jne 0x1023b8a8
mov word [ebp - 4], 0
mov dword [0x10227df8], 1
cmp dword [0x10234594], 0
jne 0x1023b91e
xor eax, eax
mov al, byte [0x10226f6a]
cmp eax, 0x32
je 0x1023b8d4
xor ecx, ecx
mov cl, byte [0x10226f6a]
cmp ecx, 0x33
jne 0x1023b91e
mov edx, dword [0x1023469c]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov dword [0x1023454c], 0xc
push 0x2010
call fcn.1023a0a1
push eax
call fcn.1023c8db
add esp, 8
mov dword [0x1023454c], 0
mov eax, dword [0x1023469c]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [0x10234594], 1
jmp 0x1023b92a
mov dword [0x10227df8], 0
jmp 0x1023b991
mov ecx, dword [0x10227df4]
add ecx, 1
mov dword [0x10227df4], ecx
mov edx, dword [0x10236818]
mov dword [0x10234540], edx
mov dword [0x10234544], 0
push 4
push 0
push 0x10234544
push 0x10234540
push 0
push 0x102346ac
call fcn.1023e480
mov word [ebp - 4], ax
mov eax, dword [ebp - 4]
and eax, 0xffff
test eax, eax
jne 0x1023b98b
mov ecx, dword [0x10234544]
xor ecx, dword [0x10236818]
test ecx, ecx
je 0x1023b991
mov word [ebp - 4], 3
jmp 0x1023b9f7
mov edx, dword [0x10227df4]
add edx, 1
mov dword [0x10227df4], edx
mov eax, dword [0x10236818]
mov dword [0x10234540], eax
mov dword [0x10234544], 0
push 4
push 0
push 0x10234544
push 0x10234540
push 0
push 0x102346ac
call fcn.1023e480
mov word [ebp - 4], ax
mov ecx, dword [ebp - 4]
and ecx, 0xffff
test ecx, ecx
jne 0x1023b9f1
mov edx, dword [0x10234544]
xor edx, dword [0x10236818]
test edx, edx
je 0x1023b9f7
mov word [ebp - 4], 3
mov ax, word [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1023bec1
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x10236800
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0x64
jge 0x1023bf3e
mov eax, dword [ebp - 8]
cmp dword [eax*4 + 0x10236820], 0
je 0x1023bf2d
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x10236820]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x1023bf2d
cmp dword [ebp - 4], 0x103
je 0x1023bf2d
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*4 + 0x10236820]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov dword [eax*4 + 0x10236820], 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.1023c116
add esp, 4
mov dword [ebp - 8], eax
jmp 0x1023bed9
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0x64
jge 0x1023bf7a
mov edx, dword [ebp - 8]
cmp dword [edx*4 + 0x10236820], 0
je 0x1023bf69
mov eax, dword [ebp - 8]
mov ecx, dword [eax*4 + 0x10236820]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov edx, dword [ebp - 8]
push edx
call fcn.1023c116
add esp, 4
mov dword [ebp - 8], eax
jmp 0x1023bf45
mov esp, ebp
pop ebp
ret

Function at 0x1023bf7e
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x64
jge 0x1023bfbe
mov eax, dword [ebp - 4]
cmp dword [eax*4 + 0x10236820], 0
je 0x1023bfad
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x10236820]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 4]
push eax
call fcn.1023c116
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1023bf89
push 0x10236800
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esp, ebp
pop ebp
ret

Function at 0x1023dcf0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push edi
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
pop edi
je 0x1023dd65
mov eax, dword [esp + 0x10]
mov ecx, 2
sub eax, ecx
je 0x1023dd3c
mov word [0x10234b50], cx
call fcn.102401a0
add esp, 0x94
ret
cmp dword [esp + 4], 5
jne 0x1023dd29
mov edx, dword [esp + 8]
mov eax, 1
cmp edx, eax
jb 0x1023dd29
mov word [0x10234b50], ax
call fcn.1023da40
call fcn.1023dbd0
call fcn.102401a0
add esp, 0x94
ret
Function at 0x1023ea40
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push ebp
push esi
push edi
xor ebp, ebp
call fcn.1024a160
test eax, eax
jne 0x1023ea70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
jne 0x1023ea85
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
mov edx, dword [esp + 0x14]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x1023eac9
mov edi, dword [esp + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
push esi
call ebx
test eax, eax
je 0x1023eaa9
cmp eax, 0x102
jne 0x1023eab6
mov eax, dword [esp + 0x24]
inc ebp
cmp ebp, eax
jg 0x1023eac0
jmp 0x1023ea8f
mov eax, dword [esp + 0x1c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 0x73
pop ebx
ret
push esi
call fcn.1023eb40
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x1023eae0
Capabilities:
Check mutex on windows

Disassembly:
push esi
call fcn.1024a160
test eax, eax
jne 0x1023eaf8
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push eax
push 0
push ecx
jmp 0x1023eb01
mov edx, dword [esp + 8]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
jne 0x1023eb14
mov eax, 1
pop esi
ret
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1023eb2b
mov eax, dword [esp + 0x10]
mov dword [eax], esi
xor eax, eax
pop esi
ret
mov eax, 0x73
pop esi
ret
Function at 0x10242380
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x208
push ebx
mov bx, word [esp + 0x220]
neg bx
push ebp
mov ebp, dword [esp + 0x21c]
sbb ebx, ebx
push esi
mov al, byte [ebp]
and ebx, 0xfffffffe
add ebx, 4
push edi
test al, al
je 0x102423ce
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x10233504
mov byte [ebp], 0
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
test eax, eax
je 0x102423f6
jbe 0x102423f6
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x102423fe
mov dword [esp + 0x14], 0xa
mov ecx, dword [esp + 0x21c]
cmp word [ecx + 0x74], 4
jne 0x10242411
mov ebx, 2
mov edx, dword [esp + 0x228]
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0xc4]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x224]
lea ecx, [esp + 0xc8]
push eax
push ecx
push edx
push ebx
call fcn.10246c20
test ax, ax
jne 0x10242586
cmp word [esp + 0x14], ax
mov dword [esp + 0x10], 0x46
mov dword [esp + 0x1c], 0
jbe 0x1024259b
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
lea esi, [esp + 0xc4]
mov dword [esp + 0x18], esi
cmp word [esi + 0x20], 0
jbe 0x10242560
mov ecx, 0x10
xor eax, eax
mov edi, ebp
push 0x102334e4
rep stosd dword es:[edi], eax
lea eax, [esp + 0x64]
push eax
call ebx
mov ecx, dword [esp + 0x224]
push esi
push ecx
call fcn.10241850
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 0x102334e4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [esp + 0x74]
mov edx, ecx
mov esi, edi
mov edi, ebp
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebx
lea ecx, [esp + 0x78]
push 0x102334e4
push ecx
call ebx
mov esi, dword [sym.imp.MSVCRT.dll__stricmp]
lea edx, [esp + 0x40]
push 0x102326d0
push edx
call esi
add esp, 0x28
test eax, eax
je 0x1024250c
lea eax, [esp + 0x20]
push 0x10232704
push eax
call esi
add esp, 8
test eax, eax
jne 0x1024251b
push 0x102326c0
push ebp
call esi
add esp, 8
test eax, eax
je 0x1024255c
mov ecx, dword [esp + 0x22c]
mov edx, dword [esp + 0x228]
mov eax, dword [esp + 0x220]
push ecx
mov ecx, dword [esp + 0x220]
push edx
push ebp
push eax
push ecx
call fcn.10241cd0
add esp, 0x14
mov dword [esp + 0x10], eax
test ax, ax
je 0x10242582
lea edx, [esp + 0x60]
push 0x102334e4
push edx
call ebx
add esp, 8
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
inc eax
and ecx, 0xffff
add esi, 0x22
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
jl 0x10242479
mov eax, dword [esp + 0x10]
cmp ax, 0x45
jne 0x1024259f
pop edi
pop esi
pop ebp
mov ax, 3
pop ebx
add esp, 0x208
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x102425b0
Capabilities:
Get session user name

Disassembly:
sub esp, 0x4c8
push esi
lea eax, [esp + 8]
push edi
lea ecx, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x14], 0x40
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
cmp eax, 1
jne 0x10242641
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x54]
push ecx
push edx
call fcn.1024b560
add esp, 0xc
cmp eax, 0xffffffff
jne 0x10242637
mov eax, dword [0x102334dc]
mov cx, word [0x102334e0]
mov dl, byte [0x102334e2]
mov dword [esp + 0x10], eax
mov word [esp + 0x14], cx
mov byte [esp + 0x16], dl
jmp 0x10242688
lea edi, [esp + 0x50]
lea edx, [esp + 0x10]
jmp 0x1024266b
mov dx, word [0x102334e0]
mov ecx, dword [0x102334dc]
mov al, byte [0x102334e2]
mov word [esp + 0x14], dx
mov dword [esp + 0x10], ecx
mov byte [esp + 0x16], al
lea edi, [esp + 0x10]
lea edx, [esp + 0xd0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x90]
push ebx
push ecx
call fcn.10249fd0
lea edi, [esp + 0x98]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x2dc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xe0]
push ecx
call fcn.1024b560
add esp, 0x10
cmp eax, 0xffffffff
pop ebx
jne 0x10242720
mov edx, dword [0x10233558]
mov eax, dword [0x1023355c]
mov ecx, dword [0x10233560]
mov dword [esp + 0xd0], edx
mov dx, word [0x10233564]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], ecx
mov word [esp + 0xdc], dx
jmp 0x1024274b
lea edi, [esp + 0x2d0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 8]
lea edi, [esp + 0xd0]
push ecx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd4]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0xc], 0
push ecx
push edx
call fcn.10249ef0
mov ecx, dword [esp + 0x14]
add esp, 0xc
inc eax
neg eax
sbb eax, eax
pop edi
and eax, ecx
pop esi
mov dword [0x10234ba8], eax
add esp, 0x4c8
ret
Function at 0x10242b80
Capabilities:
Create thread

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x40]
xor ebp, ebp
cmp edi, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
je 0x10242dbe
mov esi, dword [esp + 0x44]
cmp si, bp
jbe 0x10242dbe
cmp si, 0xffff
jne 0x10242bbf
pop edi
pop esi
pop ebp
mov ax, 3
pop ebx
add esp, 0x2c
ret 0xc
push edi
call fcn.10241550
mov ebx, eax
add ebx, 0x18
cmp word [ebx], 0x7242
jne 0x10242db0
test byte [ebx + 0x12], 4
jne 0x10242bee
mov eax, 2
pop edi
pop esi
mov word [ebx + 6], ax
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
push esi
push edi
call fcn.1024cb30
cmp ax, bp
jne 0x10242dc2
push edi
call fcn.10242b30
add esp, 4
test ax, ax
je 0x10242c25
push edi
call fcn.1024cc90
cmp ax, bp
jne 0x10242bb1
push edi
call fcn.10242b30
add esp, 4
test ax, ax
jne 0x10242c0c
push edi
call fcn.102427a0
mov ecx, dword [0x10236aa8]
push ecx
push eax
call fcn.10242a10
mov esi, eax
add esp, 0xc
cmp word [esi + 0x76], bp
mov ebp, dword [sym.imp.USER32.dll_GetSystemMetrics]
je 0x10242c67
push 0x1000
call ebp
test eax, eax
je 0x10242c67
mov eax, 0x46
pop edi
pop esi
mov word [ebx + 6], ax
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
cmp word [esp + 0x48], 1
jne 0x10242da3
cmp word [0x10234bba], 0
jne 0x10242cf5
lea edx, [esp + 0x18]
push edx
call fcn.1024a180
add esp, 4
test eax, eax
je 0x10242ca1
mov eax, 0x4a
pop edi
pop esi
mov word [ebx + 6], ax
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
push 0
lea eax, [esp + 0x1c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [0x10234bc0], eax
jne 0x10242ccc
mov eax, 0x4a
pop edi
pop esi
mov word [ebx + 6], ax
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
lea ecx, [esp + 0x40]
push ecx
push 0
push 0
push 0x1023f880
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [0x10234bc4], eax
mov word [0x10234bba], 1
cmp word [esi + 0x76], 0
je 0x10242d1a
push 0x1000
call ebp
test eax, eax
je 0x10242d1a
mov eax, 0x46
pop edi
pop esi
mov word [ebx + 6], ax
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push edi
call fcn.10242960
add esp, 0xc
test eax, eax
jne 0x10242d44
mov eax, 0x46
pop edi
pop esi
mov word [ebx + 6], ax
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
mov si, word [esp + 0x10]
mov ecx, dword [0x10234ba8]
neg si
sbb esi, esi
and esi, ecx
lea ecx, [esp + 0x24]
push ecx
push edi
call fcn.1024c710
mov dx, word [ebx + 0x38]
mov ax, word [ebx + 0x36]
push 0
push 0
push 0
push esi
push 1
push 1
push edx
push eax
push ebx
call fcn.102434f0
add esp, 0x24
test ax, ax
je 0x10242da3
push 0x404
push edi
call fcn.1024c890
push edi
call fcn.1024c970
pop edi
pop esi
pop ebp
mov ax, 0x46
pop ebx
add esp, 0x2c
ret 0xc
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0x2c
ret 0xc
pop edi
pop esi
pop ebp
mov ax, 2
pop ebx
add esp, 0x2c
ret 0xc
mov ax, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
Function at 0x102434f0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
push edi
push ebx
push ebp
push eax
mov eax, dword [esp + 0x28]
push 0
push esi
push ecx
push edx
push eax
call fcn.1023eed0
add esp, 0x24
test ax, ax
je 0x10243538
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov word [ecx + 6], ax
pop ebx
ret
cmp word [0x10234bb8], 0
jne 0x102435ca
lea edx, [esp + 0x30]
lea eax, [esp + 0x34]
push edx
push 0
push eax
push 0x1023ee00
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [0x10234bb4], eax
push 0x1b58
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x102435ca
mov ax, word [esp + 0x34]
cmp ax, 2
jne 0x102435d2
cmp dword [esp + 0x20], 0xffffffff
jne 0x1024359e
test esi, esi
jge 0x1024359e
mov ecx, dword [esp + 0x28]
push edi
push ebx
push ebp
push ecx
push 2
push esi
push 0xffffffffffffffff
jmp 0x102435ab
mov ecx, dword [esp + 0x28]
push edi
push ebx
push ebp
push ecx
push 2
push esi
push 1
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push edx
push eax
call fcn.1023eed0
mov ecx, dword [0x10234bb4]
add esp, 0x24
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
ret
test ax, ax
jne 0x102435ec
mov edx, dword [0x10234bb4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
ret
cmp dword [esp + 0x20], 1
jne 0x10243606
test esi, esi
jle 0x10243606
mov eax, dword [esp + 0x28]
push edi
push ebx
push ebp
push eax
push 1
push esi
push 1
jmp 0x10243613
mov eax, dword [esp + 0x28]
push edi
push ebx
push ebp
push eax
push 1
push esi
push 0xffffffffffffffff
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
call fcn.1023eed0
mov eax, dword [esp + 0x38]
add esp, 0x24
mov word [eax + 6], 0x46
mov ecx, dword [0x10234bb4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov ax, 0x46
pop ebx
ret
Function at 0x10249ef0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x10235538]
push esi
mov esi, dword [esp + 8]
test eax, eax
jne 0x10249f16
call fcn.10249f60
test eax, eax
je 0x10249f0c
or eax, 0xffffffff
pop esi
ret
mov dword [0x10233770], 0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, eax
dec eax
test ecx, ecx
je 0x10249f50
push ebx
push edi
lea edi, [eax + 1]
mov eax, dword [edx]
xor ebx, ebx
mov bl, byte [esi]
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
mov ebx, dword [0x10235538]
shr eax, 8
mov ecx, dword [ebx + ecx*4]
inc esi
xor eax, ecx
dec edi
mov dword [edx], eax
jne 0x10249f2a
pop edi
pop ebx
mov eax, dword [edx]
pop esi
ret

Function at 0x10249f60
Capabilities:
Hash data with crc32

Disassembly:
push 0x400
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [0x10235538], eax
test eax, eax
jne 0x10249f97
mov eax, dword [sym.imp.MSVCRT.dll__iob]
push 0x102337a4
add eax, 0x40
push 0x10233774
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
or eax, 0xffffffff
ret
push esi
xor edx, edx
jmp 0x10249fa1
mov eax, dword [0x10235538]
mov ecx, edx
mov esi, 8
test cl, 1
je 0x10249fb7
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x10249fb9
shr ecx, 1
dec esi
jne 0x10249fa8
mov dword [eax + edx*4], ecx
inc edx
cmp edx, 0xff
jle 0x10249f9c
xor eax, eax
pop esi
ret

Function at 0x1024a1e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
mov cl, 0x65
mov al, 0x72
push esi
xor esi, esi
mov byte [esp + 4], 0x54
mov byte [esp + 5], cl
mov byte [esp + 6], al
mov byte [esp + 7], 0x6d
mov byte [esp + 8], 0x69
mov byte [esp + 9], 0x6e
mov byte [esp + 0xa], 0x61
mov byte [esp + 0xb], 0x6c
mov byte [esp + 0xc], 0x20
mov byte [esp + 0xd], 0x53
mov byte [esp + 0xe], cl
mov byte [esp + 0xf], al
mov byte [esp + 0x10], 0x76
mov byte [esp + 0x11], cl
mov byte [esp + 0x12], al
mov byte [esp + 0x13], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
jne 0x1024a269
cmp al, 4
jbe 0x1024a257
lea eax, [esp + 4]
push eax
call fcn.1024a270
add esp, 4
pop esi
add esp, 0x10
ret
lea ecx, [esp + 4]
push ecx
call fcn.1024a270
add esp, 4
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret