joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40645c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x406480
xor eax, eax
test eax, eax
je 0x406492
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406492
xor ecx, ecx
jmp 0x406495
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x406581
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4232bc], 0
push esi
jne 0x4065b8
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406592
mov dword [ecx*4 + 0x4232b8], eax
inc ecx
cmp ecx, 0x100
jl 0x40658d
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4065e9
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4232b8]
xor eax, esi
inc ecx
dec edx
jne 0x4065cb
pop edi
not eax
pop esi
ret 0xc

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
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
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x403918
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x8ca008], 0x8088405
inc edx
mov dword [ebx + 0x8ca008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41ccc0
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41ccf1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41ccd9
add dl, dl
jne 0x41ccfc
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cd4d
xor eax, eax
add dl, dl
jne 0x41cd09
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cdea
add dl, dl
jne 0x41cd18
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cd23
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cd2e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cd39
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cd43
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cce8
mov eax, 1
add dl, dl
jne 0x41cd5b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cd66
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cd52
sub eax, ebx
mov ebx, 1
jne 0x41cd99
mov ecx, 1
add dl, dl
jne 0x41cd7f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cd8a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cd76
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cce8
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cdb0
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cdbb
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cda7
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cce8
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41ce0b
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cce8
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41d90c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x41d91f
add esp, 0xfffffff0
call fcn.00404100
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00403e7c
mov byte [ebx + 4], 0
cmp dword [esi + 0x5c], 0
jne 0x41d945
cmp dword [esi + 0x58], 0x40
jb 0x41db2b
jmp 0x41d94b
jl 0x41db2b
lea eax, [ebx + 0xc]
mov edx, 0x40
call fcn.004072cc
push 0
push 0
push 0
push 0x40
lea edx, [ebx + 0xc]
mov eax, esi
call fcn.0041d540
cmp word [ebx + 0xc], 0x5a4d
jne 0x41db2b
mov ecx, dword [ebx + 0x48]
test ecx, ecx
jle 0x41db2b
cmp ecx, 0x10000
jge 0x41db2b
mov eax, ecx
add eax, 4
add eax, 0x14
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d9a6
cmp eax, dword [esi + 0x58]
ja 0x41db2b
jmp 0x41d9ac
jg 0x41db2b
lea eax, [ebx + 0x4c]
mov edx, 4
call fcn.004072cc
mov eax, dword [ebx + 0x48]
cdq
push edx
push eax
push 0
push 4
lea edx, [ebx + 0x4c]
mov eax, esi
call fcn.0041d540
cmp dword [ebx + 0x4c], 0x4550
jne 0x41db2b
lea eax, [ebx + 0x50]
mov edx, 0x14
call fcn.004072cc
mov eax, dword [ebx + 0x48]
add eax, 4
cdq
push edx
push eax
push 0
push 0x14
lea edx, [ebx + 0x50]
mov eax, esi
call fcn.0041d540
mov ax, word [ebx + 0x50]
cmp ax, 0x8664
jne 0x41da63
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
add eax, 0xf0
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41da27
cmp eax, dword [esi + 0x58]
ja 0x41dab4
jmp 0x41da2d
jg 0x41dab4
lea eax, [ebx + 0x144]
mov edx, 0xf0
call fcn.004072cc
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
cdq
push edx
push eax
push 0
push 0xf0
lea edx, [ebx + 0x144]
mov eax, esi
call fcn.0041d540
mov byte [ebx + 4], 1
jmp 0x41dab4
cmp ax, 0x14c
jne 0x41dab4
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
add eax, 0xe0
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41da84
cmp eax, dword [esi + 0x58]
ja 0x41dab4
jmp 0x41da86
jg 0x41dab4
lea eax, [ebx + 0x64]
mov edx, 0xe0
call fcn.004072cc
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
cdq
push edx
push eax
push 0
push 0xe0
lea edx, [ebx + 0x64]
mov eax, esi
call fcn.0041d540
mov byte [ebx + 4], 1
cmp byte [ebx + 4], 0
je 0x41db2b
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
movzx edx, word [ebx + 0x60]
add eax, edx
mov di, word [ebx + 0x52]
movzx edx, di
shl edx, 3
lea edx, [edx + edx*4]
add eax, edx
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41dae5
cmp eax, dword [esi + 0x58]
ja 0x41db2b
jmp 0x41dae7
jg 0x41db2b
movzx eax, di
push eax
lea eax, [ebx + 8]
mov ecx, 1
mov edx, dword [0x8b5458]
call fcn.00405f20
add esp, 4
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
movzx edx, word [ebx + 0x60]
add eax, edx
cdq
push edx
push eax
movzx eax, word [ebx + 0x52]
shl eax, 3
lea eax, [eax + eax*4]
xor edx, edx
push edx
push eax
mov edx, dword [ebx + 8]
mov eax, esi
call fcn.0041d540
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x41db42
call fcn.00404158
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x41e7cc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x8b6c8b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e87d
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e866
test esi, esi
jbe 0x41e87d
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.00408d5c
test eax, eax
jne 0x41e858
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41e87d
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e835
jmp 0x41e87d
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e87d
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8b6c92
ret
Function at 0x41f0cc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x8b767b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00405060
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41f107
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41f120
lea eax, [ebp - 0x10]
mov edx, dword [0x8cc18c]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.004050c0
jmp 0x41f133
lea eax, [ebp - 0x10]
mov edx, dword [0x8cc18c]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.004050c0
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41f13f
adc edx, 0
mov edx, dword [edx*4 + 0x8cacac]
call fcn.004052b0
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00405294
push eax
call fcn.00406f48
mov esi, eax
cmp esi, 0xffffffff
je 0x41f24d
mov eax, 0x40
call fcn.004035bc
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00407188
test eax, eax
je 0x41f240
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41f240
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.004071e0
mov eax, edi
call fcn.004035ec
mov eax, 0x18
call fcn.004035bc
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00407188
test eax, eax
je 0x41f240
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41f240
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41f240
cmp dx, 0x150
ja 0x41f240
mov eax, edi
call fcn.004035ec
mov eax, 0xe0
call fcn.004035bc
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00407188
test eax, eax
je 0x41f240
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41f240
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.0040509c
mov eax, edi
call fcn.004035ec
push esi
call fcn.00406f00
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.004053c0
jne 0x41f265
inc ebx
cmp ebx, 0x19
jne 0x41f0f9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8b7682
lea eax, [ebp - 0x10]
call fcn.00405060
ret
Function at 0x41f55c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
xor ebx, ebx
push 0
push 0
push 0
push edi
call fcn.004071e0
push 0
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push edi
call fcn.00407188
test eax, eax
je 0x41f5f9
cmp word [esi], 0x5a4d
jne 0x41f5f9
push 0
push 0
mov eax, dword [esi + 0x3c]
push eax
push edi
call fcn.004071e0
push 0
lea eax, [ebp - 4]
push eax
push 0x18
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.00407188
test eax, eax
je 0x41f5f9
cmp dword [ebp - 0x1c], 0x4550
jne 0x41f5f9
lea edx, [ebp - 0x18]
mov ecx, 0x14
mov eax, dword [ebp + 0xc]
call fcn.004072c4
mov ax, word [ebp - 0x18]
cmp ax, 0x14c
jb 0x41f5f9
cmp ax, 0x150
ja 0x41f5f9
push 0
lea eax, [ebp - 4]
push eax
push 0xe0
mov eax, dword [ebp + 8]
push eax
push edi
call fcn.00407188
test eax, eax
je 0x41f5f9
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x408053
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41d410]
jne 0x40805d
repz ret
jmp fcn.0040d5f4

Function at 0x40c401
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41d410]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00406db9
and dword [ebp - 0x14], 0
cmp dword [0x44bf1c], 0
mov dword [ebp - 0x18], eax
jne 0x40c4b4
push 0x402398
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40c55c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40238c
push ebx
call edi
test eax, eax
je 0x40c55c
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x40237c
push ebx
mov dword [0x44bf1c], eax
call edi
push eax
call esi
push 0x402368
push ebx
mov dword [0x44bf20], eax
call edi
push eax
call esi
push 0x40234c
push ebx
mov dword [0x44bf24], eax
call edi
push eax
call esi
mov dword [0x44bf2c], eax
test eax, eax
je 0x40c4b4
push 0x402334
push ebx
call edi
push eax
call esi
mov dword [0x44bf28], eax
mov eax, dword [0x44bf28]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40c50d
cmp dword [0x44bf2c], ecx
je 0x40c50d
push eax
call esi
push dword [0x44bf2c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40c50d
test ebx, ebx
je 0x40c50d
call edi
test eax, eax
je 0x40c504
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40c504
test byte [ebp - 8], 1
jne 0x40c50d
or dword [ebp + 0x10], 0x200000
jmp 0x40c540
mov eax, dword [0x44bf20]
cmp eax, dword [ebp - 0x18]
je 0x40c540
push eax
call esi
test eax, eax
je 0x40c540
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40c540
mov eax, dword [0x44bf24]
cmp eax, dword [ebp - 0x18]
je 0x40c540
push eax
call esi
test eax, eax
je 0x40c540
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44bf1c]
call esi
test eax, eax
je 0x40c55c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40c55e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408053
leave
ret
Function at 0x41b260
Capabilities:
Delete file
Get uefi variable

Disassembly:
sub esp, 0xc18
cmp dword [0x2b75a84], 0x37
jne 0x41b2db
push 0x4035c8
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x403660
push 0x40362c
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByteEx]
push 0
lea eax, [esp + 0x1c]
push eax
push 0x4036b0
push 0x4036d8
call dword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableA]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0xc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
push 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
lea eax, [esp + 0x41c]
push eax
push 0x4036fc
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
mov ecx, dword [0x2b75e98]
mov eax, dword [0x2b75568]
mov dl, byte [ecx + esi + 0x38d6]
mov byte [eax + esi], dl
add esp, 0xc18
ret
Function at 0x404de0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x83c
mov eax, dword [esp + 0x840]
mov edx, dword [eax]
push ebx
push ebp
mov ebp, dword [0x44c768]
push esi
push edi
mov edi, dword [eax + 4]
mov eax, dword [0x44c76c]
xor ebx, ebx
mov dword [esp + 0x34], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], 0x9e3779b9
call fcn.00404db0
mov ecx, dword [0x44c770]
mov eax, dword [0x44c774]
add dword [esp + 0x14], 0x23f
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], 0x20
mov dword [esp + 0x1c], 2
add dword [esp + 0x1c], 3
mov eax, dword [0x70c7f4]
mov ecx, edx
shl ecx, 4
add ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
cmp eax, 0xfa9
jne 0x404e75
mov dword [0x70c7f0], 0xedeb2e40
jmp 0x404e82
cmp eax, 0x3eb
jne 0x404e82
mov dword [0x7096f8], ebx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
add dword [esp + 0x20], eax
mov ecx, dword [esp + 0x1c]
shr edx, cl
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x24]
mov dword [0x70c7ec], 0xf4ea3dee
mov dword [esp + 0x24], edx
call fcn.00404dc0
mov eax, dword [esp + 0x20]
xor dword [esp + 0x10], eax
mov esi, dword [esp + 0x24]
xor esi, dword [esp + 0x10]
cmp dword [0x70c7f4], 0x213
jne 0x404f15
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x2c]
push ecx
push ebx
push ebx
push ebx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.KERNEL32.dll_GetWriteWatch]
lea edx, [esp + 0x4c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
lea eax, [esp + 0x44]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
sub edi, esi
mov eax, edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], edi
call fcn.00404da0
add dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x14]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
nop
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov esi, edi
shr esi, 5
add esi, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
xor dword [esp + 0x10], eax
cmp dword [0x70c7f4], 0x121
jne 0x404f71
push ebx
push ebx
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
mov ecx, dword [esp + 0x10]
xor ecx, esi
lea eax, [esp + 0x28]
mov dword [esp + 0x10], ecx
call fcn.00404dd0
mov eax, dword [esp + 0x30]
sub dword [esp + 0x14], eax
sub dword [esp + 0x2c], 1
mov edx, dword [esp + 0x28]
jne 0x404e43
mov eax, dword [esp + 0x850]
mov dword [eax + 4], edi
pop edi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0x83c
ret 4
Function at 0x404fc0
Capabilities:
Delete file
Enumerate gui resources

Disassembly:
mov eax, 0x1c3c
call fcn.00416870
mov eax, dword [0x70c7f4]
mov ecx, dword [0x7096fc]
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x40514b
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateActCtxA]
mov esi, dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp dword [0x70c7f4], 0x959
jne 0x405131
push 0
push 0
call edi
push 0
lea eax, [esp + 0x84c]
push eax
push 0x4036ec
call ebx
lea ecx, [esp + 0x28]
push ecx
call ebp
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x44c]
push eax
push 0x403718
call dword [sym.imp.KERNEL32.dll_DnsHostnameToComputerNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x104c]
push edx
push 0
push 0x403724
push 0x403740
push 0x40377c
call dword [sym.imp.KERNEL32.dll_SearchPathA]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push 0
lea eax, [esp + 0x28]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push 0
push 0
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push 0
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0
lea edx, [esp + 0x144c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0
push 0
call esi
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommState]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommTimeouts]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
push 0
push 0x403794
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
push 0
push 0x40379c
push 0x4037c8
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
push 0
push 0
push 0
call esi
mov eax, dword [esp + 0x14]
push eax
call fcn.00404de0
add dword [esp + 0x14], 8
sub dword [esp + 0x18], 1
jne 0x405004
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c3c
ret
Function at 0x40909d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44b208]
jne 0x4090a7
repz ret
jmp fcn.00410ebc

Function at 0x414ab1
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.0040e568
and dword [ebp - 4], 0
cmp dword [0x44ea30], 0
mov ebx, eax
jne 0x414b62
push 0x402db0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x414c13
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402da4
push edi
call esi
test eax, eax
je 0x414c13
push eax
call fcn.0040e4f6
mov dword [esp], 0x402d94
push edi
mov dword [0x44ea30], eax
call esi
push eax
call fcn.0040e4f6
mov dword [esp], 0x402d80
push edi
mov dword [0x44ea34], eax
call esi
push eax
call fcn.0040e4f6
mov dword [esp], 0x402d64
push edi
mov dword [0x44ea38], eax
call esi
push eax
call fcn.0040e4f6
pop ecx
mov dword [0x44ea40], eax
test eax, eax
je 0x414b62
push 0x402d4c
push edi
call esi
push eax
call fcn.0040e4f6
pop ecx
mov dword [0x44ea3c], eax
mov eax, dword [0x44ea3c]
cmp eax, ebx
je 0x414bba
cmp dword [0x44ea40], ebx
je 0x414bba
push eax
call fcn.0040e571
push dword [0x44ea40]
mov esi, eax
call fcn.0040e571
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x414bba
test edi, edi
je 0x414bba
call esi
test eax, eax
je 0x414bb1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x414bb1
test byte [ebp - 0xc], 1
jne 0x414bba
or dword [ebp + 0x10], 0x200000
jmp 0x414bf3
mov eax, dword [0x44ea34]
cmp eax, ebx
je 0x414bf3
push eax
call fcn.0040e571
pop ecx
test eax, eax
je 0x414bf3
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x414bf3
mov eax, dword [0x44ea38]
cmp eax, ebx
je 0x414bf3
push eax
call fcn.0040e571
pop ecx
test eax, eax
je 0x414bf3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44ea30]
call fcn.0040e571
pop ecx
test eax, eax
je 0x414c13
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x414c15
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401170
Capabilities:
Get memory capacity
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x403004]
xor eax, esp
mov dword [esp + 0x44], eax
lea eax, [esp]
mov dword [esp], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
shrd ecx, eax, 0x14
shr eax, 0x14
lea eax, [ecx - 0x200]
cmp eax, 0x1f200
ja 0x4011b8
call fcn.004010e0
jmp 0x4011c9
push 0
push 0
push str.world_hieristic_quintade_ferocearlyence_tachytic_scab_feliosity_mouth_thyreon_enoughwise_cipitety_relateation_orexature_laboran_duflyant_syringation_heredor_speechability_colorize_condent_emetance_magazineeur_sidard_enter_docti
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 0
push 0x4030f0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]