joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432a37
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, ecx
test esi, esi
jne 0x4329e3
mov eax, 0xffffff53
pop esi
ret
push edi
push 0x20
xor edi, edi
push edi
push esi
call fcn.00436050
add esp, 0xc
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
xor eax, eax
mov dword [esi + 0x68], edi
mov dword [esi], 0x6a09e667
pop edi
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
pop esi
ret
test ecx, ecx
jne 0x432a41
mov eax, 0xffffff53
ret
mov dword [ecx + 0x6c], edx
jmp 0x4329d5

Function at 0x433128
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, ecx
test ebx, ebx
jne 0x433136
mov eax, 0xffffff53
pop ebx
ret
mov eax, dword [ebx + 0x60]
push ebp
push esi
push edi
lea ebp, [ebx + 0x20]
xor edi, edi
mov byte [eax + ebp], 0x80
inc dword [ebx + 0x60]
mov ecx, dword [ebx + 0x60]
push 0x38
pop esi
cmp ecx, esi
jbe 0x433187
push 0x40
pop eax
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push edi
push eax
call fcn.00436050
push 0x40
pop eax
push eax
mov edx, ebp
mov dword [ebx + 0x60], eax
mov ecx, ebp
call fcn.004329ab
add esp, 0x10
mov edx, ebp
mov ecx, ebx
call fcn.00432a49
test eax, eax
jne 0x4331e0
mov dword [ebx + 0x60], edi
mov ecx, edi
sub esi, ecx
lea eax, [ecx + ebp]
push esi
push edi
push eax
call fcn.00436050
lea edi, [ebx + 0x64]
mov edx, ebp
mov eax, dword [edi]
lea esi, [ebx + 0x68]
mov ecx, dword [esi]
shr eax, 0x1d
push 0x40
lea eax, [eax + ecx*8]
mov ecx, ebp
mov dword [esi], eax
mov eax, dword [edi]
shl eax, 3
mov dword [edi], eax
call fcn.004329ab
push 4
lea eax, [ebp + 0x38]
push esi
push eax
call fcn.00435ad0
push 4
lea eax, [ebp + 0x3c]
push edi
push eax
call fcn.00435ad0
add esp, 0x28
mov edx, ebp
mov ecx, ebx
pop edi
pop esi
pop ebp
pop ebx
jmp fcn.00432a49
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4331e5
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
je 0x43321c
test edi, edi
je 0x43321c
call fcn.00433128
test eax, eax
jne 0x433221
push 0x20
mov edx, esi
mov ecx, esi
call fcn.004329ab
push 0x20
push esi
push edi
call fcn.00435ad0
add esp, 0x10
mov ecx, esi
pop edi
pop esi
jmp 0x4329d5
mov eax, 0xffffff53
pop edi
pop esi
ret
Function at 0x4332d2
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov eax, edx
mov ebp, ecx
neg eax
mov dword [esp + 8], eax
test ebp, ebp
je 0x433376
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x433376
mov edx, dword [ebp]
mov ecx, ebx
inc edx
call fcn.0042ea1e
mov dword [esp + 0xc], eax
test eax, eax
jne 0x43337b
mov ecx, dword [ebp]
xor edx, edx
push esi
push edi
test ecx, ecx
jle 0x433336
mov edi, dword [ebx + 0xc]
mov ecx, ebp
call fcn.004332bc
mov ecx, ebx
mov esi, eax
call fcn.004332bc
xor esi, eax
and esi, dword [esp + 0x10]
xor dword [edi + edx*4], esi
inc edx
mov ecx, dword [ebp]
cmp edx, ecx
jl 0x433312
mov esi, dword [ebx]
cmp edx, esi
jge 0x433362
mov edi, dword [ebx + 0xc]
mov ecx, ebp
call fcn.004332bc
mov ecx, ebx
mov esi, eax
call fcn.004332bc
xor esi, eax
and esi, dword [esp + 0x10]
xor dword [edi + edx*4], esi
inc edx
mov esi, dword [ebx]
cmp edx, esi
jl 0x43333c
mov ecx, dword [ebp]
mov eax, esi
xor eax, ecx
and eax, dword [esp + 0x10]
xor eax, esi
pop edi
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
pop esi
jmp 0x43337b
mov eax, 0xffffff53
pop ebp
pop ebx
pop ecx
pop ecx
ret

Function at 0x44aded
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044ac6c

Function at 0x44e8a0
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044e20e

Function at 0x44e8ab
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044e449
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
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
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
jmp int.00401219
Function at 0x4034d0
Capabilities:
Enumerate gui resources
Get hostname

Disassembly:
mov eax, 0x1c0c
call fcn.0040c4d0
mov eax, dword [0x2b87bdc]
mov ecx, dword [0x2b87b50]
shr eax, 3
test eax, eax
jbe 0x40360b
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x403520
cmp dword [0x2b87bdc], 0x959
jne 0x4035ed
push 0
lea eax, [esp + 0x20]
push eax
push 0
push 0x402d2c
push 0
push 0
call edi
push 0
lea ecx, [esp + 0x1020]
push ecx
push 0
call ebx
push 0
push 0
call esi
push 0x402d58
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
push 0
push 0
lea edx, [esp + 0x824]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
lea eax, [esp + 0x1420]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push 0
push 0x402d8c
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0x402d98
push 0x402da8
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov eax, dword [esp + 0x10]
push eax
call fcn.00403300
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x403520
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c0c
ret
Function at 0x408e8b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42fa10]
jne 0x408e95
repz ret
jmp fcn.0040b15c

Function at 0x40a8ac
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.00405d7d
and dword [ebp - 4], 0
cmp dword [0x430dac], 0
mov ebx, eax
jne 0x40a95d
push 0x402c0c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40aa0e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402c00
push edi
call esi
test eax, eax
je 0x40aa0e
push eax
call fcn.00405d0b
mov dword [esp], 0x402bf0
push edi
mov dword [0x430dac], eax
call esi
push eax
call fcn.00405d0b
mov dword [esp], 0x402bdc
push edi
mov dword [0x430db0], eax
call esi
push eax
call fcn.00405d0b
mov dword [esp], 0x402bc0
push edi
mov dword [0x430db4], eax
call esi
push eax
call fcn.00405d0b
pop ecx
mov dword [0x430dbc], eax
test eax, eax
je 0x40a95d
push 0x402ba8
push edi
call esi
push eax
call fcn.00405d0b
pop ecx
mov dword [0x430db8], eax
mov eax, dword [0x430db8]
cmp eax, ebx
je 0x40a9b5
cmp dword [0x430dbc], ebx
je 0x40a9b5
push eax
call fcn.00405d86
push dword [0x430dbc]
mov esi, eax
call fcn.00405d86
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a9b5
test edi, edi
je 0x40a9b5
call esi
test eax, eax
je 0x40a9ac
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a9ac
test byte [ebp - 0xc], 1
jne 0x40a9b5
or dword [ebp + 0x10], 0x200000
jmp 0x40a9ee
mov eax, dword [0x430db0]
cmp eax, ebx
je 0x40a9ee
push eax
call fcn.00405d86
pop ecx
test eax, eax
je 0x40a9ee
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a9ee
mov eax, dword [0x430db4]
cmp eax, ebx
je 0x40a9ee
push eax
call fcn.00405d86
pop ecx
test eax, eax
je 0x40a9ee
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x430dac]
call fcn.00405d86
pop ecx
test eax, eax
je 0x40aa0e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40aa10
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40a670
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4263d4]
jne 0x40a67a
repz ret
jmp fcn.0041086c

Function at 0x41651c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4263d4]
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.0040d50f
and dword [ebp - 0x14], 0
cmp dword [0x47752c], 0
mov dword [ebp - 0x18], eax
jne 0x4165cf
push 0x4037f4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x416677
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4037e8
push ebx
call edi
test eax, eax
je 0x416677
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4037d8
push ebx
mov dword [0x47752c], eax
call edi
push eax
call esi
push 0x4037c4
push ebx
mov dword [0x477530], eax
call edi
push eax
call esi
push 0x4037a8
push ebx
mov dword [0x477534], eax
call edi
push eax
call esi
mov dword [0x47753c], eax
test eax, eax
je 0x4165cf
push 0x403790
push ebx
call edi
push eax
call esi
mov dword [0x477538], eax
mov eax, dword [0x477538]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x416628
cmp dword [0x47753c], ecx
je 0x416628
push eax
call esi
push dword [0x47753c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x416628
test ebx, ebx
je 0x416628
call edi
test eax, eax
je 0x41661f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41661f
test byte [ebp - 8], 1
jne 0x416628
or dword [ebp + 0x10], 0x200000
jmp 0x41665b
mov eax, dword [0x477530]
cmp eax, dword [ebp - 0x18]
je 0x41665b
push eax
call esi
test eax, eax
je 0x41665b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41665b
mov eax, dword [0x477534]
cmp eax, dword [ebp - 0x18]
je 0x41665b
push eax
call esi
test eax, eax
je 0x41665b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x47752c]
call esi
test eax, eax
je 0x416677
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x416679
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a670
leave
ret
Function at 0x41e810
Capabilities:
Delete directory
Delete file
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1400
call fcn.0041d9f0
cmp dword [0x8182b0], 0x37
jne 0x41e8a1
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0x4043f4
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea eax, [esp + 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x404414
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapePosition]
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
lea edx, [esp + 0xc04]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov eax, dword [0x8182b4]
mov edx, dword [0x814720]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1400
ret
Function at 0x435320
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2a000]
push edi
or ebp, 0xffffffff
jmp 0x435342
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x435349
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x435338
mov eax, 1
add ebx, ebx
jne 0x43535b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x435350
jne 0x43536c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x435350
xor ecx, ecx
sub eax, 3
jb 0x435380
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4353f2
mov ebp, eax
add ebx, ebx
jne 0x43538b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x435398
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4353bc
inc ecx
add ebx, ebx
jne 0x4353a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43539d
jne 0x4353b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43539d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4353dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4353cd
jmp 0x43533e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4353dc
add edi, ecx
jmp 0x43533e
pop esi
mov edi, esi
mov ecx, 0x84f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4353fa
cmp byte [edi], 6
jne 0x4353fa
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 0x4353ff
lea edi, [esi + 0x33000]
mov eax, dword [edi]
or eax, eax
je 0x43546e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x36238]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x362ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43542c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x362f0]
or eax, eax
je 0x435468
mov dword [ebx], eax
add ebx, 4
jmp 0x435449
call dword [esi + 0x362f4]
popal
jmp 0x416f64

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

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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7a000]
push edi
jmp 0x4bcaaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4bcab1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bcaa0
mov eax, 1
add ebx, ebx
jne 0x4bcac3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4bcad4
jne 0x4bcaf3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bcaf3
dec eax
add ebx, ebx
jne 0x4bcae0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4bcab8
add ebx, ebx
jne 0x4bcaef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4bcb45
xor ecx, ecx
sub eax, 3
jb 0x4bcb0b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4bcb7a
sar eax, 1
mov ebp, eax
jmp 0x4bcb16
add ebx, ebx
jne 0x4bcb16
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bcae4
inc ecx
add ebx, ebx
jne 0x4bcb24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bcae4
add ebx, ebx
jne 0x4bcb31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4bcb26
jne 0x4bcb42
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4bcb26
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4bcb64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4bcb56
jmp 0x4bcaa6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4bcb64
add edi, ecx
jmp 0x4bcaa6
pop esi
mov edi, esi
mov ecx, 0x377e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4bcb82
cmp byte [edi], 0x11
jne 0x4bcb82
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 al, bl
loop 0x4bcb87
lea edi, [esi + 0xb8000]
mov eax, dword [edi]
or eax, eax
je 0x4bcbff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc8fc4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc9118]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4bcbb4
mov ecx, edi
jns 0x4bcbe3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc911c]
or eax, eax
je 0x4bcbf9
mov dword [ebx], eax
add ebx, 4
jmp 0x4bcbd1
call dword [esi + 0xc912c]
mov ebp, dword [esi + 0xc9120]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4bcc33
sub esp, 0xffffff80
jmp 0x416310
Function at 0x403710
Capabilities:
Delete file
Enumerate gui resources

Disassembly:
mov eax, 0x102c
call fcn.0040f4e0
mov eax, dword [0x4ac4dc]
mov ecx, dword [0x4a93e4]
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x40382b
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
mov ebp, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, dword [sym.imp.KERNEL32.dll_GetCommState]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x4ac4dc], 0x959
jne 0x403811
push 0
push 0
call edi
push 0
push 0
call ebx
lea eax, [esp + 0x18]
push eax
push 0x402cb0
push 0
lea ecx, [esp + 0x444]
push ecx
push 0
push 0x402cc4
push 0
push 0
call ebp
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
lea edx, [esp + 0x1c]
push edx
push 0
call esi
push 0
push 0
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
push 0
lea ecx, [esp + 0x83c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push 0
push 0
call esi
push 0
push 0x402cd0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
push 0x402d10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov edx, dword [esp + 0x10]
push edx
call fcn.00403570
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x403754
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x102c
ret
Function at 0x4073fc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43f238]
jne 0x407406
repz ret
jmp fcn.0040c705

Function at 0x40d1ff
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.0040a918
and dword [ebp - 4], 0
cmp dword [0x442278], 0
mov ebx, eax
jne 0x40d2b0
push 0x4024a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40d361
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402498
push edi
call esi
test eax, eax
je 0x40d361
push eax
call fcn.0040a8a6
mov dword [esp], 0x402488
push edi
mov dword [0x442278], eax
call esi
push eax
call fcn.0040a8a6
mov dword [esp], 0x402474
push edi
mov dword [0x44227c], eax
call esi
push eax
call fcn.0040a8a6
mov dword [esp], 0x402458
push edi
mov dword [0x442280], eax
call esi
push eax
call fcn.0040a8a6
pop ecx
mov dword [0x442288], eax
test eax, eax
je 0x40d2b0
push 0x402440
push edi
call esi
push eax
call fcn.0040a8a6
pop ecx
mov dword [0x442284], eax
mov eax, dword [0x442284]
cmp eax, ebx
je 0x40d308
cmp dword [0x442288], ebx
je 0x40d308
push eax
call fcn.0040a921
push dword [0x442288]
mov esi, eax
call fcn.0040a921
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40d308
test edi, edi
je 0x40d308
call esi
test eax, eax
je 0x40d2ff
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40d2ff
test byte [ebp - 0xc], 1
jne 0x40d308
or dword [ebp + 0x10], 0x200000
jmp 0x40d341
mov eax, dword [0x44227c]
cmp eax, ebx
je 0x40d341
push eax
call fcn.0040a921
pop ecx
test eax, eax
je 0x40d341
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40d341
mov eax, dword [0x442280]
cmp eax, ebx
je 0x40d341
push eax
call fcn.0040a921
pop ecx
test eax, eax
je 0x40d341
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x442278]
call fcn.0040a921
pop ecx
test eax, eax
je 0x40d361
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40d363
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret