joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100baf20
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 0x100baf69
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 0x100bb3e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100df8c0
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.100baf90
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.100bb010
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.100bb010
lea ecx, [esi + 0xc]
call fcn.100cf506
lea ecx, [esi + 0x10]
call fcn.100cf506
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.100bc5a0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.100bc5a0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.100bc5a0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.100cf57b
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.100cf57b
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x100d195c
Capabilities:
Get graphical window text

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

Function at 0x100d304f
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 0x100d3091
call fcn.100d90f3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x100d3091
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x100d3088
xor eax, eax
jmp 0x100d3099
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.100d309f
pop edi
pop esi
pop ebx
ret 4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401ab5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42c090]
jne 0x401abf
repz ret
jmp fcn.004027e8

Function at 0x40a63c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404659
and dword [ebp - 4], 0
cmp dword [0x4301f8], 0
mov ebx, eax
jne 0x40a6ed
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a79e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a79e
push eax
call fcn.004045e7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4301f8], eax
call esi
push eax
call fcn.004045e7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4301fc], eax
call esi
push eax
call fcn.004045e7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x430200], eax
call esi
push eax
call fcn.004045e7
pop ecx
mov dword [0x430208], eax
test eax, eax
je 0x40a6ed
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004045e7
pop ecx
mov dword [0x430204], eax
mov eax, dword [0x430204]
cmp eax, ebx
je 0x40a745
cmp dword [0x430208], ebx
je 0x40a745
push eax
call fcn.00404662
push dword [0x430208]
mov esi, eax
call fcn.00404662
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a745
test edi, edi
je 0x40a745
call esi
test eax, eax
je 0x40a73c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a73c
test byte [ebp - 0xc], 1
jne 0x40a745
or dword [ebp + 0x10], 0x200000
jmp 0x40a77e
mov eax, dword [0x4301fc]
cmp eax, ebx
je 0x40a77e
push eax
call fcn.00404662
pop ecx
test eax, eax
je 0x40a77e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a77e
mov eax, dword [0x430200]
cmp eax, ebx
je 0x40a77e
push eax
call fcn.00404662
pop ecx
test eax, eax
je 0x40a77e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4301f8]
call fcn.00404662
pop ecx
test eax, eax
je 0x40a79e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a7a0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40bbdf
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x1f77004], 0x930
jne 0x40bbfc
push str.xafewibiwucijamojamejuhuyewo
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp dword [0x1f77004], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x1f76e48], eax
jne 0x40bc1c
lea eax, [ebp - 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
leave
ret
Function at 0xa2efd9
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg dword [esp], esi
pushfd
lea esi, [esi + 0x1b]
call fcn.00a2ef71

Function at 0xb1d241
Capabilities:
Access peb ldr_data

Disassembly:
call fcn.00b1c049
seto cl
neg ecx
adc cl, 0x77
jmp 0xb1d035
and cx, sp
pop ebp
mov cx, 0x3e4a
sub esp, 2
xchg word [esp], cx
shl cx, cl
jmp 0xb1d05c
clc
mov ch, byte [esp + 2]
std
mov si, word [esp]
rcl ecx, cl
mov ch, ah
jmp 0xb1d132
cld
xchg word [esp], si
setns cl
push word [esp + 2]
mov cl, 0xb5
xchg si, cx
call fcn.00b1d0ac
pop dword [esp]
cld
lea esi, [eax*4]
push word [esp + 1]
jmp 0xb1d109
lea ebp, [ebx + esi]
mov ecx, 0x899bce9c
mov si, 0x5c59
shl ch, 5
lea esp, [esp + 3]
inc si
jmp 0xb1d188
neg cl
xchg ebp, ecx
sbb ch, bl
setge ch
lea esp, [esp]
std
jmp 0xb1d0c6
lea esi, [ebx + esi]
cmc
lea esi, [edx*4]
mov ebp, dword [esp + 0x1c]
mov si, ax
call fcn.00b1d141
mov byte [esp + 1], ch
bts esi, ebx
xor esi, esi
lea esp, [esp + 3]
mov esi, dword [esp + 0x20]
jmp 0xb1d19d
xchg bp, cx
bsr ebp, eax
neg ecx
mov cx, ax
bts cx, ax
mov ecx, dword [esp + 0xd]
jmp 0xb1d157
lea esp, [esp + 0x24]
popfd
jmp 0xb1d1e7
mov dword [esp + 4], eax
mov dword [esp], ecx
push esp
push dword [esp + 3]
jmp 0xb1d218
lea esp, [esp + 4]
pushfd
push ebp
mov word [esp + 4], bp
jmp 0xb1d1d1
mov word [esp + 1], sp
call fcn.00b1d1f4
mov dword [esp], edi
mov word [esp + 1], ax
mov dword [esp + 8], ebp
call fcn.00b1d257
mov esi, 0xe24b2889
mov dword [esp + 8], esp
call 0xb1d222
jmp 0xb1d277
mov dword [esp + 0xc], edi
lea esp, [esp + 0xc]
jmp 0xb1d292
mov word [esp], di
lea esp, [esp]
lea esp, [esp]
mov word [esp], bx
mov word [esp + 1], cx
jmp 0xb1d261
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0xb1d2a4
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0xb1d9ba
push eax
jmp 0xb1c044
Function at 0x103c966
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1006ff0
call fcn.0103cc7c
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x103c9a1
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x103c9a1
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x103c9b9
cmp eax, 0x20b
je 0x103c9a6
mov dword [ebp - 0x1c], edi
jmp 0x103c9cd
cmp dword [ecx + 0x84], 0xe
jbe 0x103c9a1
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x103c9c7
cmp dword [ecx + 0x74], 0xe
jbe 0x103c9a1
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x104a584], 0xffffffff
or dword [0x104a588], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x104a57c]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x104a578]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x104a580], eax
call fcn.0103cc74
cmp dword [0x104a110], edi
jne 0x103ca28
push fcn.0103cc74
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0103cc5d
push 0x104a024
push 0x104a020
call sub.msvcrt.dll__initterm
mov eax, dword [0x104a574]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x104a570]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x34], eax
push 0x104a01c
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___winitenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.01035097
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x103ca9f
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x103cad4
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0103ccb7
ret
Function at 0x402440
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004025f0
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x40253e
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x4024e1
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x402524
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x4024f8
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x402513
test al, 0x40
je 0x40250a
mov ecx, dword [edi + 0x20]
jmp 0x402511
test al, 0x80
je 0x402524
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x402524
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x4024b0
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x40a367
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x40a41a
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]

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

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0xc
push ebp
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x40aaa8
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x40aaa8
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x40aab2
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x20], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ebx
cmp ecx, ebx
ja 0x40aaf4
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x40ab56
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x40ab51
mov eax, dword [esp + 0x24]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x40ab3c
test dl, dl
je 0x40ab38
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x40ab3c
add ecx, 2
add eax, 2
test dl, dl
jne 0x40ab1c
xor eax, eax
jmp 0x40ab41
sbb eax, eax
or eax, 1
test eax, eax
je 0x40ab62
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x40ab09
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [esp + 0x18]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8

Function at 0x40abff
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x40ac21
mov eax, 0xfffffffd
jmp 0x40acf3
cmp dword [0x87bbf8], 0
je 0x40accc
cmp dword [0x87bbfc], 5
jl 0x40ac4f
cmp dword [0x87bbfc], 7
jg 0x40ac4f
mov eax, 1
jmp 0x40ac54
mov eax, 0
test eax, eax
jne 0x40ac6d
cmp dword [0x87bbfc], 0xfffffffb
je 0x40ac6d
xor eax, eax
jmp 0x40ac72
mov eax, 1
test eax, eax
je 0x40ac9e
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x40ac87
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
cmp dword [0x87bbf8], 0
jne 0x40ace9
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x40acf3
mov esp, ebp
pop ebp
ret 4
Function at 0x52a6ca
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x52a77e
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0052a65a
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x52a757
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x52a7a5
test ebp, ebp
je 0x52a7a5
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x52a7ad
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x52a7ed
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x52a849
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x52a844
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x52a82f
test dl, dl
je 0x52a82b
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x52a82f
add ecx, 2
add eax, 2
test dl, dl
jne 0x52a80f
xor eax, eax
jmp 0x52a834
sbb eax, eax
or eax, 1
test eax, eax
je 0x52a853
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x52a7fc
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x52a86a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.0052a6ca
test eax, eax
jne 0x52a882
pop edi
pop ebx
add esp, 0x10
ret
push esi
lea edx, [esp + 0xc]
mov ecx, eax
mov dword [esp + 0xc], 0x74726956
mov dword [esp + 0x10], 0x416c6175
mov dword [esp + 0x14], 0x636f6c6c
mov byte [esp + 0x18], 0
call fcn.0052a78a
mov esi, eax
test esi, esi
jne 0x52a8b8
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x52a8d2
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret
Function at 0x52a9ca
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x44
push esi
push edi
mov dword [esp + 0x1c], edx
mov edi, ecx
call fcn.0052a6ca
mov esi, eax
test esi, esi
jne 0x52a9e8
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x64616f4c
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x41797261
mov byte [esp + 0x44], 0
call fcn.0052a78a
mov dword [esp + 0x18], eax
test eax, eax
je 0x52a9e0
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x65657246
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x797261
call fcn.0052a78a
mov dword [esp + 0x34], eax
test eax, eax
je 0x52a9e0
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x50746547
mov dword [esp + 0x3c], 0x41636f72
mov dword [esp + 0x40], 0x65726464
mov word [esp + 0x44], 0x7373
mov byte [esp + 0x46], 0
call fcn.0052a78a
mov dword [esp + 0x28], eax
test eax, eax
je 0x52a9e0
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x4d746547
mov dword [esp + 0x3c], 0x6c75646f
mov dword [esp + 0x40], 0x6e614865
mov dword [esp + 0x44], 0x41656c64
mov byte [esp + 0x48], 0
call fcn.0052a78a
mov dword [esp + 0x30], eax
test eax, eax
je 0x52a9e0
mov eax, dword [edi + 0x3c]
push ebx
cmp dword [eax + edi + 0x84], 0
push ebp
je 0x52abaf
mov ecx, dword [eax + edi + 0x80]
add ecx, edi
xor esi, esi
lea ebx, [ecx + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], esi
cmp dword [ebx], esi
je 0x52abaf
mov eax, ebx
mov ebp, ecx
mov eax, dword [eax]
add eax, edi
push eax
mov dword [esp + 0x2c], eax
call dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x52ab12
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
add eax, edi
mov dword [esp + 0x14], 0
cmp dword [eax], 0
je 0x52ab93
mov dword [esp + 0x18], 0
nop
mov eax, dword [eax]
test eax, eax
jns 0x52ab35
movzx esi, ax
jmp 0x52ab3a
lea esi, [edi + 2]
add esi, eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x52ab59
push dword [esp + 0x58]
and eax, 0x80000000
push eax
push esi
push dword [esp + 0x34]
call ecx
mov ecx, eax
test ecx, ecx
jne 0x52ab68
push esi
push dword [esp + 0x30]
call dword [esp + 0x38]
mov ecx, eax
test ecx, ecx
je 0x52abbc
mov eax, dword [ebp + 0x10]
add eax, dword [esp + 0x18]
mov dword [eax + edi], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x14], ecx
shl ecx, 2
add eax, ecx
add eax, edi
mov dword [esp + 0x18], ecx
cmp dword [eax], 0
jne 0x52ab2a
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
inc esi
mov dword [esp + 0x10], esi
lea eax, [esi + esi*4]
lea ebp, [ecx + eax*4]
cmp dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
jne 0x52aaef
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x44
ret
cmp dword [ebx], 0
je 0x52abe5
mov esi, dword [esp + 0x10]
xor ebp, ebp
lea ecx, [ecx]
cmp ebp, esi
ja 0x52abe5
mov eax, dword [ebx]
add eax, edi
push eax
call dword [esp + 0x3c]
push eax
call dword [esp + 0x40]
add ebx, 0x14
inc ebp
cmp dword [ebx], 0
jne 0x52abca
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
Function at 0x52abfa
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.0052a6ca
mov esi, eax
test esi, esi
je 0x52acb6
push ebp
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x65657246
mov dword [esp + 0x14], 0x7262694c
mov dword [esp + 0x18], 0x797261
call fcn.0052a78a
mov ebp, eax
test ebp, ebp
je 0x52acb5
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x4d746547
mov dword [esp + 0x14], 0x6c75646f
mov dword [esp + 0x18], 0x6e614865
mov dword [esp + 0x1c], 0x41656c64
mov byte [esp + 0x20], 0
call fcn.0052a78a
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x52acb5
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi + 0x84], 0
je 0x52acb5
push ebx
mov ebx, dword [ecx + edi + 0x80]
add ebx, edi
xor esi, esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x52acb4
lea ebx, [ebx]
add eax, edi
push eax
call edx
push eax
call ebp
mov edx, dword [esp + 0x10]
lea esi, [esi + 1]
lea eax, [esi + esi*4]
mov eax, dword [ebx + eax*4 + 0xc]
test eax, eax
jne 0x52ac9a
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret

Function at 0x52cfcd
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
and eax, 1
leave
ret

Function at 0x52fddc
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x52fe90
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0052fd6c
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x52fe69
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret