joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418bb7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x438310]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x418bfd
cmp word [ebx], dx
jne 0x418bfd
or byte [eax + edi + 0x28], 4
jmp 0x418c02
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x418d65
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x418d45
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x418c43
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x418c79
cmp eax, edx
jae 0x418c87
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x418c1e
jmp 0x418d65
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x418d40
cmp dword [ebp - 0x18], 0
je 0x418d40
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x438310]
test byte [eax + edi + 0x28], 0x48
je 0x418d16
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x418cda
mov word [esi], cx
jmp 0x418d11
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x438310]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x438310]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x438310]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x418d65
pop eax
cmp word [ebp - 4], ax
jne 0x418d26
cmp esi, ebx
jne 0x418d26
mov word [esi], ax
jmp 0x418d62
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041978a
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x418d65
push 0xd
pop eax
jmp 0x418d21
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x438310]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x418d5f
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x418d65
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41bd19
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42f9c8
push 0x42f9c0
push str.FlsAlloc
push 0x1f
call fcn.0041bbd8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41bd4d
push dword [ebp + 8]
mov ecx, esi
call dword [0x428200]
call esi
jmp 0x41bd53
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41bd97
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42f9d8
push 0x42f9d0
push str.FlsGetValue
push 0x21
call fcn.0041bbd8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41bdce
push dword [ebp + 8]
mov ecx, esi
call dword [0x428200]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x41bdd6
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42f9e0
push 0x42f9d8
push str.FlsSetValue
push 0x22
call fcn.0041bbd8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41be10
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x428200]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x41d428
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x436040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x41d46b
call fcn.004131f6
mov dword [eax], 0xf
call fcn.00413209
mov dword [eax], 0xd
call fcn.0041800f
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b4d7
leave
ret
test eax, eax
jne 0x41d472
inc eax
jmp 0x41d45f
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x41d45d
xor eax, eax
cmp ecx, 1
setne al
jmp 0x41d45f

Function at 0x41dd04
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041d81f
Function at 0x41e684
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x436040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x41e6cf
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041e81f
test al, al
jne 0x41e6c9
sub edx, 2
cmp edx, edi
jne 0x41e6af
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x41e6f1
lea eax, [edi + 2]
cmp edx, eax
je 0x41e6f1
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0041e5d0
add esp, 0x10
jmp 0x41e7eb
push esi
lea ecx, [ebp - 0x255]
call fcn.0041e81f
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41e734
push dword [ebp - 0x25c]
jmp 0x41e6e1
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x41e771
cmp word [ebp - 0x226], 0
je 0x41e792
cmp word [ebp - 0x226], ax
jne 0x41e771
cmp word [ebp - 0x224], 0
je 0x41e792
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0041e5d0
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41e7de
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x41e74b
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x41e7c6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41e7eb
push 0x41e400
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00423da0
add esp, 0x10
jmp 0x41e7bb
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b4d7
leave
ret
Function at 0x41f0f7
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41f194
push ebx
push esi
call fcn.0041f0c0
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0041d553
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41f141
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41f193
push edi
push eax
call fcn.0041a861
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41f161
call fcn.00418053
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41f192
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041d553
add esp, 0x20
test eax, eax
jne 0x41f180
push edi
call fcn.00418053
jmp 0x41f188
push ebx
call fcn.00418053
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x41f197
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x41f1a8
pop esi
ret
push ebx
push edi
push esi
call fcn.0041f0c0
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0041a861
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x41f1d0
push ebx
push esi
push edi
call fcn.0040c170
add esp, 0xc
push 0
call fcn.00418053
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x425105
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00425081
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x425274
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x425274
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x425229
jg 0x425161
test eax, eax
je 0x42521f
push 1
push 0x1000
call fcn.0041ba48
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x425184
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x425216
push 0x8000
push ebx
call fcn.0041756b
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4251ad
jg 0x4251a8
cmp ecx, 0x1000
jb 0x4251ad
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0041a2c6
add esp, 0x10
cmp eax, 0xffffffff
je 0x4251f2
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x4251a8
jl 0x4251d9
test ecx, ecx
jne 0x42519a
push dword [ebp - 0xc]
push ebx
call fcn.0041756b
push esi
call fcn.00418053
add esp, 0xc
xor ebx, ebx
jmp 0x425282
cmp byte [edi + 0x24], 0
je 0x425209
cmp dword [edi + 0x20], 5
jne 0x425209
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x425214
mov ebx, dword [edi + 0x18]
jmp 0x425216
xor ebx, ebx
push esi
call fcn.00418053
pop ecx
jmp 0x425282
test ecx, ecx
jg 0x4251eb
jl 0x425229
test eax, eax
jae 0x4251eb
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041978a
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x425249
cmp byte [edi + 0x1c], 0
je 0x4251eb
jmp 0x42527a
push ebx
call fcn.00415b7a
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4251eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x425282
cmp byte [edi + 0x1c], 0
je 0x42527f
mov ebx, dword [edi + 0x18]
jmp 0x425282
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0041978a
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x426ef0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x426f1d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x426f1d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402a90
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404538
test esi, esi
jne 0x402ac6
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404628
jmp 0x402ae4
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402944
mov edi, eax
test esi, esi
je 0x402ae4
cmp dword [ebx], 0
je 0x402ae4
dec esi
jmp 0x402acd
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403060
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x449008], 0x8088405
inc edx
mov dword [ebx + 0x449008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4035f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x449024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403688
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403668
xor eax, eax
push ebp
push 0x403661
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4036a4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403668
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x449024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x449024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404318
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x51f044], 0
je 0x404379
cmp word [0x51f218], 0xd7b2
jne 0x404341
cmp dword [0x51f220], 0
jbe 0x404341
mov eax, 0x51f214
call dword [fcn.0051f230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x449074
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4043a0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x449034], 0
jne 0x404395
push 0
push 0x44906c
push 0x449074
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4044ec
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402728
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x51f045], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4044b4
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406490
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4064f6
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004047a8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0040307c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4064e0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4064fd
lea eax, [ebp - 0x10]
call fcn.00404538
ret

Function at 0x408564
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004049f8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40857d
test al, 0x10
jne 0x408581
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40b448
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b481
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404628
jmp 0x40b48a
mov eax, ebx
mov edx, esi
call fcn.0040458c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b494
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b4b5
mov al, byte [esp]
jmp 0x40b4b7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40ca5c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40cac0
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004047a8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408190
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cac7
lea eax, [ebp - 0xc]
call fcn.00404538
ret

Function at 0x41c7e0
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041c638
dec esi
jne 0x41c802
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x42b5dc
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x42b5e4
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x42b7d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x42b7ec
mov eax, esi
call fcn.004290d4
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.0040458c
lea ecx, [ebp - 0x10]
mov edx, 0x42b800
mov eax, esi
call fcn.004290d4
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.0040458c
lea ecx, [ebp - 0x14]
mov edx, 0x42b818
mov eax, esi
call fcn.004290d4
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.0040458c
lea ecx, [ebp - 0x18]
mov edx, 0x42b834
mov eax, esi
call fcn.004290d4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.0040458c
lea ecx, [ebp - 0x1c]
mov edx, 0x42b850
mov eax, esi
call fcn.004290d4
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.0040458c
lea ecx, [ebp - 0x24]
mov edx, 0x42b868
mov eax, esi
call fcn.004290d4
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00407d80
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408190
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x42b880
mov eax, esi
call fcn.004290d4
mov eax, dword [ebp - 0x28]
call fcn.004281d0
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x42b890
mov eax, esi
call fcn.004290d4
mov eax, dword [ebp - 0x2c]
call fcn.004281d0
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x42b8a8
mov eax, esi
call fcn.004290d4
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408190
inc eax
je 0x42b779
lea ecx, [ebp - 0x34]
mov edx, 0x42b8a8
mov eax, esi
call fcn.004290d4
mov eax, dword [ebp - 0x34]
call fcn.00408154
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.00409a80
fstp qword [ebp - 0x3c]
wait
call fcn.00409de4
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x42b794
lea ecx, [ebp - 0x40]
mov edx, 0x42b8a8
mov eax, esi
call fcn.004290d4
mov eax, dword [ebp - 0x40]
call fcn.004281d0
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x42b8b8
mov eax, esi
call fcn.004290d4
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.0040458c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b7dd
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.0040455c
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.0040455c
ret
Function at 0x4381f4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x43824e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004381e4
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00426bb4
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004267b4
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438255
lea eax, [ebp - 4]
call fcn.00404538
ret

Function at 0x43d4b4
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x44cb08]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x43d4f0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x43d508
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x43d501
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00403040
xor edx, edx
mov eax, 0x44cd08
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x43d572
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x43d526
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x43d7b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x43d7c9
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x43d7c2
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x43d7db
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x43d7d4
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.0043d3a4
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x43d7f5
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.0043d4b4
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x43d87a
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x43d897
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.0043d434
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x43d8c0
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc