joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5012cc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esp
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [esp + 0x2c], 1
je 0x5012e5
movzx esi, word [esp + 0x30]
xor eax, eax
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x4c], 0x30
call fcn.005012c4
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x44], 0x501134
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], str.Jungo
mov dword [ebp - 0x20], eax
call fcn.005012b7
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test eax, eax
je 0x5013b0
mov eax, 0x80000000
push edi
push dword [ebp - 0x38]
push edi
push edi
push eax
push eax
push eax
push eax
push 0
push str.180000
push str.Jungo
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x503758], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x503758]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push edi
push edi
push edi
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
je 0x5013b0
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call ebx
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jne 0x501395
mov esp, ebp
pop ebp
ret
Function at 0x413244
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x15c
xor ebx, ebx
mov edx, dword [esp + 0x174]
mov eax, dword [edx + ebx*4]
mov dword [esp + ebx*4 + 0x1c], eax
inc ebx
cmp ebx, 0xf
jle 0x413257
mov ebx, 0x10
mov eax, dword [esp + ebx*4 - 4]
xor eax, dword [esp + ebx*4 + 0x10]
xor eax, dword [esp + ebx*4 - 0x1c]
xor eax, dword [esp + ebx*4 - 0x24]
rol eax, 1
mov dword [esp + ebx*4 + 0x1c], eax
inc ebx
cmp ebx, 0x4f
jle 0x413269
mov eax, dword [esp + 0x170]
xor ebx, ebx
mov edx, dword [esp + 0x170]
mov eax, dword [eax]
mov esi, dword [edx + 4]
mov edi, dword [edx + 8]
mov dword [esp + 0x10], eax
mov ebp, dword [edx + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], ebp
mov dword [esp + 0x14], eax
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov edx, esi
mov ecx, esi
not edx
and ecx, edi
and edx, ebp
rol eax, 5
or ecx, edx
add eax, ecx
add eax, dword [esp + 0x14]
mov dword [esp + 0x14], ebp
mov ebp, edi
mov edi, esi
add eax, dword [esp + ebx*4 + 0x1c]
inc ebx
rol edi, 0x1e
mov esi, dword [esp + 0x18]
add eax, 0x5a827999
cmp ebx, 0x13
mov dword [esp + 0x18], eax
jle 0x4132be
mov ebx, 0x14
mov edx, dword [esp + 0x18]
mov eax, esi
xor eax, edi
xor eax, ebp
rol edx, 5
add edx, eax
add edx, dword [esp + 0x14]
mov dword [esp + 0x14], ebp
mov ebp, edi
mov edi, esi
add edx, dword [esp + ebx*4 + 0x1c]
inc ebx
rol edi, 0x1e
mov esi, dword [esp + 0x18]
add edx, 0x6ed9eba1
cmp ebx, 0x27
mov dword [esp + 0x18], edx
jle 0x4132fe
mov ebx, 0x28
mov eax, dword [esp + 0x18]
mov edx, edi
mov ecx, edi
or edx, ebp
and ecx, ebp
and edx, esi
rol eax, 5
or edx, ecx
add eax, edx
add eax, dword [esp + 0x14]
mov dword [esp + 0x14], ebp
mov ebp, edi
mov edi, esi
add eax, dword [esp + ebx*4 + 0x1c]
inc ebx
rol edi, 0x1e
mov esi, dword [esp + 0x18]
sub eax, 0x70e44324
cmp ebx, 0x3b
mov dword [esp + 0x18], eax
jle 0x413339
mov ebx, 0x3c
mov eax, dword [esp + 0x18]
mov edx, esi
xor edx, edi
xor edx, ebp
rol eax, 5
add eax, edx
add eax, dword [esp + 0x14]
mov dword [esp + 0x14], ebp
mov ebp, edi
mov edi, esi
add eax, dword [esp + ebx*4 + 0x1c]
inc ebx
rol edi, 0x1e
mov esi, dword [esp + 0x18]
sub eax, 0x359d3e2a
cmp ebx, 0x4f
mov dword [esp + 0x18], eax
jle 0x413379
add eax, dword [esp + 0x10]
mov edx, dword [esp + 0x170]
mov dword [edx], eax
mov eax, dword [esp + 0xc]
add eax, esi
mov dword [edx + 4], eax
mov eax, dword [esp + 8]
add eax, edi
mov dword [edx + 8], eax
mov eax, dword [esp + 4]
add eax, ebp
mov dword [edx + 0xc], eax
mov eax, dword [esp]
add eax, dword [esp + 0x14]
mov dword [edx + 0x10], eax
add esp, 0x15c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x415eb4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
idiv edi
inc ebx
clc
and byte [ebp - 0x354], 0
and byte [ebp - 0x353], 0
Function at 0x415ef6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [edi - 0x3a]
test dword [ebp + 0x4afffffc], esi
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.004156b6
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041566b
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.004156b6
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041566b
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], pe_nt_image_headers32
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.004156b6
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041566b
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.004156a6
or byte [ebx - 0x69], ah
and byte [ebp - 0x534], 0
and byte [ebp - 0x533], 0
mov byte [ebp - 0x532], 0x68
and byte [ebp - 0x531], 0
mov byte [ebp - 0x530], 0xd4
mov byte [ebp - 0x52f], 0xfb
mov byte [ebp - 0x52e], 0xf8
mov byte [ebp - 0x52d], 0xe4
mov byte [ebp - 0x52c], 0xf2
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.004156b6
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041566b
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.004156a6
push esi
add edx, dword [ebx - 0x635a7f26]
stc
invalid
Function at 0x41658f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00415684
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.004156b6
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041566b
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.004156a6
loopne 0x416672
stosd dword es:[edi], eax
cld
invalid
test byte [eax + ebp*2 + 4], ah
add dword [eax], eax
add byte [ebp - 0x12b7b], cl
call dword [eax - 1]
xchg ebp, eax
sub al, 0xfc
invalid

Function at 0x417aca
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push edi
push esi
push ebx
sub esp, 0x254
mov edi, dword [esp + 0x264]
push 0x107
lea ebx, [esp + 8]
push ebx
call sub.KERNEL32.dll_GetWindowsDirectoryA
push 0x43e540
push ebx
call sub.msvcrt.dll_strcat
lea eax, [esp + 0x11c]
push eax
push ebx
call sub.KERNEL32.dll_FindFirstFileA
pop ecx
cmp eax, 0xffffffff
mov esi, eax
pop ebx
je 0x417b2d
push 0x140
lea ebx, [esp + 0x118]
push ebx
call edi
pop eax
pop edx
push ebx
push esi
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x417b0b
push esi
call sub.KERNEL32.dll_FindClose
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [esp], eax
push 4
lea eax, [esp + 4]
push eax
call edi
push edi
call fcn.00418897
call fcn.00417a94
add esp, 0x260
pop ebx
pop esi
pop edi
ret

Function at 0x418197
Capabilities:
Get file attributes

Disassembly:
push ebx
sub esp, 0x140
mov ebx, dword [esp + 0x148]
push ebx
call sub.KERNEL32.dll_GetFileAttributesA
inc eax
mov edx, 1
jne 0x4181ce
mov eax, esp
push eax
push ebx
call sub.KERNEL32.dll_FindFirstFileA
xor edx, edx
cmp eax, 0xffffffff
je 0x4181ce
push eax
call sub.KERNEL32.dll_FindClose
mov edx, 2
add esp, 0x140
mov eax, edx
pop ebx
ret
Function at 0x4185ec
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
sub esp, 0x11c
cmp dword [0x44b8e8], 0
jne 0x4186c0
call sub.KERNEL32.dll_GetTickCount
mov edx, dword [0x43b0b8]
mov ebx, eax
or eax, 0xffffffff
cmp edx, 0xffffffff
je 0x4186c8
push edx
call fcn.00417a14
pop ecx
test eax, eax
je 0x418633
push 2
push dword [0x43b0b8]
call fcn.004175a8
pop eax
pop edx
lea eax, [esp + 8]
push eax
push ebx
call fcn.00414d7a
pop edx
xor edx, edx
test eax, eax
pop ecx
je 0x418674
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [esp + 8]
mov ebx, 0x3e8
sub ecx, eax
test ecx, ecx
mov eax, 1
cmovle ecx, eax
mov eax, ecx
cdq
idiv ebx
mov dword [esp], eax
imul eax, edx, 0x3e8
mov edx, esp
mov dword [esp + 4], eax
mov dword [esp + 0xc], 1
mov eax, dword [0x43b0b8]
mov dword [esp + 0x10], eax
push edx
push 0
push 0
lea eax, [esp + 0x18]
push eax
push 1
call dword [0x44b8c8]
test eax, eax
jl 0x4186bb
jne 0x4186a3
mov ebx, dword [esp + 8]
jmp 0x418633
call sub.KERNEL32.dll_GetTickCount
push 1
push dword [0x43b0b8]
call fcn.004175a8
pop ecx
xor eax, eax
pop ebx
jmp 0x4186c8
or eax, 0xffffffff
jmp 0x4186c8
push 0xffffffffffffffff
call fcn.0041842b
pop edx
add esp, 0x11c
pop ebx
ret

Function at 0x4186d0
Capabilities:
Delete file

Disassembly:
push esi
test edx, edx
mov ecx, edx
push ebx
mov esi, dword [esp + 0xc]
mov ebx, eax
jne 0x4186ef
push eax
call sub.msvcrt.dll_remove
mov dword [esi], 0xffffffff
xor eax, eax
pop edx
jmp 0x418735
push 0
cmp edx, 2
mov eax, pe_nt_image_headers32
mov edx, 0
cmovne eax, edx
setne dl
push eax
movzx eax, dl
add eax, 2
push eax
movzx eax, dl
lea eax, [eax + eax*2]
push 0
cmp ecx, 2
mov edx, 0x80000000
push eax
mov eax, 0x40000000
cmovne eax, edx
push eax
push ebx
call sub.KERNEL32.dll_CreateFileA
mov dword [esi], eax
inc eax
setne al
movzx eax, al
pop ebx
pop esi
ret
Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x599222cd
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x6ed53bb7
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401112
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x230
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x240]
mov ebx, edx
xor ebp, ebp
mov dword [esp + 0x34], ecx
push edi
mov dword [esp + 0x2c], ebx
mov ecx, ebp
mov eax, ecx
mov byte [esp + ecx + 0x3c], cl
cdq
idiv dword [esp + 0x248]
mov al, byte [edx + esi]
mov byte [esp + ecx + 0x13c], al
inc ecx
cmp ecx, 0x100
jl 0x40113f
mov edi, ebp
mov esi, ebp
mov dl, byte [esp + esi + 0x3c]
movzx eax, byte [esp + esi + 0x13c]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x401187
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [esp + edi + 0x3c]
mov byte [esp + esi + 0x3c], al
inc esi
mov byte [esp + edi + 0x3c], dl
cmp esi, 0x100
jl 0x401164
mov esi, ebp
mov dword [esp + 0x10], ebp
mov eax, ebp
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], eax
mov edi, 0x3e8
mov dword [esp + 0x18], esi
cmp eax, esi
je 0x4011c4
mov dword [eax], ebx
add eax, 4
mov dword [esp + 0x14], eax
jmp 0x4011db
lea ecx, [esp + 0x2c]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00401873
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
sub edi, 1
jne 0x4011b5
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x28], esi
cmp dword [ebx + 4], ebp
jle 0x4012f0
mov edi, ebp
mov esi, edi
inc edi
and edi, 0x800000ff
jns 0x401206
dec edi
or edi, 0xffffff00
inc edi
mov cl, byte [esp + edi + 0x3c]
movzx edx, cl
add esi, edx
mov dword [esp + 0x1c], edi
and esi, 0x800000ff
jns 0x401223
dec esi
or esi, 0xffffff00
inc esi
mov al, byte [esp + esi + 0x3c]
mov byte [esp + edi + 0x3c], al
mov byte [esp + esi + 0x3c], cl
movzx eax, byte [esp + edi + 0x3c]
add eax, edx
movzx ecx, al
mov dword [esp + 0x20], ecx
test al, al
je 0x4012d7
and dword [esp + 0x10], 0
xor eax, eax
xor edi, edi
mov dword [esp + 0x14], eax
push 0xa
xor ecx, 3
mov dword [esp + 0x1c], edi
pop edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], edx
cmp eax, edi
je 0x401277
mov dword [eax], ecx
add eax, 4
mov dword [esp + 0x14], eax
jmp 0x401296
lea ecx, [esp + 0x30]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00401873
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
sub edx, 1
mov dword [esp + 0x24], edx
jne 0x401268
push 0x40
push str.Current_val:__d_n
call fcn.00401006
pop ecx
pop ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4012cf
sub edi, ecx
and edi, 0xfffffffc
mov edx, edi
call fcn.00401847
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov al, byte [esp + ecx + 0x3c]
mov ecx, dword [esp + 0x38]
xor byte [ecx + ebp], al
inc ebp
cmp ebp, dword [ebx + 4]
jl 0x4011f5
mov esi, dword [esp + 0x28]
sub esi, ebx
mov ecx, ebx
and esi, 0xfffffffc
mov edx, esi
call fcn.00401847
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00401add
add esp, 0x230
ret
Function at 0x40154b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, dword [0x47c798]
xor ebx, ebx
push edi
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
add eax, esi
mov dword [esp + 0x18], eax
mov edi, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
add edi, esi
mov dword [esp + 0x14], eax
test eax, eax
je 0x4015bb
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
add eax, esi
push eax
call fcn.004017a5
lea ecx, [esp + 0x1c]
call fcn.00401317
cmp eax, dword [esp + 0x10]
je 0x4015d2
lea ecx, [esp + 0x1c]
add edi, 4
call fcn.00401782
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0x40158b
xor edi, edi
mov ecx, dword [esp + 0x34]
lea eax, [esi + edi]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401add
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x1c]
call fcn.00401782
jmp 0x4015bd

Function at 0x401659
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
sub cx, 0x1f9
mul edi
dec cx
mul di
mul ebx
sub ax, 0x22b
or edi, ebx
shr cx, 2
rcl eax, 0x6e
rol ax, 0x19
rcl cx, 0xcb
mul si
mov si, 0x1b0
rcr esi, 0xed
inc si
dec dx
movsx ebx, si
movsx ecx, si
rcl cx, 0x33
mov edx, esi
shr ax, 0xb9
dec cx
ja 0x4016b3
test edx, 0x43
ja 0x4016d4
dec bx
imul eax
jmp 0x4016c3
rol bx, 0x64
sub di, cx
ror esi, 0x18
ror ecx, 0xef
movsx ebx, bx
rcl eax, 0x5b
mul esi
jae 0x4016d4
inc ax
movsx ecx, si
rcr ebx, 0x8e
jmp 0x4016ef
and ecx, 0x33b
ror edx, 0x56
rcr di, 0xc6
or esi, 0x389
movzx edi, ax
movsx edi, si
imul edx
mul cx
ror ax, 0x4e
sub ebx, 0xb9
rcl cx, 0x60
jb 0x40170e
imul si
mul eax
inc esi
xor bx, dx
inc ebx
jmp 0x401720
mul eax
add eax, edi
mov ax, 0x2a4
mul ebx
ror edi, 0xfc
xor di, 0xdb
movsx ecx, di
dec bx
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x47c798], eax
push 0x27
mov esi, 0x47b730
mov edx, 0x547
push 0x41b900
mov ecx, esi
call fcn.00401112
pop ecx
pop ecx
mov edx, 0x8aafdc01
call fcn.0040154b
lea ecx, [ebp - 4]
push ecx
push 0x40
push 0x4e4
push esi
call eax
pop edi
pop esi
pop ebx
test eax, eax
je 0x40177c
call fcn.004015f4
xor eax, eax
leave
ret 0x10

Function at 0x40238b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4023ca
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4023ca
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4023ca
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4023ca
cmp dword [ecx + 0x74], 0xe
jbe 0x4023ca
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x408394
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4155a8
push 0x4155a0
push str.FlsAlloc
push 0x1e
call fcn.004082b2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4083c8
push dword [ebp + 8]
mov ecx, esi
call dword [0x414108]
call esi
jmp 0x4083ce
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x408412
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4155b8
push 0x4155b0
push str.FlsGetValue
push 0x20
call fcn.004082b2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408449
push dword [ebp + 8]
mov ecx, esi
call dword [0x414108]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x40ba05
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 0x40baa2
push ebx
push esi
call fcn.0040b9ce
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.0040b917
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40ba4f
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40baa1
push edi
push eax
call fcn.00408b47
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40ba6f
call fcn.0040815f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40baa0
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040b917
add esp, 0x20
test eax, eax
jne 0x40ba8e
push edi
call fcn.0040815f
jmp 0x40ba96
push ebx
call fcn.0040815f
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 0x412fc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x412fed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x412fed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret