joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441740
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x474198
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, ecx
push ebp
push esi
lea ebp, [ebx + 0x64]
push edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x47739c
lea eax, [ebp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x30], 0
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x28]
test eax, eax
jne 0x44179f
add ebp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x4418aa
mov eax, dword [esi]
mov edi, dword [ebx]
mov ecx, esi
call dword [eax + 0x30]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x2c]
push eax
mov ecx, ebx
call dword [edi + 0xe8]
test eax, eax
jne 0x4417ce
add ebp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x4418aa
mov edi, dword [ebx + 0x18]
mov eax, dword [esi]
imul edi, dword [ebx + 0x14]
mov ecx, esi
shl edi, 2
call dword [eax + 0x28]
mov ecx, edi
mov edi, dword [ebx + 4]
mov esi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x44189b
mov ecx, ebx
call fcn.00442750
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x441878
lea ecx, [ebx + 0x3c]
sub esp, 0x10
mov edx, esp
lea esi, [ebx + 0x4c]
mov eax, dword [ecx]
sub esp, 0x10
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov eax, esp
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, esi
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
lea eax, [esp + 0x38]
push eax
call fcn.0044f1b0
mov edi, eax
add esp, 0x24
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov edi, dword [edi + 0xc]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [esi + 0xc], edi
jmp 0x441894
lea ecx, [ebx + 0x3c]
lea edx, [ebx + 0x4c]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x20]
add ebp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 4
Function at 0x441f90
Capabilities:
Encode data using xor
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x474258
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], 0x47739c
lea ebp, [edi + 0x64]
mov dword [esp + 0x14], ebp
lea eax, [ebp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 8]
mov dword [esp + 0x30], 0
test eax, eax
jne 0x441fe7
add ebp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x4420bf
mov ecx, dword [edi + 0x18]
imul ecx, dword [edi + 0x14]
test ecx, ecx
jle 0x44200f
mov esi, dword [esp + 0x38]
mov edx, ecx
mov ecx, dword [eax]
add eax, 4
mov ebx, ecx
xor ebx, esi
and ebx, 0xffffff
xor ebx, ecx
dec edx
mov dword [eax - 4], ebx
jne 0x441ff8
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4420b0
mov ecx, edi
call fcn.00442750
mov eax, dword [edi + 0x10]
test eax, eax
je 0x44208d
lea ecx, [edi + 0x3c]
sub esp, 0x10
mov edx, esp
lea esi, [edi + 0x4c]
mov eax, dword [ecx]
sub esp, 0x10
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov eax, esp
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, esi
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
lea eax, [esp + 0x38]
push eax
call fcn.0044f1b0
mov ebx, eax
add esp, 0x24
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [esi + 0xc], ebx
jmp 0x4420a9
lea ecx, [edi + 0x3c]
lea edx, [edi + 0x4c]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x20]
add ebp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 4
Function at 0x449850
Capabilities:
Inspect load icon resource

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x449860
xor eax, eax
pop esi
ret 0x14
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push ebx
and ecx, 0xffff
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ecx
push 0
mov dword [esi + 0x14], eax
call edi
mov ebx, dword [sym.imp.USER32.dll_LoadIconA]
push eax
call ebx
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x1c]
test ax, ax
je 0x4498a0
and eax, 0xffff
push eax
push 0
call edi
push eax
jmp 0x4498a7
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x2c], eax
push edx
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x18]
and eax, 0xffff
push eax
push 0
call edi
push eax
call ebx
pop edi
mov dword [esi + 0x3c], eax
pop ebx
mov eax, 1
pop esi
ret 0x14

Function at 0x45ccb0
Capabilities:
Create directory

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x244
test eax, eax
push ebx
push ebp
push esi
push edi
jne 0x45cccd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x244
ret
mov cl, byte [eax]
xor ebp, ebp
test cl, cl
lea edi, [esp + 0x10]
mov esi, eax
je 0x45cd7a
mov ebx, dword [sym.imp.KERNEL32.dll_IsDBCSLeadByteEx]
jmp 0x45ccee
mov eax, dword [esp + 0x258]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov cl, byte [esi]
push ecx
push 0
call ebx
test eax, eax
je 0x45cd0d
add esi, 2
add edi, 2
jmp 0x45ccfa
mov al, byte [esi]
cmp al, 0x5c
jne 0x45cd1d
test ebp, ebp
je 0x45cd2e
inc edi
inc esi
xor ebp, ebp
jmp 0x45ccfa
test al, al
je 0x45cd33
cmp al, 0x3a
jne 0x45cd2a
mov ebp, 1
inc edi
inc esi
jmp 0x45ccfa
mov byte [edi], 0
inc edi
inc esi
lea edx, [esp + 0x114]
lea eax, [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x45cd60
mov cl, byte [esp + 0x114]
push eax
test cl, 0x10
je 0x45cd8a
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x45cd71
lea ecx, [esp + 0x10]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x45cd90
cmp byte [esi], 0
jne 0x45cce7
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x244
ret
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x244
ret
Function at 0x460340
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
lea eax, [esp + 8]
push esi
mov esi, ecx
push eax
mov dword [esp + 0xc], 0x4773a0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [esi + 0x14c]
test eax, eax
jne 0x460380
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0x4773a0
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, 1
pop esi
add esp, 0x20
ret
mov edx, dword [esi + 4]
push 0
push edx
mov dword [esi + 0x14c], 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x44]
lea eax, [esp + 4]
push eax
push 2
push 0x808
push ecx
mov dword [esp + 0x14], 0
call dword [sym.imp.WINMM.dll_mciSendCommandA]
mov ecx, esi
call fcn.00460190
mov edx, dword [esi + 0x40]
push 0
push 0
push 0x41e
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
lea eax, [esp + 0xc]
mov dword [esp + 8], 0x4773a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, 1
pop esi
add esp, 0x20
ret

Function at 0x462a80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47509b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
call fcn.0044de70
push 0xc0
call fcn.0046335e
add esp, 4
mov dword [esp + 8], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x14], esi
je 0x462ac3
mov ecx, eax
call fcn.00440910
mov esi, eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call dword [eax + 0xa0]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x2c]
mov word [edi + 0x70], ax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
push esi
mov ecx, edi
mov word [edi + 0x72], ax
call fcn.0044def0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x462b40
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
jne 0x462b5c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret 4
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x462b70
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret 4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
test eax, eax
jne 0x462b85
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
push eax
call fcn.00463c77
mov ebp, dword [esi]
add esp, 4
mov ecx, esi
mov ebx, eax
call dword [ebp + 0x18]
push eax
push ebx
mov ecx, esi
call dword [ebp + 0x14]
push ebx
push esi
mov ecx, edi
call fcn.00462cc0
mov ebp, eax
push ebx
test ebp, ebp
mov dword [esp + 0x14], ebp
jne 0x462bcd
call fcn.00463db1
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
push esi
mov ecx, edi
call fcn.00462ee0
push ebx
mov dword [esp + 0x2c], eax
call fcn.00463db1
mov eax, dword [esp + 0x2c]
add esp, 4
test eax, eax
jne 0x462bfd
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret 4
mov eax, dword [edi + 8]
test eax, eax
je 0x462c0d
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 8]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [edi + 8]
mov ebp, dword [sym.imp.USER32.dll_SetWindowPos]
push 6
push 0
push 0
push 0
push 0
push 0
push edx
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov ebx, eax
mov eax, dword [edi + 8]
push ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowRgn]
test eax, eax
jne 0x462c5c
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
xor ebx, ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 8]
push 0
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov eax, dword [esi]
push 6
mov ecx, esi
call dword [eax + 0x20]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x1c]
push eax
mov eax, dword [edi + 8]
push 0
push 0
push 0
push eax
call ebp
test ebx, ebx
je 0x462c96
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x462ca4
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x28]
mov eax, 1
mov dword [edi + 0xc], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4

Function at 0x46c5c0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0xa8]
push eax
push 0
push esi
push 0x46dc60
push 0
push 0
call fcn.00463eff
add esp, 0x18
mov dword [esi + 0xa4], eax
test eax, eax
jne 0x46c5ea
pop esi
ret
push 0xf
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edx, dword [esi + 0xd0]
lea ecx, [esi + 0xd0]
push 0xffffffffffffffff
call dword [edx + 0xc]
mov eax, 1
pop esi
ret
Function at 0x4df004
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
pushal
mov ebp, esp
sub esp, 8
call 0x4df00f
pop edi
and edi, 0xfffff000
mov eax, dword fs:[0x30]
mov esi, dword [eax + 8]
add dword [edi], esi
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov ebx, dword [eax + 0x3c]
add ebx, eax
mov ebx, dword [ebx + 0x78]
add ebx, eax
mov dword [ebp - 8], ebx
mov ecx, dword [ebx + 0x18]
mov ebx, dword [ebx + 0x20]
add ebx, eax
test ecx, ecx
je 0x4df06e
mov esi, dword [ebx]
add esi, eax
add ebx, 4
lea ecx, [ecx - 1]
cmp dword [esi], 0x50746547
jne 0x4df046
cmp dword [esi + 4], 0x41636f72
jne 0x4df046
cmp dword [esi + 8], 0x65726464
jne 0x4df046
mov ebx, dword [ebp - 8]
sub ecx, dword [ebx + 0x18]
neg ecx
lea ecx, [ecx - 1]
mov ebx, dword [ebx + 0x24]
add ebx, eax
mov cx, word [ebx + ecx*2]
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 0x1c]
add ebx, eax
mov esi, dword [ebx + ecx*4]
add esi, eax
mov dword [ebp - 8], esi
sub esp, 0x18
mov dword [esp], 0x64616f4c
mov dword [esp + 4], 0x7262694c
mov dword [esp + 8], 0x41797261
mov dword [esp + 0xc], 0
push esp
push dword [ebp - 4]
call esi
mov dword [esp], 0x52455355
mov dword [esp + 4], 0x642e3233
mov dword [esp + 8], 0x6c6c
push esp
call eax
mov dword [esp], 0x7373654d
mov dword [esp + 4], 0x42656761
mov dword [esp + 8], 0x41786f
push esp
push eax
call dword [ebp - 8]
mov dword [esp], 0x474a4432
mov dword [esp + 4], 0x454d41
mov dword [esp + 8], 0x6564614d
mov dword [esp + 0xc], 0x20794220
mov dword [esp + 0x10], 0x474a4432
mov dword [esp + 0x14], 0x454d41
mov ebx, esp
push 0x40
push ebx
add ebx, 8
push ebx
push 0
call eax
add esp, 0x20
mov dword [ebp - 4], edi
popal
mov eax, dword [esp - 0x24]
jmp dword [eax]
Function at 0x407450
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40748e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407486
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407490
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407476
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407570
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x4083f1
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x410144]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [ebp + 8]
mov edx, 0x104
push ebx
push esi
push edi
push ecx
push ecx
xor edi, edi
mov dword [esp + 0x1c], eax
push ecx
lea ecx, [esp + 0x24]
mov dword [eax], edi
mov dword [eax + 4], edi
call fcn.00407168
push 0x402634
lea ecx, [esp + 0x1c]
call fcn.004070c4
lea eax, [esp + 0x18]
push eax
push edi
push 0x1f0003
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
mov esi, eax
test esi, esi
jne 0x408475
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 2
je 0x4084af
mov ecx, dword [ebp + 4]
mov edx, 0xc0
push 0x4025e0
call fcn.004080ac
mov edi, eax
jmp 0x4084af
lea edx, [esp + 0x10]
mov dword [esp + 0x10], edi
mov ecx, esi
call fcn.004082d4
mov ebx, eax
test ebx, ebx
jns 0x4084a1
mov ecx, dword [ebp + 4]
mov edx, 0xc6
push ebx
push 0x4025e0
call fcn.0040808f
mov edi, ebx
jmp 0x4084af
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
test esi, esi
je 0x4084b9
push esi
call fcn.0040814d
mov ecx, dword [esp + 0x224]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040dad0
mov esp, ebp
pop ebp
ret 8

Function at 0x40dc5d
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
cmp edx, esi
je 0x40dc9a
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edx + 0xc]
jb 0x40dc93
mov eax, dword [edx + 8]
add eax, dword [edx + 0xc]
cmp ecx, eax
jb 0x40dc9f
add edx, 0x28
cmp edx, esi
jne 0x40dc84
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x40dc9c

Function at 0x4182ea
Capabilities:
Encode data using xor

Disassembly:
call 0x418263
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x418293
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x4182af
xor edx, 0
jmp 0x4182ba
xor edx, edx
jmp 0x4182d1
jmp 0x4182dd
xor eax, eax
push 0x8427d7c0
call 0x4182ea
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x418326
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x4182ff
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x41833d
add eax, 0
jno 0x418342
add esi, 0
ret 0x10
Function at 0x4190ab
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x4190cd
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x41926f
cmp edi, dword [ebp + 0x10]
jb 0x41926f
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.00418b97
inc edi
jmp 0x419156
jmp 0x419163
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.00418b97
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.00418b97
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x4191b7
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x41919b
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.004191e5
add dword [eax], 0x39
jle 0x4191c1
sub al, 0xf5
mov ch, al
call fcn.004191fa
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x41aed2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x41aee8
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x41aef9
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.0041af3a
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx