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

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 8
push ebp
push esi
mov esi, dword [ecx]
xor ebp, ebp
and esi, 7
cmp eax, 5
jae 0x42f89d
pop esi
xor eax, eax
pop ebp
add esp, 8
ret
mov edx, dword [esp + 0x14]
push ebx
lea ebx, [edx + eax - 4]
push edi
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], ebx
lea edi, [edx + ebp]
cmp edi, ebx
jae 0x42f8cd
lea ebx, [ebx]
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x42f8cd
inc edi
cmp edi, ebx
jb 0x42f8c0
mov ebp, edi
sub ebp, edx
mov eax, ebp
sub eax, dword [esp + 0x10]
cmp edi, ebx
jae 0x42f9d5
cmp eax, 3
jbe 0x42f900
xor esi, esi
mov al, byte [edi + 4]
mov dword [esp + 0x10], ebp
test al, al
je 0x42f93b
cmp al, 0xff
je 0x42f93b
and esi, 3
add esi, esi
or esi, 1
inc ebp
jmp 0x42f8b3
lea ecx, [eax - 1]
shl esi, cl
and esi, 7
je 0x42f8e6
movzx ecx, byte [esi + 0x4b3f98]
mov eax, edi
sub eax, ecx
cmp byte [esi + 0x4b3f90], 0
mov al, byte [eax + 4]
je 0x42f929
test al, al
je 0x42f929
cmp al, 0xff
jne 0x42f8e6
and esi, 3
add esi, esi
mov dword [esp + 0x10], ebp
or esi, 1
inc ebp
jmp 0x42f8b3
movzx ecx, byte [edi + 3]
movzx edx, al
movzx eax, byte [edi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, eax
shl edx, 8
or edx, ecx
lea esp, [esp]
sub edx, ebp
sub edx, 5
mov eax, edx
test esi, esi
je 0x42f9a7
movzx edx, byte [esi + 0x4b3f98]
add edx, edx
add edx, edx
add edx, edx
mov ecx, 0x18
sub ecx, edx
mov ebx, eax
shr ebx, cl
test bl, bl
je 0x42f98c
cmp bl, 0xff
jne 0x42f9a3
mov ebx, dword [esp + 0x14]
mov ecx, 0x20
sub ecx, edx
mov edx, 1
shl edx, cl
dec edx
xor edx, eax
jmp 0x42f960
mov ebx, dword [esp + 0x14]
mov edx, eax
shr edx, 0x18
and dl, 1
dec dl
not dl
mov byte [edi + 4], dl
mov edx, eax
shr edx, 8
mov ecx, eax
shr ecx, 0x10
mov byte [edi + 2], dl
mov edx, dword [esp + 0x1c]
mov byte [edi + 3], cl
mov byte [edi + 1], al
add ebp, 5
jmp 0x42f8b3
pop edi
pop ebx
cmp eax, 3
jbe 0x42f9ec
mov eax, dword [esp + 0x18]
xor esi, esi
mov dword [eax], esi
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret
lea ecx, [eax - 1]
mov eax, dword [esp + 0x18]
shl esi, cl
and esi, 7
mov dword [eax], esi
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret

Function at 0x462090
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a5b8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4d6394]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.0045c800
mov dword [esi], 0x4ad638
mov dword [esp + 0x18], 0
test edi, edi
je 0x4620da
add edi, 0x28
jmp 0x4620dc
xor edi, edi
mov dword [esi + 0x28], 0x4ad5fc
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x4620f4
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], 0x4ad618
mov dword [esi + 0x28], 0x4ad610
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4626b0
Capabilities:
Check http status code

Disassembly:
sub esp, 8
push edi
push 0
push 0
push 0
push 0
push 0
call dword [0x4a4534]
mov edi, eax
test edi, edi
jne 0x4626d1
pop edi
add esp, 8
ret 4
mov eax, dword [esp + 0x10]
push esi
push 0
push 0x84400000
push 0
push 0
push eax
push edi
call dword [0x4a4530]
mov esi, eax
test esi, esi
jne 0x462700
push edi
call dword [0x4a452c]
pop esi
xor eax, eax
pop edi
add esp, 8
ret 4
push 0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x20000013
push esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 4
call dword [0x4a4528]
push edi
mov edi, dword [0x4a452c]
test eax, eax
jne 0x462742
call edi
push esi
call edi
pop esi
xor eax, eax
pop edi
add esp, 8
ret 4
call edi
push esi
call edi
xor eax, eax
cmp dword [esp + 8], 0xc8
pop esi
sete al
pop edi
add esp, 8
ret 4
Function at 0x46d230
Capabilities:
Encode data using base64

Disassembly:
push 0xffffffffffffffff
push 0x489949
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d6394]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
xor edi, edi
mov dword [esp + 0x24], edi
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], edi
mov dword [esp + 0x28], ebp
mov byte [ebp + 4], 0
mov dword [esp + 0x34], edi
cmp dword [eax + 0x18], 0x10
mov dword [esp + 0x24], 1
jb 0x46d292
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
jmp 0x46d299
lea edx, [eax + 4]
mov dword [esp + 0x1c], edx
mov eax, dword [eax + 0x14]
xor esi, esi
cmp eax, edi
je 0x46d40e
mov ecx, dword [esp + 0x1c]
mov dl, byte [ecx]
mov byte [esp + esi + 0x18], dl
mov bl, byte [esp + 0x19]
dec eax
inc esi
inc ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
cmp esi, 3
jne 0x46d33e
mov al, byte [esp + 0x18]
mov cl, al
shr cl, 2
and al, 3
shl al, 4
mov byte [esp + 0x14], cl
mov dl, bl
shr dl, 4
add al, dl
mov byte [esp + 0x15], al
mov al, byte [esp + 0x1a]
mov cl, bl
and cl, 0xf
add cl, cl
mov dl, al
add cl, cl
shr dl, 6
add cl, dl
and al, 0x3f
mov byte [esp + 0x16], cl
mov byte [esp + 0x17], al
xor esi, esi
movzx edi, byte [esp + esi + 0x14]
cmp edi, dword [0x4d7e0c]
jbe 0x46d313
call fcn.00473356
cmp dword [0x4d7e10], 0x10
mov eax, dword [0x4d7dfc]
jae 0x46d326
mov eax, 0x4d7dfc
movzx eax, byte [eax + edi]
push eax
mov ecx, ebp
call fcn.004669a0
inc esi
cmp esi, 4
jl 0x46d301
mov eax, dword [esp + 0x20]
xor esi, esi
xor edi, edi
cmp eax, edi
jne 0x46d2a6
cmp esi, edi
je 0x46d40e
cmp esi, 3
jge 0x46d36f
mov ecx, 3
sub ecx, esi
push ecx
lea eax, [esp + esi + 0x1c]
push edi
push eax
call fcn.00474dd0
mov bl, byte [esp + 0x25]
add esp, 0xc
mov al, byte [esp + 0x18]
mov dl, al
mov cl, bl
and al, 3
shl al, 4
shr cl, 4
add al, cl
shr dl, 2
and bl, 0xf
mov byte [esp + 0x15], al
mov al, byte [esp + 0x1a]
add bl, bl
mov byte [esp + 0x14], dl
mov dl, al
add bl, bl
shr dl, 6
add bl, dl
mov byte [esp + 0x16], bl
and al, 0x3f
lea ebx, [esi + 1]
mov byte [esp + 0x17], al
test ebx, ebx
jle 0x46d3ec
nop
movzx eax, byte [esp + edi + 0x14]
cmp eax, dword [0x4d7e0c]
jbe 0x46d3c2
call fcn.00473356
cmp dword [0x4d7e10], 0x10
mov ecx, dword [0x4d7dfc]
jae 0x46d3d6
mov ecx, 0x4d7dfc
movzx eax, byte [esp + edi + 0x14]
movzx eax, byte [ecx + eax]
push eax
mov ecx, ebp
call fcn.004669a0
inc edi
cmp edi, ebx
jl 0x46d3b0
cmp esi, 3
jge 0x46d40e
mov edi, 3
sub edi, esi
jmp 0x46d400
push 0x3d
mov ecx, ebp
call fcn.004669a0
sub edi, 1
jne 0x46d400
mov eax, ebp
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.0040b1c2
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.0040b1c2
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.0040b1c2
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.0040b1c2
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.0040b1c2
mov dword [0x41203c], eax
call fcn.0040b1c2
test eax, eax
jge 0x402550
push 8
call fcn.0040b1c2
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.0040b1c2
pop ecx
push 1
call fcn.0040b1c2
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.0040b1c2
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.0040b1c2
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.0040b1c2
jmp 0x402495

Function at 0x40b1c2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x40b1d1
pop dword [ebp - 0x10]
mov eax, 0x40b1d1
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x38133
push 0
mov eax, 0x1b657f99
add eax, 0xe4db613f
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0x8fd61880
sub ecx, 0x8fd5d578
mov edi, eax
mov ebx, 0x786ab7b5
add ebx, 0x87d6840f
add ebx, dword [ebp - 0x10]
mov esi, 0x7d754426
sub esi, 0xeac4516
xor dword [ebp - 4], ecx
mov edx, dword [ebx]
add dword [ebp - 0xc], 0xa497a923
sub edx, esi
sub dword [ebp - 0xc], 0xcedcb450
mov dword [edi], edx
add edi, 4
add ebx, 0xfbe6a107
add ebx, 0x4195efd
loop 0x40b22b
add eax, 0xd2302a
sub eax, 0xd13137
xor ebx, ebx
add ebx, eax
add eax, 0x115a8678
sub eax, 0x115a8673
mov ecx, 0xa28c2517
sub ecx, 0xa24c2517
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x405e7c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x4229f4], esi
push edi
jne 0x405eb6
mov ecx, 0x4229f0
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x405e92
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x422df0
jl 0x405e8d
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x405eeb
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4229f0]
xor eax, esi
inc ecx
dec edx
jne 0x405ece
pop edi
pop esi
not eax
ret 0xc

Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..rdata
mov ebx, 0x407ef8
nop
nop
mov ecx, 0xefc67ca
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section._RDATA
nop
mov ebx, 0x42cd70
mov ecx, 0x34065a29
nop
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x406446
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a020]
jne 0x406450
repz ret
jmp fcn.00406966
Function at 0x101c4000
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov al, byte [0x101af158]
test eax, eax
je 0x101c401d
mov cl, byte [0x101af608]
or cl, 1
mov byte [0x101af608], cl
cmp dword [0x101af130], 0
je 0x101c4035
mov dl, byte [0x101af608]
or dl, 8
mov byte [0x101af608], dl
xor eax, eax
mov al, byte [0x101af608]
test eax, eax
je 0x101c409f
cmp dword [0x101af13c], 0
je 0x101c4059
push 0x101b1dfc
push 0x101b1e00
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov ecx, dword [0x101be454]
push ecx
mov dl, byte [0x101af608]
push edx
push 0x101af3b0
push 0x101af158
mov eax, dword [0x101af140]
push eax
mov ecx, dword [0x101af13c]
push ecx
mov edx, dword [0x101af138]
push edx
mov eax, dword [0x101af134]
push eax
mov ecx, dword [0x101af130]
push ecx
push 0x101af128
call fcn.101c7498
add esp, 0x28
pop ebp
ret
Function at 0x101c575f
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov word [ebp - 8], 0
call fcn.101c6a78
mov word [ebp - 4], ax
cmp dword [0x101be570], 0
je 0x101c5789
mov dword [0x101beb44], 0
jmp 0x101c5793
mov dword [0x101beb44], 1
cmp dword [0x101beb44], 0
je 0x101c5993
cmp dword [0x101b1df8], 1
je 0x101c57ba
mov eax, dword [0x101b1df4]
cmp eax, dword [0x101b1df0]
jne 0x101c592c
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 [0x101b1df0], edx
mov dword [0x101b1df4], 1
mov edx, dword [0x101c0818]
and edx, 0x1f3
mov dword [0x101be550], edx
mov eax, dword [0x101be550]
mov ecx, dword [eax*4 + 0x101ae010]
xor ecx, 0xfd0699d6
mov dword [0x101be540], ecx
mov dword [0x101be544], 0
push 4
push 0
push 0x101be544
push 0x101be540
movzx dx, byte [0x101ae00d]
push edx
push 0x101be6ac
call fcn.101c8480
mov word [ebp - 4], ax
mov eax, dword [ebp - 4]
and eax, 0xffff
test eax, eax
jne 0x101c5876
mov ecx, dword [0x101be544]
xor ecx, 0x7b2309a7
mov edx, dword [0x101be550]
xor ecx, dword [edx*4 + 0x101ae7e0]
test ecx, ecx
je 0x101c5920
xor eax, eax
mov al, byte [0x101b0f6a]
cmp eax, 0x31
jne 0x101c5888
mov word [ebp - 4], 3
xor ecx, ecx
mov cl, byte [0x101b0f6a]
cmp ecx, 0x32
je 0x101c58a2
xor edx, edx
mov dl, byte [0x101b0f6a]
cmp edx, 0x33
jne 0x101c58a8
mov word [ebp - 4], 0
mov dword [0x101b1df8], 1
cmp dword [0x101be594], 0
jne 0x101c591e
xor eax, eax
mov al, byte [0x101b0f6a]
cmp eax, 0x32
je 0x101c58d4
xor ecx, ecx
mov cl, byte [0x101b0f6a]
cmp ecx, 0x33
jne 0x101c591e
mov edx, dword [0x101be69c]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov dword [0x101be54c], 0xc
push 0x2010
call fcn.101c40a1
push eax
call fcn.101c68db
add esp, 8
mov dword [0x101be54c], 0
mov eax, dword [0x101be69c]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [0x101be594], 1
jmp 0x101c592a
mov dword [0x101b1df8], 0
jmp 0x101c5991
mov ecx, dword [0x101b1df4]
add ecx, 1
mov dword [0x101b1df4], ecx
mov edx, dword [0x101c0818]
mov dword [0x101be540], edx
mov dword [0x101be544], 0
push 4
push 0
push 0x101be544
push 0x101be540
push 0
push 0x101be6ac
call fcn.101c8480
mov word [ebp - 4], ax
mov eax, dword [ebp - 4]
and eax, 0xffff
test eax, eax
jne 0x101c598b
mov ecx, dword [0x101be544]
xor ecx, dword [0x101c0818]
test ecx, ecx
je 0x101c5991
mov word [ebp - 4], 3
jmp 0x101c59f7
mov edx, dword [0x101b1df4]
add edx, 1
mov dword [0x101b1df4], edx
mov eax, dword [0x101c0818]
mov dword [0x101be540], eax
mov dword [0x101be544], 0
push 4
push 0
push 0x101be544
push 0x101be540
push 0
push 0x101be6ac
call fcn.101c8480
mov word [ebp - 4], ax
mov ecx, dword [ebp - 4]
and ecx, 0xffff
test ecx, ecx
jne 0x101c59f1
mov edx, dword [0x101be544]
xor edx, dword [0x101c0818]
test edx, edx
je 0x101c59f7
mov word [ebp - 4], 3
mov ax, word [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x101c5ec1
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x101c0800
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0x64
jge 0x101c5f3e
mov eax, dword [ebp - 8]
cmp dword [eax*4 + 0x101c0820], 0
je 0x101c5f2d
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x101c0820]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x101c5f2d
cmp dword [ebp - 4], 0x103
je 0x101c5f2d
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*4 + 0x101c0820]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov dword [eax*4 + 0x101c0820], 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.101c6116
add esp, 4
mov dword [ebp - 8], eax
jmp 0x101c5ed9
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0x64
jge 0x101c5f7a
mov edx, dword [ebp - 8]
cmp dword [edx*4 + 0x101c0820], 0
je 0x101c5f69
mov eax, dword [ebp - 8]
mov ecx, dword [eax*4 + 0x101c0820]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov edx, dword [ebp - 8]
push edx
call fcn.101c6116
add esp, 4
mov dword [ebp - 8], eax
jmp 0x101c5f45
mov esp, ebp
pop ebp
ret

Function at 0x101c5f7e
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x64
jge 0x101c5fbe
mov eax, dword [ebp - 4]
cmp dword [eax*4 + 0x101c0820], 0
je 0x101c5fad
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x101c0820]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 4]
push eax
call fcn.101c6116
add esp, 4
mov dword [ebp - 4], eax
jmp 0x101c5f89
push 0x101c0800
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esp, ebp
pop ebp
ret

Function at 0x101c7cf0
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 0x101c7d65
mov eax, dword [esp + 0x10]
mov ecx, 2
sub eax, ecx
je 0x101c7d3c
mov word [0x101beb50], cx
call fcn.101ca1a0
add esp, 0x94
ret
cmp dword [esp + 4], 5
jne 0x101c7d29
mov edx, dword [esp + 8]
mov eax, 1
cmp edx, eax
jb 0x101c7d29
mov word [0x101beb50], ax
call fcn.101c7a40
call fcn.101c7bd0
call fcn.101ca1a0
add esp, 0x94
ret
Function at 0x101c8a40
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push ebp
push esi
push edi
xor ebp, ebp
call fcn.101d4160
test eax, eax
jne 0x101c8a70
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 0x101c8a85
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 0x101c8ac9
mov edi, dword [esp + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
push esi
call ebx
test eax, eax
je 0x101c8aa9
cmp eax, 0x102
jne 0x101c8ab6
mov eax, dword [esp + 0x24]
inc ebp
cmp ebp, eax
jg 0x101c8ac0
jmp 0x101c8a8f
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.101c8b40
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x101c8ae0
Capabilities:
Check mutex on windows

Disassembly:
push esi
call fcn.101d4160
test eax, eax
jne 0x101c8af8
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push eax
push 0
push ecx
jmp 0x101c8b01
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 0x101c8b14
mov eax, 1
pop esi
ret
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x101c8b2b
mov eax, dword [esp + 0x10]
mov dword [eax], esi
xor eax, eax
pop esi
ret
mov eax, 0x73
pop esi
ret
Function at 0x101cc380
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 0x101cc3ce
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 0x101bd504
mov byte [ebp], 0
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
test eax, eax
je 0x101cc3f6
jbe 0x101cc3f6
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x101cc3fe
mov dword [esp + 0x14], 0xa
mov ecx, dword [esp + 0x21c]
cmp word [ecx + 0x74], 4
jne 0x101cc411
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.101d0c20
test ax, ax
jne 0x101cc586
cmp word [esp + 0x14], ax
mov dword [esp + 0x10], 0x46
mov dword [esp + 0x1c], 0
jbe 0x101cc59b
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
lea esi, [esp + 0xc4]
mov dword [esp + 0x18], esi
cmp word [esi + 0x20], 0
jbe 0x101cc560
mov ecx, 0x10
xor eax, eax
mov edi, ebp
push 0x101bd4e4
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.101cb850
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 0x101bd4e4
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 0x101bd4e4
push ecx
call ebx
mov esi, dword [sym.imp.MSVCRT.dll__stricmp]
lea edx, [esp + 0x40]
push 0x101bc6d0
push edx
call esi
add esp, 0x28
test eax, eax
je 0x101cc50c
lea eax, [esp + 0x20]
push 0x101bc704
push eax
call esi
add esp, 8
test eax, eax
jne 0x101cc51b
push 0x101bc6c0
push ebp
call esi
add esp, 8
test eax, eax
je 0x101cc55c
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.101cbcd0
add esp, 0x14
mov dword [esp + 0x10], eax
test ax, ax
je 0x101cc582
lea edx, [esp + 0x60]
push 0x101bd4e4
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 0x101cc479
mov eax, dword [esp + 0x10]
cmp ax, 0x45
jne 0x101cc59f
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