joyce8/EMBER2024-capa huggingface dataset:
Function at 0x486ff0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48701e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48703c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00486f56
jmp 0x48703c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48703c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00486f56
test edi, edi
mov eax, edi
jne 0x487026
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x40f080
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40b015
lea edi, [esi - 0xa015]
push edi
or ebp, 0xffffffff
jmp 0x40f0a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40f0a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40f098
mov eax, 1
add ebx, ebx
jne 0x40f0bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40f0b0
jne 0x40f0cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0b0
xor ecx, ecx
sub eax, 3
jb 0x40f0e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f152
mov ebp, eax
add ebx, ebx
jne 0x40f0eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40f0f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40f11c
inc ecx
add ebx, ebx
jne 0x40f108
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40f0fd
jne 0x40f119
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f13c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40f12d
jmp 0x40f09e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f13c
add edi, ecx
jmp 0x40f09e
pop esi
mov edi, esi
mov ecx, 0x265
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40f15a
cmp byte [edi], 2
jne 0x40f15a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x40f15f
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40f1ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f18c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf068]
or eax, eax
je 0x40f1c8
mov dword [ebx], eax
add ebx, 4
jmp 0x40f1a9
call dword [esi + 0xf06c]
popal
jmp 0x40354a
Function at 0x4011f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x844120]
mov ecx, dword [0x843074]
shr eax, 3
sub esp, 0x820
test eax, eax
jbe 0x4012f0
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 [0x844120], 0x959
jne 0x4012d6
push 0
call esi
push 0
push 0
call edi
push 0
push 0
push 0
call ebx
push str.Yeda_defuhacurihe
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push str.wobebi_cubecamuhe_cumalidayeboxeyahijutekev_bovibotiz
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push 0
lea eax, [ebp - 0x820]
push eax
push 0
push str.Vekojadofoy_nari_xigajimasuha
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor eax, eax
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x1c]
push edx
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
push 0
push 0
push 0
push 0
push 0
push 0
push str.Joceterewi_dapubigemal
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov eax, dword [ebp - 4]
push eax
call fcn.00401020
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x401230
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402430
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4240c8]
jne 0x40243a
repz ret
jmp fcn.004049fe

Function at 0x40462b
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.004024b1
and dword [ebp - 4], 0
cmp dword [0x425ab0], 0
mov ebx, eax
jne 0x4046dc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40478d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40478d
push eax
call fcn.0040243f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x425ab0], eax
call esi
push eax
call fcn.0040243f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x425ab4], eax
call esi
push eax
call fcn.0040243f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x425ab8], eax
call esi
push eax
call fcn.0040243f
pop ecx
mov dword [0x425ac0], eax
test eax, eax
je 0x4046dc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040243f
pop ecx
mov dword [0x425abc], eax
mov eax, dword [0x425abc]
cmp eax, ebx
je 0x404734
cmp dword [0x425ac0], ebx
je 0x404734
push eax
call fcn.004024ba
push dword [0x425ac0]
mov esi, eax
call fcn.004024ba
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x404734
test edi, edi
je 0x404734
call esi
test eax, eax
je 0x40472b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40472b
test byte [ebp - 0xc], 1
jne 0x404734
or dword [ebp + 0x10], 0x200000
jmp 0x40476d
mov eax, dword [0x425ab4]
cmp eax, ebx
je 0x40476d
push eax
call fcn.004024ba
pop ecx
test eax, eax
je 0x40476d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40476d
mov eax, dword [0x425ab8]
cmp eax, ebx
je 0x40476d
push eax
call fcn.004024ba
pop ecx
test eax, eax
je 0x40476d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x425ab0]
call fcn.004024ba
pop ecx
test eax, eax
je 0x40478d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40478f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401070
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push ebp
mov al, 0x45
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov byte [esp + 0xd], al
mov byte [esp + 0x10], al
mov al, 0x6c
push str.HeapFree
push str.kernel32.dll
mov byte [esp + 0x14], 0x4b
mov byte [esp + 0x16], 0x52
mov byte [esp + 0x17], 0x4e
mov byte [esp + 0x19], 0x4c
mov byte [esp + 0x1a], 0x33
mov byte [esp + 0x1b], 0x32
mov byte [esp + 0x1c], 0x2e
mov byte [esp + 0x1d], 0x64
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], al
mov byte [esp + 0x20], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov ebp, eax
mov al, 0x65
mov cl, 0x73
mov byte [esp + 0x1d], al
mov byte [esp + 0x23], al
mov byte [esp + 0x27], al
mov byte [esp + 0x24], cl
mov byte [esp + 0x25], cl
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xc]
push eax
push ecx
mov byte [esp + 0x24], 0x47
mov byte [esp + 0x26], 0x74
mov byte [esp + 0x27], 0x50
mov byte [esp + 0x28], 0x72
mov byte [esp + 0x29], 0x6f
mov byte [esp + 0x2a], 0x63
mov byte [esp + 0x2e], 0x48
mov byte [esp + 0x30], 0x61
mov byte [esp + 0x31], 0x70
mov byte [esp + 0x32], 0
call esi
push eax
call edi
mov edx, dword [esp + 0x30]
push edx
push 0
call eax
push eax
call ebp
pop edi
pop esi
pop ebp
add esp, 0x20
ret

Function at 0x4011b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x406190
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
cmp word [eax], 0x5a4d
mov dword [ebp - 0x10], esp
je 0x4011ee
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [eax + 0x3c]
add edi, eax
mov dword [ebp - 0x18], edi
cmp dword [edi], 0x4550
je 0x401211
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x34]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push 0x2000
push eax
push ecx
call ebx
mov esi, eax
test esi, esi
mov dword [ebp - 0x14], esi
jne 0x401259
mov edx, dword [edi + 0x50]
push 4
push 0x2000
push edx
push eax
call ebx
mov esi, eax
test esi, esi
mov dword [ebp - 0x14], esi
jne 0x401259
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov dword [eax + 4], esi
mov dword [eax + 0xc], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x10], ecx
lea eax, [ebp - 0x20]
push 0x407570
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x20], 0x3f
call fcn.004020c6
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
push 4
push 0x1000
mov edx, dword [ecx + 0x50]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, 0x4012b1
ret
Function at 0x4013c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4061a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push str.VirtualAlloc
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x14], 0
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x24], ecx
mov si, word [eax + 0x14]
lea esi, [esi + eax + 0x18]
mov dword [ebp - 0x18], esi
mov eax, dword [edx]
xor edx, edx
mov dx, word [eax + 6]
mov eax, dword [ebp - 0x14]
cmp eax, edx
jge 0x4014ec
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x40146c
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 0x38]
test ebx, ebx
jle 0x4014d4
mov edx, dword [esi + 0xc]
push 4
push 0x1000
add edx, ecx
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, ebx
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x4014d4
push 4
push 0x1000
push eax
mov eax, dword [esi + 0xc]
add eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea ecx, [ebp - 0x20]
push 0x407570
push ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0x55
call fcn.004020c6
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x10]
mov esi, dword [eax + 0x14]
mov eax, dword [ebp + 8]
mov edx, ecx
add esi, eax
mov eax, 0x4014c4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
ret
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x10]
inc ecx
add esi, 0x28
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x18], esi
jmp 0x401417
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
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
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219

Function at 0xbed058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00bed1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xbed07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbed06a
add dl, dl
jne 0xbed089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbed0dc
xor eax, eax
add dl, dl
jne 0xbed096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbed17d
add dl, dl
jne 0xbed0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbed0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbed0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbed0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xbed0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xbed075
mov eax, 1
add dl, dl
jne 0xbed0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbed0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbed0e1
sub eax, ebx
mov ebx, 1
jne 0xbed128
mov ecx, 1
add dl, dl
jne 0xbed10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbed119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbed105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbed075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xbed13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbed14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbed136
cmp eax, 0x7d00
jae 0xbed16d
cmp eax, 0x500
jb 0xbed168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbed075
cmp eax, 0x7f
ja 0xbed170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbed075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xbed19e
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 0xbed075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40372a
Capabilities:
Delete directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc44
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push ebx
push esi
xor esi, esi
cmp dword [0x4e4fc0], 0x594
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
jne 0x403764
push 0x402d04
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov eax, dword [0x4326b8]
mov edi, dword [0x4326bc]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
mov dword [ebp - 0x28], 0x9e3779b9
call fcn.00403723
mov eax, dword [0x4326c0]
add dword [ebp - 8], 0x23f
mov ebx, dword [0x4326c4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0x14], 2
add dword [ebp - 0x14], 3
mov eax, dword [ebp - 0xc]
mov ecx, eax
shl ecx, 4
cmp dword [0x4e4fc0], 0xc
mov dword [ebp - 4], ecx
jne 0x403808
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc44]
push eax
push esi
push 0x402d24
push 0x402d50
push 0x402d74
call dword [sym.imp.KERNEL32.dll_SearchPathW]
push esi
lea eax, [ebp - 0x444]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
lea eax, [ebp - 0x30]
push eax
push esi
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
add dword [ebp - 4], ecx
mov ecx, dword [0x4e4fc0]
cmp ecx, 0xfa9
jne 0x403826
mov dword [0x4e455c], 0xedeb2e40
cmp ecx, 0x3eb
jne 0x403834
mov dword [0x4e3f0c], esi
mov ecx, dword [ebp - 8]
add ecx, eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x14]
shr eax, cl
mov dword [0x4e4558], 0xf4ea3dee
add eax, ebx
mov ecx, eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 4], eax
xor ecx, dword [ebp - 4]
cmp dword [0x4e4fc0], 0x213
mov dword [ebp - 0x18], ecx
jne 0x40386f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], 0x64
sub dword [ebp - 0x10], eax
sub dword [ebp - 0x10], 0x64
cmp dword [0x4e4fc0], 0xc
jne 0x4038ac
push esi
lea eax, [ebp - 0x444]
push eax
push 0x402da8
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push esi
lea eax, [ebp - 0x844]
push eax
push 0x402dc4
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov eax, dword [ebp - 0x10]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax]
mov ecx, dword [ebp - 0x14]
shr eax, cl
add eax, edi
xor eax, edx
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
sub dword [ebp - 8], eax
dec dword [ebp - 0x1c]
jne 0x4037a0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
mov ecx, dword [ebp - 0x10]
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret 4
Function at 0x4038fa
Capabilities:
Create pipe
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4e4fc0]
mov ecx, dword [0x4e3f10]
sub esp, 0x42c
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x4039f3
push ebx
push edi
mov ebx, ecx
mov dword [ebp - 4], eax
cmp dword [0x4e4fc0], 0x959
jne 0x4039df
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
xor eax, eax
mov word [ebp - 8], ax
lea edi, [ebp - 6]
stosw word es:[edi], ax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputAttribute]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x402dd0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push esi
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0x402e34
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
push esi
push esi
push esi
push esi
push esi
push esi
push 0x402e48
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_InitializeSListHead]
push 0x402f04
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ebx
call fcn.0040372a
add ebx, 8
dec dword [ebp - 4]
jne 0x403923
pop edi
pop ebx
pop esi
leave
ret
Function at 0x403ac5
Capabilities:
Get common file path

Disassembly:
mov eax, 0x42f734
call fcn.0042f640
mov eax, 0x1428
call fcn.00411070
push ebx
push esi
xor esi, esi
cmp dword [0x4e4fc0], 0x5b1
push edi
jne 0x403b71
push esi
lea eax, [ebp - 0x434]
push eax
push esi
push 0x402f5c
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLocalTime]
lea eax, [ebp - 0x34]
call fcn.00403dfa
mov dword [ebp - 4], esi
call fcn.0040499d
push 0x402f88
lea ecx, [ebp - 0x18]
call fcn.00403550
lea ecx, [ebp - 0x18]
call fcn.0040356c
lea ecx, [ebp - 0x18]
call fcn.004035b2
lea ecx, [ebp - 0x18]
call fcn.004035cb
push esi
push esi
call fcn.00404eff
push esi
call fcn.00404ed0
push esi
call fcn.00404eb9
push esi
call fcn.0040520d
add esp, 0x10
mov dword [esp], esi
call fcn.00403704
fstp st(0)
push esi
call fcn.00404eb9
pop ecx
call fcn.00404fc8
add dword [0x4e4fc0], 0x1134b
push dword [0x4e4fc0]
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x4e3f10], eax
call fcn.00403a10
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, 0x206d47
jg 0x403bba
inc edi
cmp edi, 0x4f6a4
jl 0x403b9a
mov eax, dword [0x4e4fc0]
xor ecx, ecx
cmp eax, esi
jbe 0x403be0
mov edx, dword [0x4e4fc4]
mov dl, byte [edx + ecx + 0x1134b]
mov edi, dword [0x4e3f10]
mov byte [edi + ecx], dl
inc ecx
cmp ecx, eax
jb 0x403bc5
xor edi, edi
lea ecx, [eax + edi]
cmp ecx, 0xe
jne 0x403c2f
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push esi
lea eax, [ebp - 0x434]
push eax
push esi
push 0x402f98
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push 0x402fb0
push 0x402fe4
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push esi
push esi
lea eax, [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
mov eax, dword [0x4e4fc0]
inc edi
cmp edi, 0x39621
jl 0x403be2
call fcn.004038fa
xor edi, edi
call ebx
cmp edi, 0x26
jne 0x403c4b
call fcn.004039f6
inc edi
cmp edi, 0x6753f
jl 0x403c3f
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push 0x7b
pop ebx
cmp dword [0x4e4fc0], 0x86
jne 0x403ca6
push 0x402ff4
push 0x403030
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push esi
lea eax, [ebp - 0xc34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
push esi
lea eax, [ebp - 0x834]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp dword [0x4e4fc0], 0xf
jne 0x403cc7
push esi
push esi
call edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
push 0x403078
push 0x4030bc
call edi
dec ebx
jne 0x403c5d
push 0x4030f4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40590b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4317dc]
jne 0x405915
repz ret
jmp fcn.0040a6fc
Function at 0x40eb1b
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.00407df2
and dword [ebp - 4], 0
cmp dword [0x435b34], 0
mov ebx, eax
jne 0x40ebcc
push 0x402c6c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40ec7d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402c60
push edi
call esi
test eax, eax
je 0x40ec7d
push eax
call fcn.00407d80
mov dword [esp], 0x402c50
push edi
mov dword [0x435b34], eax
call esi
push eax
call fcn.00407d80
mov dword [esp], 0x402c3c
push edi
mov dword [0x435b38], eax
call esi
push eax
call fcn.00407d80
mov dword [esp], 0x402c20
push edi
mov dword [0x435b3c], eax
call esi
push eax
call fcn.00407d80
pop ecx
mov dword [0x435b44], eax
test eax, eax
je 0x40ebcc
push 0x402c08
push edi
call esi
push eax
call fcn.00407d80
pop ecx
mov dword [0x435b40], eax
mov eax, dword [0x435b40]
cmp eax, ebx
je 0x40ec24
cmp dword [0x435b44], ebx
je 0x40ec24
push eax
call fcn.00407dfb
push dword [0x435b44]
mov esi, eax
call fcn.00407dfb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40ec24
test edi, edi
je 0x40ec24
call esi
test eax, eax
je 0x40ec1b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40ec1b
test byte [ebp - 0xc], 1
jne 0x40ec24
or dword [ebp + 0x10], 0x200000
jmp 0x40ec5d
mov eax, dword [0x435b38]
cmp eax, ebx
je 0x40ec5d
push eax
call fcn.00407dfb
pop ecx
test eax, eax
je 0x40ec5d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40ec5d
mov eax, dword [0x435b3c]
cmp eax, ebx
je 0x40ec5d
push eax
call fcn.00407dfb
pop ecx
test eax, eax
je 0x40ec5d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x435b34]
call fcn.00407dfb
pop ecx
test eax, eax
je 0x40ec7d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40ec7f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret