joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c96f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [0x8128ac8]
sub esp, 0x14
mov dword [0x102c52b4], ecx
mov eax, dword [0x7bc4f04]
mov dword [0x102c52b8], eax
push esi
mov esi, dword [0xe6172c]
cmp esi, 0xffffffff
je 0x100c9785
mov eax, 0x402bc0
call eax
push esi
mov edx, 0x96a4c0
mov ecx, eax
call edx
cmp dword [0x101ef784], 1
mov esi, eax
mov dword [0x102c52bc], esi
jne 0x100c9776
movzx ecx, byte [esi + 0x2e]
movzx eax, word [esi + 0x84]
push ecx
movzx ecx, byte [esi + 0x2d]
push ecx
push dword [0xe61e18]
push eax
call fcn.10043390
test eax, eax
je 0x100c9776
movups xmm0, xmmword [eax + 0x14]
movups xmmword [esi + 0x38], xmm0
movq xmm0, qword [eax + 0x24]
movq qword [esi + 0x48], xmm0
mov al, byte [eax + 0x2c]
mov byte [esi + 0x50], al
mov ecx, dword [0x102c52b4]
mov byte [0x102c52c0], 1
jmp 0x100c97cf
mov esi, dword [0xe61730]
cmp esi, 0xffffffff
je 0x100c97b5
mov eax, 0x402bc0
call eax
push esi
mov edx, 0x96a4c0
mov ecx, eax
call edx
mov ecx, dword [0x102c52b4]
mov dword [0x102c52bc], eax
mov byte [0x102c52c0], 2
jmp 0x100c97cf
cmp dword [0x102c52bc], 0
je 0x100c97c8
mov dword [0x102c52bc], 0
mov byte [0x102c52c0], 0
mov eax, dword [0x879340c]
mov dword [0x102c52c8], eax
mov eax, dword [0x8793410]
mov dword [0x102c52d0], eax
mov eax, dword [0xe61e18]
push ecx
mov dword [0x102c52c4], eax
movsx eax, word [ecx + 0xe]
push 0x10137038
push 0x102c52a8
mov dword [0x102c52a0], eax
call sym.Main.dll_sprintf
mov eax, dword [0x7bc4f04]
add esp, 0xc
movzx ecx, byte [eax + 0x32]
mov eax, dword [0x8128ac8]
movzx eax, word [eax + ecx*2 + 0x78]
mov ecx, 0x105
cmp ax, cx
je 0x100c9863
mov ecx, 0x228
cmp ax, cx
je 0x100c9863
mov ecx, 0x22b
cmp ax, cx
je 0x100c9863
movsd xmm1, qword [0x10137740]
mov ecx, 0xd27c88
call fcn.100c93c0
movsd xmm1, qword [0x10137718]
mov ecx, 0xd281c0
call fcn.100c93c0
pop esi
mov esp, ebp
pop ebp
ret
movsd xmm0, qword [0x101376e8]
lea eax, [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 8
push 0xd27c88
movsd qword [esp + 0x20], xmm0
mov dword [esp + 0x18], 0
call esi
test eax, eax
je 0x100c98c4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [0xd27c88], eax
lea eax, [esp + 0xc]
push eax
mov dword [0xd27c8c], ecx
push dword [esp + 0xc]
mov dword [esp + 0x14], 0
push 8
push 0xd27c88
call esi
test eax, eax
jne 0x100c98ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
movsd xmm0, qword [0x101376c8]
lea eax, [esp + 8]
push eax
push 0x40
push 8
push 0xd281c0
movsd qword [esp + 0x20], xmm0
mov dword [esp + 0x18], 0
call esi
test eax, eax
je 0x100c9925
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [0xd281c0], eax
lea eax, [esp + 0xc]
push eax
mov dword [0xd281c4], ecx
push dword [esp + 0xc]
mov dword [esp + 0x14], 0
push 8
push 0xd281c0
call esi
test eax, eax
jne 0x100c992b
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100c9b30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
lea eax, [ebp - 4]
mov ebx, ecx
push eax
push 0x40
push 4
push ebx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
mov dword [ebx], edi
push eax
push dword [ebp - 4]
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100c9b70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
lea eax, [ebp - 4]
movss dword [ebp - 8], xmm1
push eax
push 0x40
mov edi, ecx
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movss xmm0, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
movss dword [edi], xmm0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x100c9bb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movsd xmm0, qword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
movsd qword [edi], xmm0
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x100c9bf0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp + 8]
cmp al, 0xff
je 0x100c9c10
mov byte [esi], al
mov eax, dword [ebp + 0x10]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100c9c30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push edi
mov edi, dword [ebp + 8]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push dword [ebp + 0xc]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100c9c70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
lea ecx, [ebp - 4]
mov dword [ebp - 8], eax
push ecx
push 0x40
push ebx
push eax
mov esi, edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push esi
mov esi, dword [ebp - 8]
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100c9cc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov eax, ecx
mov ebx, edx
lea ecx, [ebp - 8]
mov dword [ebp - 4], eax
push ecx
push 0x40
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebx + 5]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push ebx
push dword [ebp - 4]
mov esi, eax
push esi
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp - 4]
lea eax, [ebx - 5]
mov ecx, edx
mov byte [esi + ebx], 0xe9
sub ecx, esi
sub ecx, 5
mov dword [esi + ebx + 1], ecx
sub esi, edx
push eax
lea eax, [edx + 5]
mov byte [edx], 0xe9
push 0x90
sub esi, 5
push eax
mov dword [edx + 1], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x1c
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100c9d40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x102c2d20]
test edx, 0xffff0000
jne 0x100c9e82
push edi
push 0x1013703c
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x100c9e81
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 0xc
jb 0x100c9e81
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x100c9e81
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x100c9e77
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
push edi
push esi
cmp ecx, dword [ebx + 8]
jne 0x100c9e1d
mov dword [ebp - 8], eax
mov eax, dword [sym.imp.KERNEL32.dll_SizeofResource]
call eax
mov edx, dword [ebp - 8]
lea ecx, [edx*4 + 0xc]
cmp eax, ecx
jb 0x100c9e80
xor edi, edi
test edx, edx
je 0x100c9e77
nop dword [eax]
mov esi, dword [ebx + edi*4 + 0xc]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 8]
mov dword [esi], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
inc edi
cmp edi, dword [ebx]
jb 0x100c9de0
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], eax
mov eax, dword [sym.imp.KERNEL32.dll_SizeofResource]
call eax
mov edx, dword [ebp - 8]
lea ecx, [edx*8 + 0xc]
cmp eax, ecx
jb 0x100c9e80
xor eax, eax
mov dword [ebp - 8], eax
test edx, edx
je 0x100c9e77
nop
mov esi, dword [ebx + eax*8 + 0x10]
mov edi, dword [ebx + eax*8 + 0xc]
lea eax, [ebp - 4]
add esi, dword [ebp + 8]
push eax
push 0x40
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
mov dword [edi], esi
push eax
push dword [ebp - 4]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebx]
jb 0x100c9e40
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100dd8d0
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x18]
mov edx, dword [esi + 0x10]
mov ebx, dword [esi + 0x28]
sub edx, 8
test ebx, ebx
je case.default.0x100dd90a
mov eax, ebx
and eax, 0xfffffffc
mov eax, dword [eax + 0x38]
test eax, eax
jns 0x100dd8fd
mov ecx, dword [esi + 0x1c]
sub ecx, eax
cmp edx, ecx
jb 0x100dd94d
cmp edx, dword [esi + 0x1c]
jbe case.default.0x100dd90a
mov eax, dword [edx + 4]
mov ecx, eax
and ecx, 7
jmp dword [ecx*4 + 0x100dda30]
movzx ecx, byte [eax - 3]
mov eax, 0xfffffff8
shl ecx, 3
sub eax, ecx
add edx, eax
jmp 0x100dd93c
cmp dword [edx - 8], 1
jne case.0x100dd90a.3
mov ebx, dword [ebx + 0x34]
jmp case.0x100dd90a.3
and eax, 0xfffffff8
sub edx, eax
test ebx, ebx
jne 0x100dd8e8
test edi, edi
jne 0x100dd9fb
jmp 0x100dd9f5
test edi, edi
je 0x100dd9ef
mov eax, dword [ebx + 0x34]
mov dword [esi + 0x28], eax
lea eax, [edx + 8]
push ecx
push esi
mov dword [esi + 0x10], eax
call fcn.100ddf60
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
mov eax, ebx
pop ebx
ret
pop edi
mov eax, esi
pop esi
pop ebx
ret
mov dword [esi + 0x28], 0
mov eax, dword [esi + 0x1c]
add eax, 8
push eax
push esi
mov dword [esi + 0x10], eax
call fcn.100ddf60
add esp, 8
mov eax, dword [esi + 8]
mov eax, dword [eax + 0xc8]
test eax, eax
je 0x100dda28
push esi
call eax
add esp, 4
push 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
adc ecx, ebx
or eax, 232335632
adc byte [ebx], ah
invalid

Function at 0x100dd911
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x18]
mov edx, dword [esi + 0x10]
mov ebx, dword [esi + 0x28]
sub edx, 8
test ebx, ebx
je case.default.0x100dd90a
mov eax, ebx
and eax, 0xfffffffc
mov eax, dword [eax + 0x38]
test eax, eax
jns 0x100dd8fd
mov ecx, dword [esi + 0x1c]
sub ecx, eax
cmp edx, ecx
jb 0x100dd94d
cmp edx, dword [esi + 0x1c]
jbe case.default.0x100dd90a
mov eax, dword [edx + 4]
mov ecx, eax
and ecx, 7
jmp dword [ecx*4 + 0x100dda30]
movzx ecx, byte [eax - 3]
mov eax, 0xfffffff8
shl ecx, 3
sub eax, ecx
add edx, eax
jmp 0x100dd93c
cmp dword [edx - 8], 1
jne case.0x100dd90a.3
mov ebx, dword [ebx + 0x34]
jmp case.0x100dd90a.3
and eax, 0xfffffff8
sub edx, eax
test ebx, ebx
jne 0x100dd8e8
test edi, edi
jne 0x100dd9fb
jmp 0x100dd9f5
test edi, edi
je 0x100dd9ef
mov eax, dword [ebx + 0x34]
mov dword [esi + 0x28], eax
lea eax, [edx + 8]
push ecx
push esi
mov dword [esi + 0x10], eax
call fcn.100ddf60
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
mov eax, ebx
pop ebx
ret
pop edi
mov eax, esi
pop esi
pop ebx
ret
mov dword [esi + 0x28], 0
mov eax, dword [esi + 0x1c]
add eax, 8
push eax
push esi
mov dword [esi + 0x10], eax
call fcn.100ddf60
add esp, 8
mov eax, dword [esi + 8]
mov eax, dword [eax + 0xc8]
test eax, eax
je 0x100dda28
push esi
call eax
add esp, 4
push 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
adc ecx, ebx
or eax, 232335632
adc byte [ebx], ah
invalid
Function at 0x100dd923
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x18]
mov edx, dword [esi + 0x10]
mov ebx, dword [esi + 0x28]
sub edx, 8
test ebx, ebx
je case.default.0x100dd90a
mov eax, ebx
and eax, 0xfffffffc
mov eax, dword [eax + 0x38]
test eax, eax
jns 0x100dd8fd
mov ecx, dword [esi + 0x1c]
sub ecx, eax
cmp edx, ecx
jb 0x100dd94d
cmp edx, dword [esi + 0x1c]
jbe case.default.0x100dd90a
mov eax, dword [edx + 4]
mov ecx, eax
and ecx, 7
jmp dword [ecx*4 + 0x100dda30]
movzx ecx, byte [eax - 3]
mov eax, 0xfffffff8
shl ecx, 3
sub eax, ecx
add edx, eax
jmp 0x100dd93c
cmp dword [edx - 8], 1
jne case.0x100dd90a.3
mov ebx, dword [ebx + 0x34]
jmp case.0x100dd90a.3
and eax, 0xfffffff8
sub edx, eax
test ebx, ebx
jne 0x100dd8e8
test edi, edi
jne 0x100dd9fb
jmp 0x100dd9f5
test edi, edi
je 0x100dd9ef
mov eax, dword [ebx + 0x34]
mov dword [esi + 0x28], eax
lea eax, [edx + 8]
push ecx
push esi
mov dword [esi + 0x10], eax
call fcn.100ddf60
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
mov eax, ebx
pop ebx
ret
pop edi
mov eax, esi
pop esi
pop ebx
ret
mov dword [esi + 0x28], 0
mov eax, dword [esi + 0x1c]
add eax, 8
push eax
push esi
mov dword [esi + 0x10], eax
call fcn.100ddf60
add esp, 8
mov eax, dword [esi + 8]
mov eax, dword [eax + 0xc8]
test eax, eax
je 0x100dda28
push esi
call eax
add esp, 4
push 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
adc ecx, ebx
or eax, 232335632
adc byte [ebx], ah
invalid

Function at 0x100dd929
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x18]
mov edx, dword [esi + 0x10]
mov ebx, dword [esi + 0x28]
sub edx, 8
test ebx, ebx
je case.default.0x100dd90a
mov eax, ebx
and eax, 0xfffffffc
mov eax, dword [eax + 0x38]
test eax, eax
jns 0x100dd8fd
mov ecx, dword [esi + 0x1c]
sub ecx, eax
cmp edx, ecx
jb 0x100dd94d
cmp edx, dword [esi + 0x1c]
jbe case.default.0x100dd90a
mov eax, dword [edx + 4]
mov ecx, eax
and ecx, 7
jmp dword [ecx*4 + 0x100dda30]
movzx ecx, byte [eax - 3]
mov eax, 0xfffffff8
shl ecx, 3
sub eax, ecx
add edx, eax
jmp 0x100dd93c
cmp dword [edx - 8], 1
jne case.0x100dd90a.3
mov ebx, dword [ebx + 0x34]
jmp case.0x100dd90a.3
and eax, 0xfffffff8
sub edx, eax
test ebx, ebx
jne 0x100dd8e8
test edi, edi
jne 0x100dd9fb
jmp 0x100dd9f5
test edi, edi
je 0x100dd9ef
mov eax, dword [ebx + 0x34]
mov dword [esi + 0x28], eax
lea eax, [edx + 8]
push ecx
push esi
mov dword [esi + 0x10], eax
call fcn.100ddf60
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
mov eax, ebx
pop ebx
ret
pop edi
mov eax, esi
pop esi
pop ebx
ret
mov dword [esi + 0x28], 0
mov eax, dword [esi + 0x1c]
add eax, 8
push eax
push esi
mov dword [esi + 0x10], eax
call fcn.100ddf60
add esp, 8
mov eax, dword [esi + 8]
mov eax, dword [eax + 0xc8]
test eax, eax
je 0x100dda28
push esi
call eax
add esp, 4
push 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
adc ecx, ebx
or eax, 232335632
adc byte [ebx], ah
invalid
Function at 0x100e1530
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov esi, dword [esp + 0x14]
mov eax, esi
sub eax, ebx
push edi
mov edi, dword [esp + 0x1c]
sub eax, 0x40
push edi
sar eax, 2
push eax
push ebx
call fcn.100e0c50
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0x100e15e7
lea ebp, [ebx + 0x40]
sub esi, 4
cmp esi, ebp
jbe case.0x100e15b8.17
mov eax, dword [esi]
mov ecx, eax
shr ecx, 8
movzx edx, al
movzx ebx, cl
mov cx, word [edx*2 + 0x1012d5d8]
and cx, 7
cmp cx, 2
jne 0x100e159f
cmp edi, ebx
jb 0x100e1562
cmp edx, 0x2a
jne case.0x100e15b8.17
shr eax, 0x10
cmp edi, eax
ja 0x100e1562
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
cmp cx, 1
jne 0x100e1562
cmp ebx, edi
jne 0x100e1562
add edx, 0xfffffff0
cmp edx, 0x27
ja case.0x100e15b8.17
movzx ecx, byte [edx + 0x100e16c4]
jmp dword [ecx*4 + 0x100e16b0]
mov ecx, dword [esp + 0x14]
mov edi, eax
mov eax, esi
shr edi, 0x10
sub eax, ecx
sub eax, 0x40
push edi
sar eax, 2
push eax
push ecx
call fcn.100e0c50
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x100e1562
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
mov eax, str.local
pop ebx
ret
mov ecx, dword [esp + 0x14]
shr eax, 0x10
not eax
pop edi
mov ecx, dword [ecx + 0x10]
pop esi
pop ebp
pop ebx
mov ecx, dword [ecx + eax*4]
mov eax, dword [esp + 0x10]
add ecx, 0x10
mov dword [eax], ecx
mov eax, str.global
ret
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [esp + 0x14]
not edx
mov ecx, dword [ecx + 0x10]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x20]
add edx, 0x10
mov dword [ecx], edx
mov ecx, dword [esi - 4]
cmp cl, 0x10
jne 0x100e1662
shr ecx, 8
movzx edx, cl
lea ecx, [ebx + 1]
cmp edx, ecx
jne 0x100e1662
shr eax, 8
xor eax, dword [esi - 4]
test eax, 0xffff0000
jne 0x100e1662
pop edi
pop esi
pop ebp
mov eax, str.method
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, str.field
pop ebx
ret
mov ecx, dword [esp + 0x14]
shr eax, 0x10
mov edx, dword [ecx + 0x38]
test edx, edx
jne 0x100e168f
mov eax, dword [esp + 0x20]
mov edx, 0x1013740a
pop edi
pop esi
pop ebp
mov dword [eax], edx
mov eax, str.upvalue
pop ebx
ret
test eax, eax
je 0x100e169f
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x100e1693
sub eax, 1
jne 0x100e1693
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [eax], edx
mov eax, str.upvalue
pop ebx
ret
Function at 0x100e3c00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov ecx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
movzx eax, byte [ebp + 0x24]
lea edx, [eax*4 + 0x14]
call fcn.100df190
mov esi, eax
lea ecx, [ebp + 0x40]
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], ecx
mov word [esi + 5], 8
mov byte [esi + 7], 0
movzx ecx, byte [ebp + 0x25]
add ecx, 0x20
mov eax, ecx
shr eax, 3
and al, 0x20
sub cl, al
mov al, byte [ebp + 0x24]
mov byte [ebp + 0x25], cl
mov byte [esp + 0x18], al
movzx ecx, al
test al, al
je 0x100e3cb1
push ebx
lea ebx, [esi + 0x14]
mov esi, ecx
mov ecx, dword [esp + 0x18]
mov edx, 0x18
call fcn.100df190
lea ebx, [ebx + 4]
lea ecx, [eax + 8]
mov word [eax + 5], 0x105
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0xffffffff
mov ecx, dword [ebp + 0x14]
movzx edx, word [ecx + edi*2]
inc edi
mov ecx, edx
shl edx, 0x18
shr ecx, 0xe
xor edx, ebp
and cl, 1
mov dword [eax + 0x14], edx
mov byte [eax + 7], cl
mov dword [ebx - 4], eax
cmp edi, esi
jb 0x100e3c62
mov esi, dword [esp + 0x10]
mov al, byte [esp + 0x1c]
pop ebx
mov byte [esi + 7], al
mov eax, esi
pop edi
pop esi
pop ebp
pop ecx
ret
Function at 0x100f7170
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
mov ecx, dword [ebp + 0x10]
mov edx, 1
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x3c], esi
lea edi, [eax + ecx*8]
cmp edi, dword [ebx + 0x14]
jae 0x100f71d6
nop dword [eax]
mov eax, dword [edi + 4]
cmp eax, 0xfffffffb
jne 0x100f71e9
mov eax, dword [edi]
test edx, edx
je 0x100f71c8
push dword [esp + 0x3c]
mov esi, dword [eax + 0xc]
add eax, 0x10
push esi
push 1
push eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
cmp eax, esi
je 0x100f7210
xor edx, edx
mov esi, dword [esp + 0x3c]
add edi, 8
cmp edi, dword [ebx + 0x14]
jb 0x100f71a0
push 0
push edx
push ebx
call fcn.100dca70
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0xfffffff2
jae 0x100f7217
test edx, edx
je 0x100f71c8
movsd xmm0, qword [edi]
sub esp, 8
movsd qword [esp], xmm0
push str._.14g
push esi
call sym.Main.dll_fprintf
add esp, 0x10
test eax, eax
jle 0x100f71c8
mov edx, 1
jmp 0x100f71ca
sub edi, dword [ebx + 0x10]
sar edi, 3
push 4
inc edi
push edi
push ebx
call fcn.100dda70
int3

Function at 0x100f8ab0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x10c
mov eax, dword [0x10141040]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x118]
push ebx
mov ebx, dword [esp + 0x118]
push esi
mov esi, dword [esp + 0x118]
push edi
mov edi, dword [esp + 0x128]
push eax
call sub.api_ms_win_crt_environment_l1_1_0.dll_getenv
add esp, 4
test eax, eax
je 0x100f8b25
cmp dword [esp + 0x12c], 0
jne 0x100f8b25
push 0x1012c9f4
push 0x1012c9f8
push eax
push esi
call fcn.100dcbf0
push edi
push 0x1012c9fc
push eax
push esi
call fcn.100dcbf0
push 0xfffffffffffffffe
push esi
call fcn.100da870
add esp, 0x28
jmp 0x100f8b2f
push edi
push esi
call fcn.100da620
add esp, 8
push 0x105
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x100f8b8d
cmp eax, 0x105
je 0x100f8b8d
lea eax, [esp + 0xc]
push 0x5c
push eax
call sub.VCRUNTIME140.dll_strrchr
add esp, 8
test eax, eax
je 0x100f8b8d
mov byte [eax], 0
lea eax, [esp + 0xc]
push eax
push 0x1012c7e4
push 0
push 0xffffffffffffffff
push esi
call fcn.100dae00
add esp, 0xc
push eax
push esi
call fcn.100dcbf0
push 0xfffffffffffffffe
push esi
call fcn.100da870
add esp, 0x18
jmp 0x100f8b9b
push str.unable_to_get_ModuleFileName
push esi
call fcn.100ddee0
add esp, 8
push ebx
push 0xfffffffffffffffe
push esi
call fcn.100daa40
mov ecx, dword [esp + 0x120]
add esp, 0xc
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100d84a2
add esp, 0x10c
ret