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

Disassembly:
sub esp, 0x28
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x78], ebp
je 0x468ecd
push ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov eax, dword [esi + 0x90]
cmp eax, ebp
je 0x468e46
mov ecx, dword [esi + 0x94]
sub ecx, eax
mov eax, dword [esp + 0x14]
sar ecx, 4
cmp eax, ecx
jae 0x468e46
xor ebx, ebx
mov edx, dword [esi + 0x90]
mov eax, dword [esp + 0x10]
add eax, edx
mov ecx, dword [eax + 4]
cmp ecx, ebp
je 0x468e2d
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
cmp ebx, edx
jae 0x468e2d
mov eax, ecx
mov ecx, esi
mov edi, dword [eax + ebx*4]
push edi
call fcn.00469f80
mov ebp, eax
test ebp, ebp
je 0x468e25
push ebp
mov ecx, esi
call fcn.0046b400
test eax, eax
je 0x468e25
mov edx, dword [esi + 0x74]
cmp edi, edx
je 0x468e25
mov eax, dword [esp + 0x10]
xor ecx, ecx
test ebx, ebx
sete cl
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x90]
add eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x468de6
xor eax, eax
jmp 0x468dee
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
dec eax
xor ecx, ecx
cmp ebx, eax
lea eax, [edi + 1]
sete cl
mov dword [esp + 0x28], ecx
xor ecx, ecx
cmp eax, edx
sete cl
dec edi
mov dword [esp + 0x30], ecx
xor eax, eax
cmp edi, edx
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x18]
sete al
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x3c], eax
call fcn.0046bda0
inc ebx
xor ebp, ebp
jmp 0x468d77
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ecx
add eax, 0x10
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp 0x468d50
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
call fcn.0046a290
test eax, eax
pop ebx
je 0x468ecd
mov ecx, dword [esi + 0x74]
push ecx
mov ecx, esi
call fcn.00469f80
mov edi, eax
cmp edi, ebp
je 0x468ecd
push edi
mov ecx, esi
call fcn.0046b400
test eax, eax
je 0x468ecd
mov eax, 1
lea edx, [esi + 0x1f8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], edx
call fcn.0046a4d0
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x20], eax
push ecx
mov ecx, esi
call fcn.0046a540
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push eax
call fcn.0046bda0
pop edi
pop esi
pop ebp
add esp, 0x28
ret 4
Function at 0x471ac0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49b2a1
push eax
mov dword fs:[0], esp
sub esp, 0xec
push edi
mov edi, ecx
mov eax, dword [edi + 0x5c]
test eax, eax
jne 0x471afd
xor eax, eax
pop edi
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
add esp, 0xf8
ret
push esi
push 0x400
lea ecx, [esp + 0xc]
call fcn.00492852
push 0
push 0x1000
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x10c], 0
call fcn.00491b9a
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 1
push ecx
mov ecx, dword [edi + 0x5c]
call fcn.0046a890
lea ecx, [esp + 8]
call fcn.00492ac1
lea ecx, [esp + 0x30]
call fcn.00491cfe
mov edx, dword [esp + 8]
push 0
push 0
lea ecx, [esp + 0x10]
call dword [edx + 0x28]
push 0
push 0x1000
lea eax, [esp + 0x10]
push 1
push eax
lea ecx, [esp + 0x84]
call fcn.00491b9a
lea ecx, [esp + 0x74]
lea esi, [edi + 0x60]
push ecx
mov ecx, esi
mov byte [esp + 0x100], 2
call fcn.0046ad00
lea ecx, [esp + 0x74]
call fcn.00491cfe
lea ecx, [esp + 8]
call fcn.00492ac2
mov eax, dword [edi + 0x5c]
lea edx, [esp + 0xb8]
push edx
push 0x3c
mov eax, dword [eax + 0xc8]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea ecx, [esp + 0xb8]
push ecx
mov ecx, esi
call fcn.004684b0
mov edx, dword [edi + 0x5c]
push 0xffffffffffffffff
mov ecx, esi
mov eax, dword [edx + 0xdc]
mov dword [esi + 0xdc], eax
call fcn.0046a7a0
mov ecx, esi
call fcn.0046b340
mov eax, dword [edi + 0x5c]
push 0xffffffffffffffff
mov ecx, esi
mov eax, dword [eax + 0xe0]
mov dword [esi + 0xe0], eax
call fcn.0046a7a0
mov ecx, esi
call fcn.0046b340
mov ecx, dword [edi + 0x5c]
push 0xffffffffffffffff
mov eax, dword [ecx + 0xe4]
mov ecx, esi
mov dword [esi + 0xe4], eax
call fcn.0046a7a0
mov ecx, esi
call fcn.0046b340
mov ecx, dword [edi + 0x5c]
call fcn.00467c90
push eax
mov ecx, esi
call fcn.00467ca0
mov ecx, dword [edi + 0x5c]
call fcn.00468250
push eax
mov ecx, esi
call fcn.004681f0
mov ecx, dword [edi + 0x5c]
call fcn.00468370
push eax
mov ecx, esi
call fcn.00468320
mov ecx, dword [edi + 0x5c]
push 0
call fcn.00467570
push eax
mov ecx, esi
call fcn.00467580
mov edx, dword [edi + 0x7c]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x74]
mov byte [esp + 0xfc], 1
call fcn.00491c76
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 0
call fcn.00491c76
lea ecx, [esp + 8]
mov dword [esp + 0xfc], 0xffffffff
call fcn.004928db
mov ecx, dword [esp + 0xf4]
pop esi
mov eax, 1
pop edi
mov dword fs:[0], ecx
add esp, 0xf8
ret
Function at 0x473340
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x49b4c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], method.CMenu.virtual_0
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call fcn.00488c62
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.00488c62
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], method.CMenu.virtual_0
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.00473e60
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x473eb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49b5a0
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00494edc
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x473ee3
xor al, al
jmp 0x47400f
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x473f05
xor al, al
jmp 0x47400f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x473f18
xor al, al
jmp 0x47400f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x473f2c
xor al, al
jmp 0x47400f
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.00488d12
test eax, eax
jne 0x473f60
xor al, al
jmp 0x47400f
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x4aa72c
mov dword [esp + 0x20], ebp
call fcn.00494edc
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.0049184f
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.004918a6
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x473ff4
mov ax, word [ebx]
test ax, ax
je 0x473fe6
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.00474030
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x473fca
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.004918a6
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x474570
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.00492eff
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x4745b6
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.00479760
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x4c51b4
push ecx
call fcn.0047ac2b
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x475410
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 0x475476
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 0x475476
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x475457
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x476060
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 0x4760a9
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 0x476520
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49b810
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.004760d0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00476150
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00476150
lea ecx, [esi + 0xc]
call fcn.0048a96c
lea ecx, [esi + 0x10]
call fcn.0048a96c
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004776e0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004776e0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004776e0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0048a9e1
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0048a9e1
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x48ce12
Capabilities:
Get graphical window text

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

Function at 0x48e60d
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 0x48e64f
call fcn.00494edc
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48e64f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48e646
xor eax, eax
jmp 0x48e657
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048e65d
pop edi
pop esi
pop ebx
ret 4

Function at 0x4945cb
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 0x4945f9
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x494617
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00494531
jmp 0x494617
mov eax, dword [esi + 0x14]
test eax, eax
je 0x494617
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00494531
test edi, edi
mov eax, edi
jne 0x494601
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x41cc34
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi], 0
je 0x41cc4b
push 0xfffffffffffffffb
jmp 0x41cd4d
cmp dword [edi + 8], 1
je 0x41cc58
push 0xfffffffffffffffa
jmp 0x41cd4d
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x41cdb3
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x41cdb3
push 0x10
pop esi
cdq
mov ecx, esi
idiv ecx
test edx, edx
jne 0x41cd4b
mov eax, dword [ebp + 0xc]
cdq
idiv ecx
mov ecx, eax
mov eax, dword [edi + 4]
sub eax, 0
mov dword [ebp + 8], ecx
je 0x41cd50
dec eax
je 0x41cca0
or eax, 0xffffffff
jmp 0x41cdb5
lea eax, [edi + 0xc]
push esi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00420720
mov eax, dword [ebp + 8]
add esp, 0xc
dec eax
test eax, eax
jle 0x41cd05
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
push ebx
call fcn.0041cdbc
mov eax, dword [ebp - 0x20]
push esi
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.00420720
lea eax, [ebp - 0x10]
push esi
push eax
push dword [ebp + 0x10]
call fcn.00420720
add dword [ebp + 0x10], esi
add esp, 0x18
add ebx, esi
dec dword [ebp + 0xc]
jne 0x41ccbc
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
push ebx
call fcn.0041cdbc
mov eax, dword [ebp - 0x20]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
movzx edi, byte [ebp - 1]
test edi, edi
jle 0x41cd4b
cmp edi, esi
jg 0x41cd4b
mov ecx, esi
sub ecx, edi
mov eax, ecx
cmp eax, esi
jge 0x41cd99
movzx edx, byte [ebp + eax - 0x10]
cmp edx, edi
jne 0x41cd4b
inc eax
jmp 0x41cd3b
push 0xfffffffffffffff9
pop eax
jmp 0x41cdb5
lea eax, [ecx - 1]
test eax, eax
jle 0x41cd6f
mov dword [ebp + 0xc], eax
push dword [ebp + 0x10]
mov ecx, edi
push ebx
call fcn.0041cdbc
add dword [ebp + 0x10], esi
add ebx, esi
dec dword [ebp + 0xc]
jne 0x41cd5a
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
push ebx
call fcn.0041cdbc
movzx edi, byte [ebp - 1]
cmp edi, esi
jge 0x41cd4b
mov ecx, esi
sub ecx, edi
mov eax, ecx
cmp eax, esi
jge 0x41cd99
movzx edx, byte [ebp + eax - 0x10]
cmp edx, edi
jne 0x41cd4b
inc eax
jmp 0x41cd89
lea eax, [ebp - 0x10]
push ecx
push eax
push dword [ebp + 0x10]
call fcn.00420720
mov eax, dword [ebp + 8]
add esp, 0xc
shl eax, 4
sub eax, edi
jmp 0x41cdb5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x41d376
Capabilities:
Encode data using xor

Disassembly:
push 1
pop edx
cmp dword [ecx + 0x1c], edx
jbe 0x41d451
push esi
push edi
lea eax, [ecx + 0x32]
movzx esi, byte [eax + 1]
movzx edi, byte [eax - 1]
mov esi, dword [esi*4 + 0x410e30]
xor esi, dword [edi*4 + 0x410630]
movzx edi, byte [eax]
add eax, 0x10
xor esi, dword [edi*4 + 0x410a30]
movzx edi, byte [eax - 0x12]
xor esi, dword [edi*4 + 0x410230]
mov dword [eax - 0x12], esi
movzx esi, byte [eax - 0xb]
movzx edi, byte [eax - 0xc]
mov esi, dword [esi*4 + 0x410e30]
xor esi, dword [edi*4 + 0x410a30]
movzx edi, byte [eax - 0xd]
xor esi, dword [edi*4 + 0x410630]
movzx edi, byte [eax - 0xe]
xor esi, dword [edi*4 + 0x410230]
mov dword [eax - 0xe], esi
movzx esi, byte [eax - 7]
movzx edi, byte [eax - 8]
mov esi, dword [esi*4 + 0x410e30]
xor esi, dword [edi*4 + 0x410a30]
movzx edi, byte [eax - 9]
xor esi, dword [edi*4 + 0x410630]
movzx edi, byte [eax - 0xa]
xor esi, dword [edi*4 + 0x410230]
mov dword [eax - 0xa], esi
movzx esi, byte [eax - 3]
movzx edi, byte [eax - 4]
mov esi, dword [esi*4 + 0x410e30]
xor esi, dword [edi*4 + 0x410a30]
movzx edi, byte [eax - 5]
xor esi, dword [edi*4 + 0x410630]
movzx edi, byte [eax - 6]
xor esi, dword [edi*4 + 0x410230]
inc edx
mov dword [eax - 6], esi
cmp edx, dword [ecx + 0x1c]
jb 0x41d387
pop edi
pop esi
ret
Function at 0x613f90
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg cx, ax
inc al
push word [esp + 1]
xchg byte [esp + 2], cl
stc
mov byte [esp + 1], ah
jmp 0x613e71
setp bh
mov ecx, 0x56742502
neg esi
rdtsc
pop word [esp]
push word [esp + 2]
jmp 0x613e05
pop edi
xchg edi, esi
mov byte [esp + 3], ch
bsf si, ax
mov ebx, dword [esp]
xchg word [esp + 1], bp
jmp 0x613e25
lea edi, [edi*4]
xchg dx, di
mov bp, word [esp + 1]
not dx
jmp 0x613f32
xchg cx, bp
mov cl, ch
lea ebp, [ebp + 0x37]
mov si, 0xa32b
mov dl, 0xcc
jmp 0x613e57
pop word [esp + 3]
add esp, 1
lea eax, [esp + esi]
rdtsc
mov cl, 0xda
push word [esp + 4]
jmp 0x613e42
mov edx, 0x5ee4533e
mov cx, word [esp + 4]
cpuid
mov si, word [esp + 4]
jmp 0x613e8a

Function at 0x613fde
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 0x41]
jmp 0x61402b
lea eax, [edx + esi]
pushal
pop word [esp + 0x1b]
mov eax, dword [esp + 0xf]

Function at 0x61426d
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop edx
mov ebx, dword [esp + 3]
ror ebp, 9
not ch
bswap esi
push dword [esp]
jmp 0x61427e
xchg ch, dl
mov dl, 0x24
neg edi
mov bx, dx
mov edx, dword [esp + 5]
rdtsc
jmp 0x61422c
xchg esi, ebp
add esp, 0x19
mov word [esp + 2], dx
ror esi, 7
mov bl, bh
jmp 0x61424e
mov cl, 0xa
xchg byte [esp + 4], bl
mov word [esp + 2], dx
pop dword [esp]
mov dh, byte [esp + 3]
mov byte [esp + 2], ah
jmp 0x614f0b
lea edx, [esp + edi]
btr ebp, esp
bswap edx
mov ebp, 0x33cd5958
add esp, 0
mov ecx, ebp
jmp 0x614301
pushal
lea esp, [esp + 0x37]
mov dl, dh
clc
xchg byte [esp], cl
bsr ax, bp
jmp 0x6142b1
lea esp, [esp]
lea ebx, [ecx - 0x52e68655]
add esp, 0
mov bl, bh
setl ch
not ax
jmp 0x614850
xchg ecx, eax
mov bl, 0xe8
xchg bp, si
mov dl, dh
lea esi, [eax + edi]
mov al, 0x16
jmp 0x6142e1
mov esi, dword [esp]
lea ebx, [ecx*4]
btc ebp, edi
bswap esi
sub esp, 0x1a
pop cx
jmp 0x6142d0
mov word [esp + 4], dx
call fcn.0061435b
xchg ebx, eax
mov al, ah
xchg bx, ax
sub esp, 0xe
stc
pop word [esp + 4]
jmp 0x6143f7
neg ah
push dword [esp + 9]
mov dl, dh
mov eax, 0x2888de10
not edi
jmp 0x61453c
rdtsc
lea esp, [esp + 0x16]
mov byte [esp + 7], dh
pop word [esp]
mov cl, ch
mov eax, 0xc119a3de
jmp 0x6143bc
lea eax, [ebp*4]
lea edi, [esi + 0x25]
pop ecx
call fcn.006144b3
into
dec esp
ret 0x54a5
mov ebp, 0xd2a46534
mov si, sp
mov dx, 0xdb55
mov byte [esp + 9], dh
add esp, 1
jmp 0x614450
pop dword [esp + 1]
mov ebx, ebp
mov dl, dh
rcl bx, cl
mov byte [esp + 0x13], ch
sub bl, ah
jmp 0x61446a
ror esi, 0x19
btr esi, edx
cmc
btr ecx, esp
neg dx
push dword [esp + 0x14]
jmp 0x614483
ror ebp, 0x19
lea edx, [ebp*4]
btr ebx, edx
neg ebx
pop dx
inc dx
jmp 0x6144d8
rol cx, cl
mov byte [esp], ah
mov esi, dword [esp]
inc si
inc al
pushal
jmp 0x614436
pop edx
not ah
bsr bx, cx
mov ebx, ebp
ror ebp, 3
inc bx
jmp 0x61431d
Function at 0x61468b
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 3]
jmp 0x6147e0
mov ax, 0xc3b9
bsf dx, si
mov byte [esp + 0xd], bh
mov edx, ebp
jmp 0x61472e
mov ebx, esi
cmc
xchg byte [esp + 8], al
mov dword [esp + 6], ecx
pop word [esp + 2]
jmp 0x6147a3
pop ebx
mov word [esp + 1], dx
xchg dword [esp + 3], ebx
push dword [esp]
pop bp
setg ah
jmp 0x6146fc
shr ebx, 0xb
not ah
push dword [esp + 4]
pop ax
pop dword [esp + 2]
mov al, 0x56
jmp 0x614712
xchg dh, al
xchg dword [esp + 6], edx
rdtsc
mov byte [esp + 0x12], ah
btr ecx, esp
cld
jmp 0x6147b8
xchg byte [esp + 4], dl
not esi
xchg byte [esp + 3], dl
push dword [esp]
sub esp, 0xa
bswap edi
jmp 0x614741
xchg cx, dx
mov word [esp + 2], sp
cpuid
mov ax, word [esp + 2]
not bp
mov byte [esp + 3], bh
jmp 0x61475f
lea esp, [esp + 1]
xchg byte [esp + 6], cl
neg bh
mov bx, sp
cld
pop word [esp + 1]
jmp 0x61477a
xchg dword [esp + 4], edi
xchg bh, cl
sub esp, 0x1a
lea ebx, [esp + edx]
xchg ah, bl
lea ebx, [ecx*4]
jmp 0x614831
mov dl, 0xbc
mov bh, byte [esp + 7]
neg ebx
mov byte [esp + 7], ch
xchg dword [esp + 3], edi
xchg ch, dl
jmp 0x614694
lea esp, [esp + 0x15]
pop edi
lea esp, [esp + 4]
bsf bx, si
mov ebx, eax
mov cl, 0xea
jmp 0x614ede
xchg byte [esp + 0xc], bl
pop word [esp + 0x17]
mov ecx, dword [esp + 0x2b]
mov dword [esp + 0x13], eax
jmp 0x6147f7
mov dx, word [esp + 0x1a]
setno dh
inc dx
mov bp, word [esp + 0xe]
mov edx, esi
xchg dh, al
jmp 0x614818
neg esi
not ah
xchg dword [esp + 4], eax
mov byte [esp + 7], ch
call fcn.00614883
invalid
pop dx
push edx
lea ecx, [eax + 0xf9]
push word [esp + 3]
cpuid
rdtsc
jmp 0x6148a6
lea eax, [edx*4]
pop word [esp + 2]
not bh
mov ebx, 0x40e15844
cld
lea ebp, [ecx*4]
jmp 0x6148be

Function at 0x616df2
Capabilities:
Parse pe header

Disassembly:
call 0x61501c
jmp 0x616fd3
mov byte [esp + 4], bh
pop word [esp + 9]
push word [esp + 9]
lea esp, [esp + 2]
mov dword [esp + 0x74], edi
jmp 0x616e1e
jmp 0x616dd6
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x616e02
mov eax, dword [eax + 8]
push eax
jmp 0x615017
lea esp, [esp + 0x74]
mov eax, dword fs:[0x30]
jmp 0x616df4
pop eax
xor ax, ax
Function at 0x490aec
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00490c9c
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 0x490bea
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 0x490b8d
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x490bd0
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x490ba4
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x490bbf
test al, 0x40
je 0x490bb6
mov ecx, dword [edi + 0x20]
jmp 0x490bbd
test al, 0x80
je 0x490bd0
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x490bd0
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 0x490b5c
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret