joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10070ac0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x102e59d0]
jmp dword [eax*4 + 0x102e97b4]

Function at 0x10070b00
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x102e59d0]
jmp dword [eax*4 + 0x102e97cc]

Function at 0x10070b80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x102e59d0]
jmp dword [eax*4 + 0x102e97fc]

Function at 0x10070bc0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x102e59d0]
jmp dword [eax*4 + 0x102e9814]

Function at 0x10070c00
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x102e59d0]
jmp dword [eax*4 + 0x102e982c]

Function at 0x10070ca0
Capabilities:
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x102e59d0]
jmp dword [eax*4 + 0x102e988c]

Function at 0x10070ce0
Capabilities:
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x102e59d0]
jmp dword [eax*4 + 0x102e98a4]

Function at 0x100a8240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x100a824f
pop dword [ebp - 0x18]
mov eax, 0xd908482d
sub eax, 0xc8fdc5de
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x4206b687
add dword [ebp - 0x28], 0xc4b8ec4
mov dword [ebp - 0x24], 0x493f702b
sub dword [ebp - 0x24], 0x170c23e6
mov dword [ebp - 0x20], 0x7eac5b1f
sub dword [ebp - 0x20], 0x326016f1
mov dword [ebp - 0x1c], 0x323698ee
sub dword [ebp - 0x1c], 0x323698ee
lea eax, [ebp - 0x28]
push eax
mov eax, 0xa33b461f
add eax, 0x6cec3a09
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x29935002
add dword [ebp - 0x28], 0x4adf1954
mov dword [ebp - 0x24], 0xb6be5fa7
add dword [ebp - 0x24], 0x8aae01ce
mov dword [ebp - 0x20], 0x91387377
sub dword [ebp - 0x20], 0x2dc9070b
mov dword [ebp - 0x1c], 0x34c7283a
sub dword [ebp - 0x1c], 0x34c7283a
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x897e472
add eax, 0x78f9bb2
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x616aa
push 0
call eax
mov ecx, 0xe85d3a67
add ecx, 0x17a305bc
mov ebx, eax
mov edx, 0x1030fa00
add edx, dword [ebp - 0x18]
mov edi, 0x8059999
sub edi, 0x1898e8cc
add dword [ebp - 0x10], edi
mov esi, dword [edx]
mov dword [ebp - 0xc], 0xfe13ce4
xor esi, edi
mov dword [ebp - 0x10], 0x1f7fcc41
mov dword [ebx], esi
mov dword [ebp - 8], 0x4423cebc
add ebx, 0xce552486
sub ebx, 0xce552482
add edx, 0x4be4548a
add edx, 0xb41bab7a
loop 0x100a836b
add eax, 0xac7e8be8
sub eax, 0xac7d9889
xor ebx, ebx
add ebx, eax
add eax, 0x2a34fcbb
add eax, 0xd5cb034a
mov ecx, 0x10000000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x10110860
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1023e79b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x102e9794]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x14]
test edi, edi
jne 0x101108a9
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi], 0
cmp dword [0x102e354c], 0
jne 0x101108c0
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
test esi, esi
je 0x1011090d
mov eax, dword [esi]
test eax, eax
je 0x10110892
cmp dword [esi + 4], 0
je 0x10110892
push eax
call fcn.100a8240
add esp, 4
push dword [esi + 4]
call fcn.100a8240
mov eax, dword [esi + 0xc]
add esp, 4
test eax, eax
je 0x101108fe
push eax
call fcn.100a8240
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x10110945
push eax
call fcn.100a8240
jmp 0x10110942
push dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
call fcn.100a8240
add esp, 4
push dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
call fcn.100a8240
add esp, 4
push dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
call fcn.100a8240
add esp, 4
push dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.100a8240
add esp, 4
push 8
call fcn.100a8240
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x10110980
push dword [ebp + 0x18]
mov ecx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.100a8240
mov dword [edi], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [edi], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1019c030
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1023ff89
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x102e9794]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], 0
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 4], 0
call sym.AIDE.dll_public:_void___thiscall_AIDE::PaletteInfo::constructor_void_
mov ecx, dword [edi + 0x14]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
call fcn.1019d620
mov dword [esi], eax
lea ecx, [edi + 0x28]
mov dword [esi + 4], 3
mov dword [esi + 8], 0
mov dword [ecx], 8
mov dword [edi + 0x30], 8
mov dword [edi + 0x2c], 8
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], 8
mov ecx, dword [edi + 0x14]
call fcn.1019d600
mov dword [esi + 0x14], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10209e80
Capabilities:
Terminate process

Disassembly:
cmp dword [str._AdobeIP0000539_], 0
jne 0x10209e91
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
jmp 0x1023bf90
movss xmm5, dword [0x102bd82c]
movss xmm4, dword [0x102bd834]
movss xmm6, dword [0x102bd828]
movss xmm7, dword [0x102bd820]
movss xmm3, dword [0x1027b890]
push esi
xor esi, esi
nop dword [eax + eax]
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
sub esp, 8
addsd xmm0, qword [eax*8 + 0x102d46d0]
cvtpd2ps xmm2, xmm0
movaps xmm0, xmm4
movaps xmm1, xmm2
mulss xmm1, xmm5
subss xmm0, xmm1
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100a8240
movaps xmm0, xmm2
mov ecx, eax
mulss xmm0, xmm6
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100a8240
movaps xmm0, xmm2
shl eax, 0x10
mulss xmm0, xmm7
add ecx, eax
mov dword [esi*4 + 0x102fc9f0], ecx
mulss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100a8240
movaps xmm0, xmm2
mov edx, eax
mulss xmm0, dword [0x102bd830]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100a8240
movaps xmm0, xmm2
shl eax, 0x10
mulss xmm0, dword [0x102bd818]
add eax, edx
mov dword [esi*4 + 0x102fd1f0], eax
mulss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100a8240
movaps xmm0, xmm2
mov ecx, eax
mulss xmm0, dword [0x102bd824]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100a8240
movaps xmm0, xmm2
shl eax, 0x10
mulss xmm0, dword [0x102bd81c]
add eax, ecx
mov dword [esi*4 + 0x102fcdf0], eax
mulss xmm0, xmm3
subss xmm0, xmm4
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100a8240
movaps xmm0, xmm2
mov dword [esi*4 + 0x102fd5f0], eax
mulss xmm0, dword [0x102bd83c]
mov dword [esi*4 + 0x102fddf0], edx
mov dword [esi*4 + 0x102fd9f0], ecx
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100a8240
movaps xmm0, xmm2
mov dword [esi*4 + 0x102fe1f0], eax
mulss xmm0, dword [0x102bd840]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100a8240
movaps xmm0, xmm2
mov dword [esi*4 + 0x102fe5f0], eax
mulss xmm0, dword [0x102bd844]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100a8240
mov dword [esi*4 + 0x102fe9f0], eax
mulss xmm2, dword [0x102bd838]
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.100a8240
mov dword [esi*4 + 0x102fedf0], eax
add esp, 8
inc esi
cmp esi, 0x100
jb 0x1023bfc0
pop esi
ret
Function at 0x4221b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov ebx, dword [esp + 0xc]
push edi
push ebp
mov edi, dword [ebx + 0x14]
cmp dword [ebx + 0x158], 0
mov esi, dword [ebx + 0x1c8]
je 0x422306
push 0
push edi
call fcn.004b6220
add esp, 8
cmp byte [esp + 0x18], 0
je 0x422207
test esi, esi
je 0x4221f0
cmp dword [esi + 4], 0
jne 0x422207
cmp dword [esi + 8], 0
jne 0x422207
push 0
mov eax, dword [ebx + 0x158]
push eax
push edi
call fcn.004b5340
add esp, 0xc
jmp 0x4222fc
test esi, esi
je 0x4222ba
test byte [edi + 0xa2], 8
je 0x4222ba
cmp dword [esi + 4], 0
je 0x4222ba
lea eax, [esi + 0x10]
push eax
push edi
call fcn.004b4b70
add esp, 8
or byte [esi], 0x10
cmp dword [ebx + 0x24], 0
jle 0x42224c
push 0xffff983e
push 4
push edi
call fcn.004bda00
add esp, 0xc
push edi
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov ebp, eax
test byte [esi], 0x40
jne 0x4222ad
lea eax, [edi + 0x82c]
push eax
push edi
call fcn.004b4830
add esp, 8
lea eax, [esi + 0x70]
push eax
push edi
call fcn.004b4eb0
add esp, 8
lea eax, [esi + 0x70]
push eax
push edi
call fcn.004b4ef0
add esp, 8
lea eax, [edi + 0x82c]
push eax
push edi
call fcn.004b46f0
add esp, 8
test byte [esi], 0x20
jne 0x422257
push edi
call sub.KERNEL32.dll_GetTickCount
add esp, 4
sub eax, ebp
cmp eax, 0x2710
jbe 0x422257
lea eax, [esi + 0x10]
push eax
push edi
call fcn.004b4c00
add esp, 8
push 0
mov eax, dword [ebx + 0x158]
push eax
push edi
call fcn.004b5460
add esp, 0xc
mov eax, dword [ebx + 0x158]
push 0
push 0xffffffffffffffff
push eax
push 7
push edi
call fcn.004b5af0
add esp, 0x14
test esi, esi
je 0x4222fc
test byte [edi + 0xa2], 8
je 0x4222fc
lea eax, [esi + 0x70]
push eax
push edi
call fcn.004b4e40
add esp, 8
mov dword [ebx + 0x158], 0
test esi, esi
je 0x422322
mov dword [ebx + 0x1c8], 0
push esi
mov eax, dword [edi + 0x44]
push eax
push edi
call fcn.004aa460
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ad7a0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
je 0x4ad7b6
cmp word [eax + 0xe], 0
jge 0x4ad7b6
mov eax, dword [esp + 0xc]
pop esi
ret
mov esi, dword [esp + 0xc]
push esi
push eax
call fcn.004b4310
add esp, 8
push esi
call dword [sym.imp.MSVCRT40.dll_exit]
add esp, 4
mov eax, esi
pop esi
ret
Function at 0x4c2450
Capabilities:
Create directory

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
push ebp
mov edi, 0xfffffffe
push 0x8000
mov eax, dword [esi + 0x44]
push 0x101
push eax
push esi
call fcn.004aa140
add esp, 0x10
mov ebx, eax
mov eax, dword [esi + 0x98]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.MSVCRT40.dll__umask]
add esp, 4
mov ebp, eax
test ebx, ebx
je 0x4c24b2
mov eax, dword [esp + 0x18]
push ebx
push eax
push esi
call fcn.004b92b0
mov dword [esp + 0x24], ebx
add esp, 0xc
push ebx
call dword [sym.imp.MSVCRT40.dll__mkdir]
add esp, 4
test eax, eax
jne 0x4c24b2
xor edi, edi
push ebx
mov eax, dword [esi + 0x44]
push eax
push esi
call fcn.004aa460
add esp, 0xc
push ebp
call dword [sym.imp.MSVCRT40.dll__umask]
add esp, 4
test edi, edi
je 0x4c24e8
mov eax, dword [esp + 0x18]
push eax
push 0xffff8245
push 2
push esi
call fcn.004bda00
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4c2880
Capabilities:
Delete directory

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 0x104
lea eax, [esp]
push esi
mov esi, dword [esp + 0x10c]
push eax
push ecx
push esi
call fcn.004b92b0
lea ecx, [esp + 0x10]
add esp, 0xc
push ecx
call dword [sym.imp.MSVCRT40.dll__rmdir]
add esp, 4
test eax, eax
je 0x4c28df
cmp dword [esp + 0x114], 0
je 0x4c28d2
lea eax, [esp + 4]
push eax
push 0xffff8246
push 2
push esi
call fcn.004bda00
add esp, 0x10
mov eax, 0xffff8246
pop esi
add esp, 0x104
ret
xor eax, eax
pop esi
add esp, 0x104
ret

Function at 0x4c9100
Capabilities:
Encode data using xor

Disassembly:
mov ax, 0x6996
push esi
xor edx, edx
mov esi, dword [esp + 0xc]
mov dl, byte [esi]
inc esi
test edx, edx
je 0x4c9137
mov cx, ax
and cx, 0x8000
cmp cx, 1
sbb ecx, ecx
inc esi
add ax, ax
inc ecx
or cx, ax
xor cx, dx
xor edx, edx
mov ax, cx
mov dl, byte [esi - 1]
test edx, edx
jne 0x4c9112
pop esi
ret
Function at 0x4d54d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
push ebx
push esi
lea eax, [esp + 8]
push edi
mov edi, dword [esp + 0x14]
push ebp
push 0x52141c
push 0x60
push 0
push eax
push edi
call fcn.004d2810
add esp, 0x14
test ax, ax
jne 0x4d55d3
mov ebp, dword [esp + 0x10]
test byte [esp + 0x28], 1
mov dword [ebp + 0x10], fcn.004d5600
mov eax, dword [esp + 0x10]
mov dword [eax + 0x18], 0x4d5630
je 0x4d551d
or byte [esp + 0x28], 2
mov ebx, dword [esp + 0x24]
cmp ebx, 0xffffffff
jne 0x4d554d
test edi, edi
je 0x4d5539
mov eax, dword [edi + 0xac]
test eax, eax
je 0x4d5539
mov eax, dword [eax + 0x2c]
jmp 0x4d553b
xor eax, eax
mov esi, dword [esp + 0x20]
push esi
push eax
call fcn.004addd0
add esp, 8
mov ebx, eax
jmp 0x4d5557
mov word [ebp + 0x5c], 1
mov esi, dword [esp + 0x20]
test byte [esp + 0x28], 2
mov dword [ebp + 0x50], esi
mov dword [ebp + 0x54], ebx
je 0x4d5595
push 0x8000
lea eax, [ebx + 1]
push eax
mov ecx, dword [edi + 0x44]
push ecx
push edi
call fcn.004aab00
add esp, 0x10
mov dword [ebp + 0x58], eax
mov dword [ebp + 0x50], eax
test eax, eax
je 0x4d55d3
mov edi, dword [ebp + 0x58]
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test byte [esp + 0x28], 4
je 0x4d55a2
mov eax, dword [ebp + 0x50]
mov dword [ebp + 0x58], eax
test byte [esp + 0x28], 1
je 0x4d55be
mov ecx, dword [ebp + 0x50]
mov eax, ebx
dec ebx
test eax, eax
je 0x4d55be
mov eax, ebx
xor byte [ecx + ebx], 0x69
dec ebx
test eax, eax
jne 0x4d55b3
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
mov dword [eax], ecx
xor ax, ax
pop ebx
add esp, 4
ret
cmp dword [esp + 0x10], 0
je 0x4d55e7
mov eax, dword [esp + 0x10]
push eax
call fcn.004d5600
add esp, 4
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
mov dword [eax], 0
mov ax, 0xfffe
add esp, 4
ret
Function at 0x4d6510
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0xb4
push ebx
push esi
mov esi, dword [esp + 0xc0]
push edi
mov ebx, dword [esi + 0x29c]
test ebx, ebx
jne 0x4d66b0
push 0
push 0x60
push esi
call fcn.004b9540
mov edi, eax
add esp, 0xc
mov ebx, eax
mov ecx, 0x18
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [ebx], esi
mov dword [esp + 0xc], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x1c], ecx
mov eax, dword [esp + 0x14]
shr eax, 0xa
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x18]
shr eax, 0xa
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x1c]
shr eax, 0xa
push esi
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0x24]
shr eax, 0xa
mov dword [ebx + 0x2c], eax
call fcn.004b03e0
lea ecx, [esp + 0x30]
add esp, 4
mov dword [ebx + 0x18], eax
push ecx
mov dword [esp + 0x30], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4d65ba
lea eax, [ebx + 4]
mov dword [eax], 4
jmp 0x4d65f3
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4d65d7
cmp eax, 1
je 0x4d65e2
cmp eax, 2
lea eax, [ebx + 4]
je 0x4d65ed
mov dword [eax], 4
jmp 0x4d65f3
lea eax, [ebx + 4]
mov dword [eax], 1
jmp 0x4d65f3
lea eax, [ebx + 4]
mov dword [eax], 2
jmp 0x4d65f3
mov dword [eax], 3
mov eax, dword [eax]
cmp eax, 2
je 0x4d661c
cmp eax, 3
mov eax, dword [ebx + 0x20]
je 0x4d6642
sub eax, 0x1000
cmp eax, 0x100
jg 0x4d66a7
mov eax, 0x100
jmp 0x4d66a7
mov eax, dword [ebx + 0x20]
cmp eax, 0x1800
jge 0x4d662f
mov dword [ebx + 0xc], 0x100
jmp 0x4d66aa
sub eax, 0x2000
cmp eax, 0x200
jg 0x4d66a7
mov eax, 0x200
jmp 0x4d66a7
cmp eax, 0x4000
jge 0x4d665c
sub eax, 0x3000
cmp eax, 0x200
jg 0x4d66a7
mov eax, 0x200
jmp 0x4d66a7
cmp eax, 0x6000
jge 0x4d666a
sub eax, 0x4000
jmp 0x4d66a7
cmp eax, 0xc000
jge 0x4d6678
sub eax, 0x5000
jmp 0x4d66a7
cmp eax, 0x10000
jge 0x4d6686
sub eax, 0x6000
jmp 0x4d66a7
cmp eax, 0x20000
jge 0x4d6694
sub eax, 0x7000
jmp 0x4d66a7
cmp eax, 0x40000
jge 0x4d66a2
sub eax, 0xa000
jmp 0x4d66a7
sub eax, 0xc000
mov dword [ebx + 0xc], eax
mov dword [esi + 0x29c], ebx
mov ecx, dword [ebx + 0xc]
mov eax, dword [esp + 0xc8]
test eax, eax
je 0x4d66c4
cmp ecx, eax
jl 0x4d66c4
mov ecx, eax
pop edi
mov dword [ebx + 8], eax
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x10], ecx
mov dword [esi + 0x280], ecx
pop esi
pop ebx
add esp, 0xb4
ret
Function at 0x4d6710
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x20
push ebx
push esi
mov ebx, dword [esp + 0x2c]
push edi
push ebp
test ebx, ebx
je 0x4d6795
cmp ebx, 0xfffffd9c
je 0x4d6795
cmp dword [ebx + 0x88], 0
je 0x4d6795
mov ebp, dword [ebx + 0x29c]
test ebp, ebp
je 0x4d6795
lea edi, [ebp + 0x30]
lea esi, [ebp + 0x48]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x10], 0x20
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 0x14]
mov dword [ebp + 0x4c], ecx
mov eax, dword [esp + 0x18]
shr eax, 0xa
mov dword [ebp + 0x50], eax
mov eax, dword [esp + 0x1c]
shr eax, 0xa
mov dword [ebp + 0x54], eax
mov eax, dword [esp + 0x20]
shr eax, 0xa
push ebx
mov dword [ebp + 0x58], eax
mov eax, dword [esp + 0x28]
shr eax, 0xa
mov dword [ebp + 0x5c], eax
call fcn.004b03e0
add esp, 4
mov dword [ebp + 0x48], eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x20
ret

Function at 0x4d67a0
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x20
push ebx
push esi
mov ebx, dword [esp + 0x2c]
push edi
push ebp
test ebx, ebx
je 0x4d6851
cmp ebx, 0xfffffd9c
je 0x4d6851
cmp dword [ebx + 0x88], 0
je 0x4d6851
mov ebp, dword [ebx + 0x29c]
test ebp, ebp
je 0x4d6851
lea eax, [esp + 0x10]
lea edi, [ebp + 0x30]
push eax
lea esi, [ebp + 0x48]
mov dword [esp + 0x14], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x14]
mov dword [ebp + 0x4c], edx
mov eax, dword [esp + 0x18]
shr eax, 0xa
mov dword [ebp + 0x50], eax
mov eax, dword [esp + 0x1c]
shr eax, 0xa
mov dword [ebp + 0x54], eax
mov eax, dword [esp + 0x20]
shr eax, 0xa
push ebx
mov dword [ebp + 0x58], eax
mov eax, dword [esp + 0x28]
shr eax, 0xa
mov dword [ebp + 0x5c], eax
call fcn.004b03e0
add esp, 4
mov dword [ebp + 0x48], eax
mov eax, dword [ebx + 0x280]
test eax, eax
je 0x4d6846
sub eax, dword [ebx + 0x284]
cmp dword [ebp + 0x54], eax
jg 0x4d6853
mov eax, dword [ebp + 0x54]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x20
ret
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x20
ret

Function at 0x4d6a10
Capabilities:
Set thread local storage value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
call fcn.004d6be0
add esp, 4
mov edi, eax
mov eax, 0
test esi, esi
je 0x4d6a31
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x4d6a48
mov ebx, dword [eax + 0x10]
push eax
push esi
call fcn.004d6ef0
add esp, 8
mov eax, ebx
test ebx, ebx
jne 0x4d6a35
test edi, edi
je 0x4d6a69
cmp dword [edi + 8], esi
jne 0x4d6a69
push 0
mov eax, dword [0x53dc48]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push edi
push esi
call fcn.004d6ef0
add esp, 8
mov dword [0x53dc50], 1
test esi, esi
je 0x4d6a8a
cmp dword [esi + 0x9c], 0
je 0x4d6a8a
mov dword [esi + 0x9c], 0
xor ax, ax
pop edi
pop esi
pop ebx
ret
Function at 0x4d6aa0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
mov dword [edi], 0
cmp dword [0x53dc50], 0
jl 0x4d6b7e
cmp dword [0x53dc50], 2
jge 0x4d6ae0
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
push ebx
push esi
call fcn.004d6930
add esp, 8
test ax, ax
jne 0x4d6b7e
jmp 0x4d6ae8
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push eax
push ebx
push esi
call fcn.004d6e50
add esp, 0xc
mov ebx, eax
test ebx, ebx
jne 0x4d6b05
mov ax, 0xfffe
pop edi
pop esi
pop ebx
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x18], ecx
mov ecx, dword [esp + 0x30]
mov dword [ebx + 0x1c], edx
mov edx, dword [esp + 0x34]
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x12c]
mov dword [ebx + 0x24], ecx
push eax
mov dword [ebx + 0x28], edx
push 4
mov dword [edi], ebx
push ebx
push 0x4d6f40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0x130], eax
test eax, eax
jne 0x4d6b70
mov dword [edi], 0
test ebx, ebx
je 0x4d6b68
push ebx
push esi
call fcn.004d6ef0
add esp, 8
mov ax, 0xfffe
pop edi
pop esi
pop ebx
ret
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor ax, ax
pop edi
pop esi
pop ebx
ret
mov ax, 0xfffe
pop edi
pop esi
pop ebx
ret

Function at 0x4d70a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
mov eax, dword [0x53dc48]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x4d70ef
cmp dword [edi], 0x445456
jne 0x4d70ef
test byte [edi + 4], 1
je 0x4d70c8
xor ax, ax
pop edi
pop esi
ret
push 0
lea eax, [edi + 0xac]
mov esi, dword [esp + 0x10]
push 2
push eax
push esi
call fcn.004b4520
add esp, 0x10
test ax, ax
jne 0x4d70f3
or dword [edi + 4], 1
xor ax, ax
pop edi
pop esi
ret
mov esi, dword [esp + 0xc]
mov edi, 0
test esi, esi
je 0x4d7102
mov edi, dword [esi + 0x9c]
test edi, edi
je 0x4d7132
test esi, esi
je 0x4d7113
mov eax, dword [edi + 0x10]
mov dword [esi + 0x9c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [edi + 0x12c], eax
mov eax, dword [0x53dc48]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xor ax, ax
pop edi
pop esi
ret
push 0x4001
push 0
push esi
call fcn.004d6e50
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x4d7113
mov ax, 0xfffe
pop edi
pop esi
ret
Function at 0x4d7150
Capabilities:
Set thread local storage value

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push edi
call fcn.004d6be0
add esp, 4
mov esi, eax
test esi, esi
je 0x4d71dd
test byte [esi + 5], 0x40
je 0x4d71dd
push 0
mov eax, dword [0x53dc48]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [esi + 8], 0
je 0x4d71cd
xor eax, eax
cmp dword [0x53dc54], eax
jle 0x4d71a1
lea ecx, [esi + 0x138]
mov dword [ecx], 0
add ecx, 4
inc eax
cmp dword [0x53dc54], eax
jg 0x4d718f
mov eax, dword [esi + 8]
test eax, eax
je 0x4d71b3
mov eax, dword [eax + 0x9c]
mov dword [esi + 0x10], eax
jmp 0x4d71ba
mov dword [esi + 0x10], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x4d71d7
pop edi
mov dword [eax + 0x9c], esi
xor ax, ax
pop esi
ret
push esi
push edi
call fcn.004d6ef0
add esp, 8
xor ax, ax
pop edi
pop esi
ret
mov ax, 0xfffe
pop edi
pop esi
ret

Function at 0x4d72f0
Capabilities:
Move file

Disassembly:
sub esp, 4
mov dword [esp], 0xfffffffe
push ebx
push esi
push edi
xor ebx, ebx
mov edi, dword [esp + 0x18]
push ebp
xor ebp, ebp
push edi
mov esi, dword [esp + 0x1c]
push esi
call fcn.004c0540
add esp, 8
test eax, eax
je 0x4d73ce
mov eax, dword [esp + 0x20]
push ebx
push eax
push esi
call fcn.004d7230
add esp, 0xc
test eax, eax
jne 0x4d73ce
mov eax, 0
cmp dword [esi + 0x100], ebx
je 0x4d734c
push 3
push esi
call fcn.004b4460
add esp, 8
test eax, eax
je 0x4d735d
mov eax, 0xfffffffe
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
push 0x8000
mov eax, dword [esi + 0x44]
push 0x101
push eax
push esi
call fcn.004aa140
add esp, 0x10
mov ebx, eax
test ebx, ebx
je 0x4d73ce
push 0x8000
mov eax, dword [esi + 0x44]
push 0x101
push eax
push esi
call fcn.004aa140
add esp, 0x10
mov ebp, eax
test ebp, ebp
je 0x4d73ce
push ebx
push edi
push esi
mov edi, ebx
call fcn.004b92b0
mov eax, dword [esp + 0x2c]
add esp, 0xc
push ebp
push eax
push esi
call fcn.004b92b0
mov dword [esp + 0x2c], ebp
add esp, 0xc
push ebp
push ebx
call dword [sym.imp.MSVCRT40.dll_rename]
add esp, 8
test eax, eax
jne 0x4d73ce
mov dword [esp + 0x10], 0
push ebx
mov eax, dword [esi + 0x44]
push eax
push esi
call fcn.004aa460
add esp, 0xc
mov eax, dword [esi + 0x44]
push ebp
push eax
push esi
call fcn.004aa460
add esp, 0xc
cmp dword [esp + 0x10], 0
je 0x4d740f
mov eax, dword [esp + 0x20]
push eax
push edi
push 0xffff8242
push 2
push esi
call fcn.004bda00
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret