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

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x64638eba
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x64638e61
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x64638e70
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x64a3eb13
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x64638ec1
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.6461fd37
cmp eax, dword [ebp + 0xc]
pop eax
je 0x64638f60
add edi, 4
add eax, 2
dec ecx
jne 0x64638ea6
call 0x64638f0d
loope 0x64638f03
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x64638f5d
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x64638f6e
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x64638f21
cmp eax, ecx
ja 0x64638f21
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x64638fab
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x64638fa1
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.64620216
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..rsrc
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x3d493529
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x431060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4310d2
nop
mov ebx, 0x42f3f8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x75412701
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401630
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push 0
push eax
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.Best_Application
push str.Clariot
push 0
mov dword [0x4150d0], eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
jne 0x401677
pop esi
pop ebp
ret
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
pop esi
pop ebp
ret
Function at 0x404325
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push str.FlsGetValue
push 0x40e09c
push str.FlsGetValue
push 2
call fcn.00405f32
add esp, 0x10
push dword [ebp + 8]
test eax, eax
je 0x40434c
call eax
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop ebp
ret

Function at 0x404947
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push str.FlsGetValue
push 0x40e09c
push str.FlsSetValue
push 3
call fcn.00405f32
add esp, 0x10
push dword [ebp + 0xc]
push dword [ebp + 8]
test eax, eax
je 0x404971
call eax
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop ebp
ret

Function at 0x406027
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push str.FlsGetValue
push 0x40e09c
push str.FlsAlloc
push 0
call fcn.00405f32
add esp, 0x10
test eax, eax
je 0x40604e
push dword [ebp + 8]
call eax
pop ebp
ret
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x406809
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
mov eax, dword [0x415f14]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0xfffffffffffffff4
call fcn.00404221
mov esi, eax
pop ecx
test esi, esi
je 0x406875
cmp esi, 0xffffffff
je 0x406875
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1f8]
mov al, byte [edx]
mov byte [ecx], al
inc ecx
lea eax, [ebp - 4]
cmp ecx, eax
je 0x406850
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x406839
xor eax, eax
push eax
mov byte [ebp - 5], al
mov dword [ebp - 0x1fc], eax
lea eax, [ebp - 0x1fc]
push eax
lea eax, [ebp - 0x1f8]
sub ecx, eax
dec ecx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040518a
mov esp, ebp
pop ebp
ret

Function at 0x406cc3
Capabilities:
Parse pe header

Disassembly:
call fcn.00407996
test al, al
jne 0x406ccf
xor al, al
ret
push 0
call fcn.004022a6
pop ecx
mov ecx, eax
test ecx, ecx
je 0x406ccc
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x406ccc
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x406ccc
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x406ccc
cmp dword [eax + 0x74], 0xe
jbe 0x406ccc
cmp dword [eax + 0xe8], 0
setne al
ret
Function at 0x40770f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
call fcn.00407987
test al, al
jne 0x407724
xor eax, eax
jmp 0x40784b
push ebx
xor ecx, ecx
mov ebx, 0x417dec
xor eax, eax
lock cmpxchg dword [ebx], ecx
test eax, eax
jne 0x407848
push esi
push edi
push 0x800
push eax
mov edi, 0x40f040
push edi
call fcn.0040246e
mov esi, eax
add esp, 0xc
mov dword [ebp - 4], esi
test esi, esi
jne 0x407787
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x407839
push esi
push esi
push edi
call fcn.0040246e
add esp, 0xc
lea ecx, [ebp - 4]
push eax
call fcn.004032ca
mov esi, dword [ebp - 4]
test esi, esi
je 0x407839
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push esi
call edi
mov dword [ebp - 4], eax
test eax, eax
je 0x407839
push str.MessageBoxW
push esi
call edi
mov dword [ebp - 8], eax
test eax, eax
je 0x407839
push dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_EncodePointer]
call edi
mov ecx, 0x417df0
xchg dword [ecx], eax
push dword [ebp - 8]
call edi
mov ecx, 0x417df4
xchg dword [ecx], eax
push str.GetActiveWindow
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov ecx, 0x417df8
xchg dword [ecx], eax
push str.GetLastActivePopup
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov ecx, 0x417dfc
xchg dword [ecx], eax
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov ecx, 0x417e00
xchg dword [ecx], eax
push str.GetUserObjectInformationW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov ecx, 0x417e04
xchg dword [ecx], eax
mov ecx, esi
xor eax, eax
lock cmpxchg dword [ebx], ecx
neg eax
sbb eax, eax
and esi, eax
jmp 0x40783b
xor ebx, ebx
test esi, esi
je 0x407846
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x407919
Capabilities:
Create thread
Print debug messages

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004075ca
Function at 0x401750
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ebx, dword [ebp + 8]
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
mov dh, 0x83
rol dword [eax + 2], 0x74
sal byte [ebp - 0x7d], cl
push ecx
call dword [sym.imp.MSVCRT.dll_fprintf]
mov eax, dword [0x4102ac]
add dh, byte [edx + edx*8 + 0x75]
adc dword [ecx - 1], 0x15
add cl, 0x40
add byte [ecx + 0x4102ac], ah
add esp, 0xc
test eax, eax
je 0x401760
push eax
push 0x404d54
call dword [0x40d552]
and ecx, 8
push 1
call dword [sym.imp.MSVCRT.dll_exit]
nop
push ebp
mov ebp, esp
cmp dword [edx], 0x4400b8
mov eax, dword [0x410278]
test eax, eax
mov eax, dword [0x414073]
je 0x4017bb
push 0x90913740

Function at 0x40add0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
nop
nop
nop
nop
push ebp
mov ebp, esp
mov eax, dword [edi]
adc byte [ebx + 0x4d], cl
or al, 0x83
clc
jne fcn.0040ae50
adc bh, bh
test byte [ebp - 0x3f], bh
inc eax
add bh, al
add byte [eax + eax], bl
add byte [eax], al
cld
rcr byte [ebp + 0x56], 0x53
push esi
mov esi, dword [ebp + 8]
push edi
adc eax, 4
mov al, byte [esi]
sar byte [ebx], 0x88
inc ebp
adc byte [esi - 0x12], dh
mov eax, dword [ebp + 0x39]
mov ebx, 0x5c000064
and eax, 0xff
idiv ebx
add al, 0xa5
mov byte [ebx - 0x2b], cl
mov byte [ecx], al
inc ecx
jmp 0x40ae21
mov eax, dword [ebp + 0x10]
jb 0x40ae30
add byte [eax], al
add byte [0x1a0700ff], ah
cdq
idiv ebx
sti
add al, 0x30
mov byte [ecx], al
inc ecx
mov al, dl
add al, 0x30
mov byte [ecx], al
inc ecx
inc byte [ecx]
out 0xfa, al
jne 0x40adcc
mov eax, dword [ebp - 0xc]
pop edi
mov esi, es
inc ecx
call [ebx + ebx*2 + 0x5d]
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x40324e
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0xc2a658]
mov ecx, dword [0xc295a8]
sub esp, 0x400
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x4032f1
push ebx
push edi
mov edi, ecx
mov ebx, eax
cmp dword [0xc2a658], 0x959
jne 0x4032e3
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SleepEx]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
lea eax, [ebp - 0x400]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
call dword [sym.imp.KERNEL32.dll_HeapLock]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push edi
call fcn.004030a1
add edi, 8
dec ebx
jne 0x403276
pop edi
pop ebx
pop esi
leave
ret
Function at 0x40420c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80a168]
jne 0x404216
repz ret
jmp fcn.00407fcc

Function at 0x40970c
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.0040687e
and dword [ebp - 4], 0
cmp dword [0x80c310], 0
mov ebx, eax
jne HeapSize
push 0x40248c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40986e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push HeapAlloc
push edi
call esi
test eax, eax
je 0x40986e
push eax
call fcn.0040680c
mov dword [esp], 0x402470
push edi
mov dword [0x80c310], eax
call esi
push eax
call fcn.0040680c
mov dword [esp], 0x40245c
push edi
mov dword [0x80c314], eax
call esi
push eax
call fcn.0040680c
mov dword [esp], 0x402440
push edi
mov dword [0x80c318], eax
call esi
push eax
call fcn.0040680c
pop ecx
mov dword [0x80c320], eax
test eax, eax
je GetCurrentThreadId
push 0x402428
push edi
call esi
push eax
call fcn.0040680c
pop ecx
mov dword [0x80c31c], eax
mov eax, dword [0x80c31c]
cmp eax, ebx
je 0x409815
cmp dword [0x80c320], ebx
je 0x409815
push eax
call fcn.00406887
push dword [0x80c320]
mov esi, eax
call fcn.00406887
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409815
test edi, edi
je 0x409815
call esi
test eax, eax
je 0x40980c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40980c
test byte [ebp - 0xc], 1
jne 0x409815
or dword [ebp + 0x10], 0x200000
jmp reloc.KERNEL32.dll_GetEnvironmentStringsW
mov eax, dword [0x80c314]
cmp eax, ebx
je reloc.KERNEL32.dll_GetEnvironmentStringsW
push eax
call fcn.00406887
pop ecx
test eax, eax
je reloc.KERNEL32.dll_GetEnvironmentStringsW
call eax
mov dword [ebp - 4], eax
test eax, eax
je reloc.KERNEL32.dll_GetEnvironmentStringsW
mov eax, dword [0x80c318]
cmp eax, ebx
je reloc.KERNEL32.dll_GetEnvironmentStringsW
push eax
call fcn.00406887
pop ecx
test eax, eax
je reloc.KERNEL32.dll_GetEnvironmentStringsW
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [GetEnvironmentStringsW]
call fcn.00406887
pop ecx
test eax, eax
je 0x40986e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409870
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..rsrc
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x7a5d0939
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x432060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0xfd82267
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x403160
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
cmp dword [0x8fb080], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
push edi
mov dword [ebp - 0xc], eax
jne 0x403199
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov ecx, dword [0x4dbef8]
mov ebx, dword [0x4dbefc]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
mov dword [ebp - 0x20], 0x9e3779b9
mov dword [ebp - 0x28], ecx
call fcn.00403150
mov edx, dword [0x4dbf00]
mov eax, dword [0x4dbf04]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], eax
mov edi, 0x20
jmp 0x4031e0
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov ecx, dword [0x8fb080]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x403248
push 0
lea ecx, [ebp - 0x42c]
push ecx
push 0x4025c0
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
xor eax, eax
xor edx, edx
mov word [ebp - 0x18], dx
mov word [ebp - 0x16], ax
mov ecx, dword [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
mov eax, dword [ebp - 4]
mov ecx, dword [0x8fb080]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x403262
mov dword [0x8fa61c], 0xedeb2e40
jmp 0x403274
cmp ecx, 0x3eb
jne 0x403274
mov dword [0x8f9fd0], 0
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add edx, esi
mov dword [ebp - 0x14], edx
mov edx, esi
shr edx, cl
mov dword [0x8fa618], 0xf4ea3dee
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
cmp dword [0x8fb080], 0xc
jne 0x4032d2
lea eax, [ebp - 0x14]
push eax
push 0
push 0
lea ecx, [ebp - 0x2c]
push ecx
push 0
push 0
push 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_BackupRead]
mov edx, dword [ebp - 0xc]
shl edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax]
mov ecx, dword [ebp - 0x10]
shr eax, cl
mov ecx, dword [ebp - 4]
add eax, ebx
xor eax, edx
xor ecx, eax
mov dword [ebp - 4], ecx
sub esi, ecx
mov eax, dword [ebp - 0x20]
sub dword [ebp - 8], eax
sub edi, 1
jne 0x4031e0
cmp dword [0x8fb080], 0xa6d
mov edi, dword [ebp + 8]
mov dword [edi], esi
jne 0x403339
push 0
push 0x4025f4
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov edx, dword [ebp - 0xc]
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0xc]
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x403350
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x8fb080]
mov ecx, dword [0x8f9fd4]
shr eax, 3
sub esp, 0x408
test eax, eax
jbe 0x40342a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
lea ebx, [ebx]
cmp dword [0x8fb080], 0x959
jne 0x403410
push 0
call esi
push 0
push 0
call edi
push 0
push 0
push 0
call ebx
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0x402628
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push 0
lea eax, [ebp - 0x408]
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0
call dword [sym.imp.KERNEL32.dll_HeapLock]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 4]
push ecx
call fcn.00403160
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x403390
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4045b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4db0c8]
jne 0x4045ba
repz ret
jmp fcn.00406d1e

Function at 0x40693f
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.00404631
and dword [ebp - 4], 0
cmp dword [0x4dca10], 0
mov ebx, eax
jne 0x4069f0
push 0x4019f8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406aa1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4019ec
push edi
call esi
test eax, eax
je 0x406aa1
push eax
call fcn.004045bf
mov dword [esp], 0x4019dc
push edi
mov dword [0x4dca10], eax
call esi
push eax
call fcn.004045bf
mov dword [esp], 0x4019c8
push edi
mov dword [0x4dca14], eax
call esi
push eax
call fcn.004045bf
mov dword [esp], 0x4019ac
push edi
mov dword [0x4dca18], eax
call esi
push eax
call fcn.004045bf
pop ecx
mov dword [0x4dca20], eax
test eax, eax
je 0x4069f0
push 0x401994
push edi
call esi
push eax
call fcn.004045bf
pop ecx
mov dword [0x4dca1c], eax
mov eax, dword [0x4dca1c]
cmp eax, ebx
je 0x406a48
cmp dword [0x4dca20], ebx
je 0x406a48
push eax
call fcn.0040463a
push dword [0x4dca20]
mov esi, eax
call fcn.0040463a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406a48
test edi, edi
je 0x406a48
call esi
test eax, eax
je 0x406a3f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406a3f
test byte [ebp - 0xc], 1
jne 0x406a48
or dword [ebp + 0x10], 0x200000
jmp 0x406a81
mov eax, dword [0x4dca14]
cmp eax, ebx
je 0x406a81
push eax
call fcn.0040463a
pop ecx
test eax, eax
je 0x406a81
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406a81
mov eax, dword [0x4dca18]
cmp eax, ebx
je 0x406a81
push eax
call fcn.0040463a
pop ecx
test eax, eax
je 0x406a81
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4dca10]
call fcn.0040463a
pop ecx
test eax, eax
je 0x406aa1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406aa3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x571d0f05
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x2ca06955
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219