joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42fb00
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0042a1e0
test eax, eax
je 0x42fbef
mov ecx, edi
call fcn.0042a1e0
mov ecx, eax
call fcn.00427790
test eax, eax
jne 0x42fbef
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42fbef
mov eax, dword [0x4bbed0]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x42fb62
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.0042a1e0
mov ecx, eax
call fcn.004279c0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x42fbef
cmp ebx, eax
jne 0x42fbef
cmp dword [esp + 0x10], eax
jne 0x42fbd5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x432860
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x484108
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x432899
inc eax
mov dword [esi + 0x10], eax
jmp 0x4329ac
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4328ad
mov eax, 0xffffffc7
jmp 0x4329ae
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4328be
cmp dword [esi + 8], eax
jne 0x4328ad
cmp dword [esi + 8], eax
jne 0x4328d7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4328d7
mov eax, 0xffffffc7
jmp 0x4329ae
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4328eb
push eax
mov ecx, ebx
call fcn.00432090
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00404f60
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43291c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00404f80
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00431800
test eax, eax
mov dword [esp + 0x38], eax
je 0x43294f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x48b3d0
call fcn.00405160
mov eax, dword [esp + 0x38]
jmp 0x4329ae
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004326c0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x432993
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004326e0
mov esi, eax
test esi, esi
jne 0x4329c3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004326c0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x432965
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x48b3d0
call fcn.00405160
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x48b3d0
call fcn.00405160
mov eax, esi
jmp 0x4329ae

Function at 0x437370
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4373d0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4373d0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4373d0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4373d0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x437410
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x443150
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4849f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0047d6d0
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00442a90
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0047d5fe
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00479ec2
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00479ec2
push 1
push 0
push 0
mov ecx, esi
call fcn.00479e6a
push 1
push 0
push 1
mov ecx, esi
call fcn.00479e6a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047d742
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4432d0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x484a18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0047d6d0
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00442a90
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0047d5fe
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x443394
cmp dword [esp + 0x40], 1
jne 0x443392
cmp ecx, eax
jge 0x443394
mov eax, ecx
cmp eax, 0xc8
jge 0x4433a0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00443150
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047d742
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x443b90
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x484ac3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004782e0
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0047d978
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047ee94
test eax, eax
je 0x443cac
mov ecx, dword [esp + 0x3c]
call fcn.0047d9a5
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x443c70
push edi
mov ecx, esi
call fcn.0047b00d
mov ecx, esi
call fcn.00443e50
cmp dword [esp + 0x38], 1
jne 0x443ca5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0047b148
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x445e90
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x445ec3
push esi
call fcn.00454250
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x445ebc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x445f49
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x445f32
mov eax, dword [esi + 8]
test eax, eax
je 0x445ee7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x445f2e
cmp eax, 2
je 0x445f32
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x445eda
cmp eax, 3
je 0x445f0d
cmp eax, 1
jne 0x445eda
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x445eda
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x445eda
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00445f70
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x445f58
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00445f70
add esp, 4
pop esi
ret

Function at 0x4467f0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x446811
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x446811
mov eax, dword [eax + 0x44]
test eax, eax
je 0x446811
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4610f0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x461193
test eax, eax
jbe 0x461193
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x461193
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x46113e
xor esi, esi
jmp 0x461144
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x46116f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00405900
add esi, eax
push esi
mov ebx, esi
call fcn.00405900
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x461150
pop ebp
test edi, edi
pop edi
jne 0x461193
test ebx, ebx
je 0x461193
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00467e60
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4612b5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4613cd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4613cd
mov eax, dword [esi + 0x3c]
push eax
call fcn.00478732
mov esi, eax
test esi, esi
je 0x4613cd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4613cd
mov ecx, esi
call fcn.00461240
cmp edi, eax
jge 0x4613cd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x461353
mov dword [esp + 0x34], 1
jmp 0x4613ae
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4613cd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00460840
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x4643c0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x4a975c]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4643d3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x464414
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x4a9804]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x464446
mov bl, byte [esp + ecx + 0x4c]
jmp 0x46444a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x46443b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x464468
mov bl, byte [esp + ecx + 0x4c]
jmp 0x46446c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x46445d
xor ecx, ecx
mov eax, 0x4a976c
xor ebx, ebx
mov bl, byte [ecx + 0x4a9814]
cmp byte [esp + ebx + 0x14], 0
je 0x464497
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x4a982c]
cmp byte [esp + ebx + 0x14], 0
je 0x4644ae
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x46447e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x464407
lea edx, [esp + 0x84]
push edx
call fcn.004644f0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4790d5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47910d
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0047718c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00477164
jmp 0x479119
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47a7ca
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x47a80c
call fcn.0048027f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47a80c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47a803
xor eax, eax
jmp 0x47a814
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047a81a
pop edi
pop esi
pop ebx
ret 4

Function at 0x4807af
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4807dd
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4807fb
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00480715
jmp 0x4807fb
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4807fb
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00480715
test edi, edi
mov eax, edi
jne 0x4807e5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x43534b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042708b
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x435383
xor eax, eax
jmp 0x4353af
cmp esi, dword [ebp - 4]
je 0x4353ac
cmp dword [ebp + 0xc], 0
je 0x4353ac
push dword [edi + 0x9c]
call fcn.00434f59
push dword [edi + 0x9c]
mov esi, eax
call fcn.00424fcd
pop ecx
pop ecx
cmp esi, eax
je 0x43537f
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x40974c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x40975b
pop dword [ebp - 0x28]
mov eax, 0x109b5fdd
sub eax, 0x105ac882
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x32f96cc8
sub dword [ebp - 0x38], 0xe4a7277d
mov dword [ebp - 0x34], 0x956d1654
sub dword [ebp - 0x34], 0x6339ca0f
mov dword [ebp - 0x30], 0x203e537e
sub dword [ebp - 0x30], 0xd3f20f50
mov dword [ebp - 0x2c], 0x80b618a0
add dword [ebp - 0x2c], 0x7f49e760
lea eax, [ebp - 0x38]
push eax
mov eax, 0xe372abac
add eax, 0x1cce24a0
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x68f65948
sub dword [ebp - 0x38], 0xf483eff2
mov dword [ebp - 0x34], 0x5205746d
sub dword [ebp - 0x34], 0x109912f8
mov dword [ebp - 0x30], 0xae4fb5aa
sub dword [ebp - 0x30], 0x4ae0493e
mov dword [ebp - 0x2c], 0x94dd10a7
sub dword [ebp - 0x2c], 0x94dd10a7
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x8a673fe8
sub eax, 0x8a266fa0
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x396d2
push 0
call eax
mov ecx, 0x8e7118a5
sub ecx, 0x8e70d136
mov edi, eax
mov esi, 0xc5cb688d
sub esi, 0xc589b88d
add esi, dword [ebp - 0x28]
mov ebx, 0x5b3c82c9
mov dword [ebp - 0x10], 0xf04efef1
mov edx, dword [esi]
sub dword [ebp - 0x20], eax
xor edx, ebx
sub dword [ebp - 0x14], edi
mov dword [edi], edx
add dword [ebp - 4], esi
add edi, 0x5cd710e3
add edi, 0xa328ef21
add esi, 4
loop 0x409877
add eax, 0x1108f
xor ebx, ebx
add ebx, eax
add eax, 0x983300db
sub eax, 0x983300d6
mov ecx, 0x825cb136
sub ecx, 0x821cb136
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

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

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x42d22e2e
nop
nop
nop
test eax, eax
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..tls
nop
mov ebx, 0x42f314
mov ecx, 0x4b395393
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x44dfad
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
cmp dword [0x6aae14], 0
jne 0x44e013
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 0x9c8
push 2
mov eax, 5
mov ebx, 0x502650
call fcn.004945fd
add esp, 0x1c
mov dword [0x6aae14], eax
cmp dword [0x6aae14], 0
jne 0x44e013
mov eax, dword [ebp + 8]
jmp 0x44e165
mov eax, dword [0x6aae14]
mov dword [ebp - 4], eax
pushal
cmp dword [eax + 8], 0
jne 0x44e07a
mov edx, dword fs:[0x20]
imul edx, dword fs:[0x24]
mov eax, dword fs:[0x2c]
xor eax, dword fs:[0x30]
imul eax, edx
imul edx, eax, 0x41c64e6d
imul edx, dword [ebp - 4]
add edx, 0x3039
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebx], edx
xor eax, eax
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
inc eax
add edx, eax
mov dword [ebx + eax*4], edx
cmp eax, 0x26f
jb 0x44e05b
call fcn.0044e0f4
mov ecx, 1
test byte [eax + 4], 1
jne 0x44e07f
xchg dword [eax + 4], ecx
test ecx, ecx
jne 0x44e07f
cmp dword [eax], 0x270
jne 0x44e099
call fcn.0044e0f4
mov edx, dword [eax]
inc dword [eax]
mov ecx, dword [eax + edx*4 + 8]
mov dword [eax + 4], 0
mov eax, ecx
shr ecx, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp ecx, ebx
jg 0x44e0de
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
sub ecx, ebx
inc ecx
test ecx, ecx
xor edx, edx
div ecx
mov eax, edx
add eax, ebx
mov dword [esp + 0x1c], eax
popal
leave
ret 8
mov esp, ebp
pop ebp
ret 8

Function at 0x44e0f4
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
xor esi, esi
mov edi, dword [ebp - 4]
push edi
push ebp
add edi, 8
mov ebp, edi
mov ebx, 0x18d
inc esi
mov edx, esi
xor eax, eax
cmp esi, 0x270
cmove edx, eax
mov edx, dword [ebp + edx*4]
xor edx, dword [edi]
and edx, 0x7fffffff
xor edx, dword [edi]
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x9908b0df
and dl, 1
cmove ecx, eax
xor edx, edx
cmp ebx, 0x270
cmove ebx, edx
mov edx, ebx
xor ecx, dword [ebp + edx*4]
mov dword [edi], ecx
lea edi, [edi + 4]
inc ebx
cmp ebx, 0x18d
jne 0x44e105
pop ebp
pop eax
mov dword [eax], 0
ret