joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42df39
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x451f40]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42df7f
cmp word [ebx], dx
jne 0x42df7f
or byte [eax + edi + 0x28], 4
jmp 0x42df84
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x42e0e7
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x42e0c7
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x42dfc5
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x42dffb
cmp eax, edx
jae 0x42e009
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x42dfa0
jmp 0x42e0e7
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42e0c2
cmp dword [ebp - 0x18], 0
je 0x42e0c2
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x451f40]
test byte [eax + edi + 0x28], 0x48
je 0x42e098
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x42e05c
mov word [esi], cx
jmp 0x42e093
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x451f40]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x451f40]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x451f40]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x42e0e7
pop eax
cmp word [ebp - 4], ax
jne 0x42e0a8
cmp esi, ebx
jne 0x42e0a8
mov word [esi], ax
jmp 0x42e0e4
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0042e972
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x42e0e7
push 0xd
pop eax
jmp 0x42e0a3
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x451f40]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x42e0e1
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x42e0e7
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x431891
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x43192e
push ebx
push esi
call fcn.0043185a
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0042a341
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4318db
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x43192d
push edi
push eax
call fcn.0042a263
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4318fb
call fcn.00428678
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x43192c
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0042a341
add esp, 0x20
test eax, eax
jne 0x43191a
push edi
call fcn.00428678
jmp 0x431922
push ebx
call fcn.00428678
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x43410b
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00428330
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x43417a
cmp esi, dword [ebp - 4]
je 0x434175
cmp dword [ebp + 0xc], 0
je 0x434175
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x434152
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00433c5d
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x43417c
xor eax, eax
inc eax
jmp 0x43417c
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x4341e1
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x450020]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00428330
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00428330
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x434258
cmp word [ecx], dx
je 0x434258
mov eax, dword [0x442444]
push edi
dec eax
push eax
push 0x442330
call fcn.00434180
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4342cb
cmp word [eax], dx
je 0x4342cb
mov eax, dword [edi]
test eax, eax
je 0x43427c
cmp word [eax], dx
je 0x43427c
lea eax, [ebp - 0x10]
push eax
call fcn.00433b63
jmp 0x434285
lea eax, [ebp - 0x10]
push eax
call fcn.00433bfe
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x4342f5
mov eax, dword [0x44232c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x442020
call fcn.00434180
add esp, 0xc
test al, al
je 0x4342f5
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4342c0
cmp word [eax], di
je 0x4342c0
lea eax, [ebp - 0x10]
push eax
call fcn.00433b63
pop ecx
jmp 0x4342f7
lea eax, [ebp - 0x10]
push eax
call fcn.00433bfe
jmp 0x4342bd
mov eax, dword [edi]
test eax, eax
je 0x4342e2
cmp word [eax], dx
je 0x4342e2
lea eax, [ebp - 0x10]
push eax
call fcn.00433b18
pop ecx
jmp 0x4342f5
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x4343c0
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00434005
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4343c0
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x4343c0
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4343c0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x43434d
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00428d29
test ebx, ebx
je 0x4343bb
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00428d29
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4343c0
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4343c0
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00437e16
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4343c2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00415fe8
leave
ret
Function at 0x438bb0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x438bdd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x438bdd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4030c0
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
cmp dword [0xc28080], 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 0x4030f9
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov ecx, dword [0x808ef8]
mov ebx, dword [0x808efc]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
mov dword [ebp - 0x20], 0x9e3779b9
mov dword [ebp - 0x28], ecx
call fcn.004030b0
mov edx, dword [0x808f00]
mov eax, dword [0x808f04]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], eax
mov edi, 0x20
jmp 0x403140
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov ecx, dword [0xc28080]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x4031a8
push 0
lea ecx, [ebp - 0x42c]
push ecx
push 0x402590
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_TerminateJobObject]
mov eax, dword [ebp - 4]
mov ecx, dword [0xc28080]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x4031c2
mov dword [0xc2761c], 0xedeb2e40
jmp 0x4031d4
cmp ecx, 0x3eb
jne 0x4031d4
mov dword [0xc26fd0], 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 [0xc27618], 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 [0xc28080], 0xc
jne 0x403232
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 0x403140
cmp dword [0xc28080], 0xa6d
mov edi, dword [ebp + 8]
mov dword [edi], esi
jne 0x403299
push 0
push 0x4025c4
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 0x4032b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0xc28080]
mov ecx, dword [0xc26fd4]
shr eax, 3
sub esp, 0x408
test eax, eax
jbe 0x40338a
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 [0xc28080], 0x959
jne 0x403370
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_CreateFileMappingW]
push 0x4025f8
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.004030c0
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x4032f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403680
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x806a58
push eax
mov dword fs:[0], esp
sub esp, 0x448
push esi
push edi
mov edi, dword [sym.imp.GDI32.dll_SetDeviceGammaRamp]
xor esi, esi
cmp esi, 0x2710
jge 0x4036bb
lea eax, [ebp - 0x454]
push eax
push 0
call edi
inc esi
cmp esi, 0x1ff49ccc
jl 0x4036a8
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
mov ebx, dword [ebp - 0x10]
xor esi, esi
call edi
cmp esi, 0x2b259d
jle 0x4036e2
cmp ebx, 0x785074d5
jne 0x4036eb
inc esi
cmp esi, 0x1c1b
jl 0x4036d0
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
lea esp, [esp]
push 0
call edi
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp esi, 0x206d47
jg 0x40371d
inc esi
cmp esi, 0x4f6a4
jl 0x403700
cmp dword [0xc28080], 0x400
jne 0x403757
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
lea eax, [ebp - 0x30]
call fcn.004037f0
push 0
mov dword [ebp - 4], 0
call fcn.00403b24
add esp, 4
lea esi, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.00403810
mov ecx, dword [0x80913c]
mov edx, dword [0x809110]
mov dword [0xc28080], ecx
mov dword [0xc28084], edx
call fcn.004033b0
mov ebx, dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
nop
push 0
call edi
cmp esi, 0x2b259d
jle 0x403794
cmp ebx, 0x785074d5
jne 0x40379d
inc esi
cmp esi, 0x11915
jl 0x403780
mov esi, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov edi, 0x3078f
pop ebx
lea esp, [esp]
cmp dword [0xc28080], 0x51f
jne 0x4037c2
lea eax, [ebp - 0x54]
push eax
call esi
sub edi, 1
jne 0x4037b0
mov eax, dword [0xc26fd4]
mov dword [0xc27614], eax
call eax
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x404490
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x8080c8]
jne 0x40449a
repz ret
jmp fcn.00406bfe
Function at 0x40681f
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.00404511
and dword [ebp - 4], 0
cmp dword [0x809a10], 0
mov ebx, eax
jne 0x4068d0
push 0x4019c8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406981
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4019bc
push edi
call esi
test eax, eax
je 0x406981
push eax
call fcn.0040449f
mov dword [esp], 0x4019ac
push edi
mov dword [0x809a10], eax
call esi
push eax
call fcn.0040449f
mov dword [esp], 0x401998
push edi
mov dword [0x809a14], eax
call esi
push eax
call fcn.0040449f
mov dword [esp], 0x40197c
push edi
mov dword [0x809a18], eax
call esi
push eax
call fcn.0040449f
pop ecx
mov dword [0x809a20], eax
test eax, eax
je 0x4068d0
push 0x401964
push edi
call esi
push eax
call fcn.0040449f
pop ecx
mov dword [0x809a1c], eax
mov eax, dword [0x809a1c]
cmp eax, ebx
je 0x406928
cmp dword [0x809a20], ebx
je 0x406928
push eax
call fcn.0040451a
push dword [0x809a20]
mov esi, eax
call fcn.0040451a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406928
test edi, edi
je 0x406928
call esi
test eax, eax
je 0x40691f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40691f
test byte [ebp - 0xc], 1
jne 0x406928
or dword [ebp + 0x10], 0x200000
jmp 0x406961
mov eax, dword [0x809a14]
cmp eax, ebx
je 0x406961
push eax
call fcn.0040451a
pop ecx
test eax, eax
je 0x406961
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406961
mov eax, dword [0x809a18]
cmp eax, ebx
je 0x406961
push eax
call fcn.0040451a
pop ecx
test eax, eax
je 0x406961
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x809a10]
call fcn.0040451a
pop ecx
test eax, eax
je 0x406981
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406983
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ed0
nop
mov ecx, 0x6cb55a5c
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x5ed9564b
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4031a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0xc45658]
mov ecx, dword [0xc445a8]
sub esp, 0x400
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x403243
push ebx
push edi
mov edi, ecx
mov ebx, eax
cmp dword [0xc45658], 0x959
jne 0x403235
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.00403001
add edi, 8
dec ebx
jne 0x4031c8
pop edi
pop ebx
pop esi
leave
ret
Function at 0x40415c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x825168]
jne 0x404166
repz ret
jmp fcn.00407f1c

Function at 0x40965c
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.004067ce
and dword [ebp - 4], 0
cmp dword [0x827310], 0
mov ebx, eax
jne 0x40970d
push 0x40248c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4097be
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402480
push edi
call esi
test eax, eax
je 0x4097be
push eax
call fcn.0040675c
mov dword [esp], 0x402470
push edi
mov dword [0x827310], eax
call esi
push eax
call fcn.0040675c
mov dword [esp], 0x40245c
push edi
mov dword [0x827314], eax
call esi
push eax
call fcn.0040675c
mov dword [esp], 0x402440
push edi
mov dword [0x827318], eax
call esi
push eax
call fcn.0040675c
pop ecx
mov dword [0x827320], eax
test eax, eax
je 0x40970d
push 0x402428
push edi
call esi
push eax
call fcn.0040675c
pop ecx
mov dword [0x82731c], eax
mov eax, dword [0x82731c]
cmp eax, ebx
je 0x409765
cmp dword [0x827320], ebx
je 0x409765
push eax
call fcn.004067d7
push dword [0x827320]
mov esi, eax
call fcn.004067d7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409765
test edi, edi
je 0x409765
call esi
test eax, eax
je 0x40975c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40975c
test byte [ebp - 0xc], 1
jne 0x409765
or dword [ebp + 0x10], 0x200000
jmp 0x40979e
mov eax, dword [0x827314]
cmp eax, ebx
je 0x40979e
push eax
call fcn.004067d7
pop ecx
test eax, eax
je 0x40979e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40979e
mov eax, dword [0x827318]
cmp eax, ebx
je 0x40979e
push eax
call fcn.004067d7
pop ecx
test eax, eax
je 0x40979e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x827310]
call fcn.004067d7
pop ecx
test eax, eax
je 0x4097be
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4097c0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6a
nop
sub eax, 0x403d10
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x6f460005
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e3d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0xfb4266a
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40701c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x407028
push 0x407024
push 0x407020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x407028]
push dword [0x407024]
push dword [0x407020]
mov dword [0x407014], esp
call fcn.004014df
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret