joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ec00
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b7b28
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.004ae5a7
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0045e5a0
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.004ae4d5
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.004aacb9
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.004aacb9
push 1
push 0
push 0
mov ecx, esi
call fcn.004aac61
push 1
push 0
push 1
mov ecx, esi
call fcn.004aac61
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004ae619
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x45ed80
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b7b48
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.004ae5a7
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0045e5a0
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.004ae4d5
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 0x45ee44
cmp dword [esp + 0x40], 1
jne 0x45ee42
cmp ecx, eax
jge 0x45ee44
mov eax, ecx
cmp eax, 0xc8
jge 0x45ee50
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0045ec00
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.004ae619
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x45f5c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b7bb3
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.004a90d6
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.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.004ae84f
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004afda7
test eax, eax
je 0x45f6dc
mov ecx, dword [esp + 0x3c]
call fcn.004ae87c
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 0x45f6a0
push edi
mov ecx, esi
call fcn.004abe39
mov ecx, esi
call fcn.0045f840
cmp dword [esp + 0x38], 1
jne 0x45f6d5
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.004abfa3
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 0x462110
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x462143
push esi
call fcn.00465220
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x46213c
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 0x4621c9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4621b2
mov eax, dword [esi + 8]
test eax, eax
je 0x462167
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 0x4621ae
cmp eax, 2
je 0x4621b2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46215a
cmp eax, 3
je 0x46218d
cmp eax, 1
jne 0x46215a
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 0x46215a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46215a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004621f0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4621d8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004621f0
add esp, 4
pop esi
ret

Function at 0x46ee90
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x46eef6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x46eef6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x46eed7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x46f280
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x46f2b8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x46ff80
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x46ffc9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x470440
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b8350
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0046fff0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00470070
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00470070
lea ecx, [esi + 0xc]
call fcn.004a7a3d
lea ecx, [esi + 0x10]
call fcn.004a7a3d
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00471600
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00471600
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00471600
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004a7ab2
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004a7ab2
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x473010
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 0x4730b3
test eax, eax
jbe 0x4730b3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4730b3
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 0x47305e
xor esi, esi
jmp 0x473064
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x47308f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00474b00
add esi, eax
push esi
mov ebx, esi
call fcn.00474b00
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x473070
pop ebp
test edi, edi
pop edi
jne 0x4730b3
test ebx, ebx
je 0x4730b3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00485320
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x4731f5
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 0x47330d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47330d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004a9528
mov esi, eax
test esi, esi
je 0x47330d
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 0x47330d
mov ecx, esi
call fcn.00473160
cmp edi, eax
jge 0x47330d
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 0x473293
mov dword [esp + 0x34], 1
jmp 0x4732ee
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x47330d
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.00471a00
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 0x477c60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b8988
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.00478050
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x5204a4
call fcn.00486490
mov ecx, dword [0x4c9ec8]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.004753c0
mov esi, 0x4c9f20
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x477d07
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x477cfe
cmp al, 0xff
je 0x477cfe
dec al
mov byte [ecx], al
jmp 0x477d07
push ecx
call fcn.004a781c
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.004a35b0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x477d4d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x477d44
cmp al, 0xff
je 0x477d44
dec al
mov byte [ecx], al
jmp 0x477d4d
push ecx
call fcn.004a781c
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.00486517
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x49da20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4b9f90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.00492816
mov eax, dword [0x4cd9c0]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.00492748
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.0049e550
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x49dac7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x49dabe
cmp al, 0xff
je 0x49dabe
dec al
mov byte [ecx], al
jmp 0x49dac7
push ecx
call fcn.004a781c
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x49daf8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x49daef
cmp al, 0xff
je 0x49daef
dec al
mov byte [ecx], al
jmp 0x49daf8
push ecx
call fcn.004a781c
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x4a9ecc
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a9f04
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.004a7f59
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004a7f31
jmp 0x4a9f10
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4ab5bd
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 0x4ab5ff
call fcn.004b1569
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4ab5ff
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4ab5f6
xor eax, eax
jmp 0x4ab607
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004ab60d
pop edi
pop esi
pop ebx
ret 4

Function at 0x4b1a99
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 0x4b1ac7
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b1ae5
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b19ff
jmp 0x4b1ae5
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b1ae5
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b19ff
test edi, edi
mov eax, edi
jne 0x4b1acf
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x437de0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2a000]
push edi
or ebp, 0xffffffff
jmp 0x437e02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x437e09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x437df8
mov eax, 1
add ebx, ebx
jne 0x437e1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x437e10
jne 0x437e2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x437e10
xor ecx, ecx
sub eax, 3
jb 0x437e40
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x437eb2
mov ebp, eax
add ebx, ebx
jne 0x437e4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x437e58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x437e7c
inc ecx
add ebx, ebx
jne 0x437e68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x437e5d
jne 0x437e79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x437e5d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x437e9c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x437e8d
jmp 0x437dfe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x437e9c
add edi, ecx
jmp 0x437dfe
pop esi
mov edi, esi
mov ecx, 0x20f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x437eba
cmp byte [edi], 4
jne 0x437eba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x437ebf
lea edi, [esi + 0x35000]
mov eax, dword [edi]
or eax, eax
je 0x437f37
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3826c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x382a8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x437eec
mov ecx, edi
jns 0x437f1b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x382ac]
or eax, eax
je 0x437f31
mov dword [ebx], eax
add ebx, 4
jmp 0x437f09
call dword [esi + 0x382b0]
popal
jmp 0x401d84
Function at 0x402f10
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x408
mov eax, dword [0x42cb90]
xor eax, esp
mov dword [esp + 0x404], eax
push esi
mov esi, ecx
test byte [esi + 0x14], 4
push edi
mov edi, dword [esp + 0x414]
je 0x402f42
mov eax, dword [esi]
push 0
push eax
push edi
call fcn.004025e0
jmp 0x402f8d
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00402b90
lea eax, [esp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402f55
sub eax, edx
push 0
lea edx, [esp + 0xc]
push edx
push eax
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402f87
mov ecx, dword [esi]
push 0
push ecx
push edi
mov ecx, esi
call fcn.004025e0
jmp 0x402f8d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x40c]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.0040f6db
add esp, 0x408
ret 4

Function at 0x403ac0
Capabilities:
Check os version
Get system information on windows

Disassembly:
sub esp, 0xc4
mov eax, dword [0x42cb90]
xor eax, esp
mov dword [esp + 0xc0], eax
push esi
push edi
push 0x9c
xor edi, edi
lea eax, [esp + 0x30]
push edi
push eax
call fcn.0040eb90
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], 0x9c
call esi
test eax, eax
jne 0x403b2e
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], 0x94
call esi
test eax, eax
jne 0x403b2e
pop edi
pop esi
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.0040f6db
add esp, 0xc4
ret
mov eax, dword [esp + 0x30]
cmp eax, 6
jae 0x403b43
cmp eax, 5
jne 0x403b7d
cmp dword [esp + 0x34], 2
jne 0x403b7d
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x403b70
lea ecx, [esp + 8]
push ecx
call eax
cmp word [esp + 8], 9
jne 0x403b7d
mov edi, 1
mov ecx, dword [esp + 0xc8]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.0040f6db
add esp, 0xc4
ret
Function at 0x403cc0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x24]
mov eax, dword [esi]
lea ecx, [esp + 0x24]
push ecx
push 0x20019
push 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x18], 0
mov dword [esi], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403d5e
mov ecx, dword [esi]
push edi
mov edi, dword [esp + 0x24]
push ecx
push eax
push edi
call fcn.0040eb90
mov ecx, dword [esp + 0x28]
add esp, 0xc
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x2c]
push edi
lea eax, [esp + 0x10]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
je 0x403d47
mov eax, 0xfffffffe
pop esi
add esp, 8
ret
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
mov dword [ecx], edx
mov dword [esi], eax
xor eax, eax
pop esi
add esp, 8
ret
or eax, 0xffffffff
pop esi
add esp, 8
ret

Function at 0x403ea0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push edi
or edi, 0xffffffff
test eax, eax
je 0x403fdc
push ebx
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x403fdb
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, edi
mov dword [esp + 0x10], eax
je 0x403fdb
push ebp
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.0040f141
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x403fce
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
push ecx
push esi
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x403fc5
push ebx
push ebp
mov byte [esi + ebp], 0
call fcn.0040f7c0
add esp, 8
test eax, eax
je 0x403fc5
mov ecx, ebx
lea esi, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x403f40
sub ecx, esi
add eax, ecx
mov cl, byte [eax]
test cl, cl
je 0x403f67
cmp cl, 0x20
je 0x403f5d
cmp cl, 9
jne 0x403f67
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x403f53
cmp byte [eax], 0
mov ebx, eax
je 0x403f8d
mov edi, edi
mov cl, byte [eax]
cmp cl, 0xd
je 0x403f8a
cmp cl, 0xa
je 0x403f8a
test cl, cl
je 0x403f8a
add eax, 1
cmp byte [eax], 0
jne 0x403f70
jmp 0x403f8d
mov byte [eax], 0
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403f92
mov esi, dword [esp + 0x20]
sub eax, edx
test esi, esi
je 0x403fc3
mov edi, dword [esp + 0x24]
add edi, 0xffffffff
cmp eax, edi
jg 0x403fb2
mov edi, eax
push edi
push ebx
push esi
call fcn.0040f940
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x403fc5
mov edi, eax
push ebp
call fcn.0040e862
add esp, 4
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
pop ebx
mov eax, edi
pop edi
pop ecx
ret