joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a8a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
test ebx, ebx
je 0x40a8bf
test esi, esi
jg 0x40a8c6
xor eax, eax
jmp 0x40a97c
push 0x10
mov edx, dword [ebp - 4]
add edx, 4
push edx
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00430150
add esp, 0xc
test esi, esi
jns 0x40a8e2
add esi, 0xf
sar esi, 4
mov dword [ebp - 8], esi
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x40a961
lea ecx, [ebp - 0x1c]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0040b26c
lea edx, [ebp - 0x2c]
mov eax, edx
mov ecx, dword [eax]
xor dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 4]
xor dword [ebp - 0x18], ecx
mov ecx, dword [eax + 8]
xor dword [ebp - 0x14], ecx
mov eax, dword [eax + 0xc]
xor dword [ebp - 0x10], eax
mov eax, edx
mov edx, ebx
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
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0xc], ecx
add ebx, 0x10
add dword [ebp + 8], 0x10
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jg 0x40a8f4
push 0x10
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
add eax, 4
push eax
call fcn.00430150
add esp, 0xc
mov eax, dword [ebp - 8]
shl eax, 4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40aba0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, eax
mov esi, 1
xor eax, eax
xor ecx, ecx
mov edx, esi
mov ebx, ecx
shl edx, 4
shl ebx, 2
add edx, edi
add edx, ebx
xor ebx, ebx
add edx, 0x14
movzx ebp, byte [edx + 1]
mov bl, byte [edx]
lea ebp, [ebp*4 + 0x440a9e]
lea ebx, [ebx*4 + 0x44069e]
mov bl, byte [ebx + eax]
xor bl, byte [ebp + eax]
movzx ebp, byte [edx + 2]
movzx edx, byte [edx + 3]
lea ebp, [ebp*4 + 0x440e9e]
lea edx, [edx*4 + 0x44129e]
xor bl, byte [ebp + eax]
xor bl, byte [edx + eax]
lea edx, [esp + ecx*4]
mov byte [edx + eax], bl
inc ecx
cmp ecx, 4
jl 0x40abb2
inc eax
cmp eax, 4
jl 0x40abb0
mov ecx, esi
push 0x10
shl ecx, 4
lea eax, [esp + 4]
add ecx, edi
push eax
add ecx, 0x14
push ecx
call fcn.00430150
add esp, 0xc
inc esi
cmp esi, 0xa
jl 0x40abae
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40d088
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [eax]
cmp edx, 0x11
jle 0x40d0a8
mov ecx, dword [eax + edx*4]
xor dword [eax + edx*4 - 0x44], ecx
mov ecx, dword [eax + edx*4]
xor dword [eax + edx*4 - 0x38], ecx
xor ecx, ecx
mov dword [eax + edx*4], ecx
dec edx
cmp edx, 0x11
jg 0x40d08f
cmp dword [eax], 0x11
jbe 0x40d0c3
mov dword [eax], 0x11
jmp 0x40d0b7
dec dword [eax]
mov edx, dword [eax]
test edx, edx
je 0x40d0c3
cmp dword [eax + edx*4], 0
je 0x40d0b5
ret

Function at 0x40d8fc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
mov eax, dword [esi]
cmp eax, dword [ebx]
jae 0x40d943
mov eax, 1
jmp 0x40d91c
mov edx, dword [esi + eax*4]
xor edx, dword [ebx + eax*4]
mov dword [edi + eax*4], edx
inc eax
cmp eax, dword [esi]
jbe 0x40d912
mov ecx, dword [ebx]
mov edx, eax
sub ecx, dword [esi]
shl ecx, 2
shl edx, 2
push ecx
mov ecx, edx
add ecx, ebx
add edx, edi
push ecx
push edx
call fcn.00430150
add esp, 0xc
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x40d9a8
mov eax, dword [esi]
cmp eax, dword [ebx]
jbe 0x40d981
mov eax, 1
jmp 0x40d95a
mov edx, dword [esi + eax*4]
xor edx, dword [ebx + eax*4]
mov dword [edi + eax*4], edx
inc eax
cmp eax, dword [ebx]
jbe 0x40d950
mov ecx, dword [esi]
mov edx, eax
sub ecx, dword [ebx]
shl ecx, 2
shl edx, 2
push ecx
mov ecx, edx
add ecx, esi
add edx, edi
push ecx
push edx
call fcn.00430150
add esp, 0xc
mov eax, dword [esi]
mov dword [edi], eax
jmp 0x40d9a8
mov eax, dword [ebx]
test eax, eax
jbe 0x40d994
mov edx, dword [esi + eax*4]
xor edx, dword [ebx + eax*4]
jne 0x40d994
dec eax
test eax, eax
ja 0x40d987
mov dword [edi], eax
test eax, eax
jbe 0x40d9a8
mov ecx, dword [esi + eax*4]
xor ecx, dword [ebx + eax*4]
mov dword [edi + eax*4], ecx
dec eax
test eax, eax
ja 0x40d99a
pop edi
pop esi
pop ebx
ret
Function at 0x416410
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
add esp, 0xffffff70
xor eax, eax
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
xor edx, edx
mov dword [esp + 8], edx
mov esi, dword [esp + 8]
jmp 0x41648d
xor eax, eax
mov edx, dword [esp]
add edx, esi
add edx, eax
mov cl, byte [edx + 1]
mov byte [esp + eax + 0x19], cl
mov bl, byte [edx]
sub bl, cl
mov byte [esp + eax + 0x18], bl
mov dl, byte [edx + 2]
sub dl, cl
mov byte [esp + eax + 0x1a], dl
add eax, 3
cmp eax, 0x78
jl 0x41643b
mov ebx, 3
mov cl, byte [esp + ebx + 0x18]
sub cl, byte [esp + ebx + 0x15]
movsx ecx, cl
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 8]
add dword [esp + edx*4 + 0xc], eax
inc ebx
cmp ebx, 0x78
jl 0x416467
add esi, 0x780
mov eax, dword [esp + 4]
add eax, 0xffffff88
cmp esi, eax
jl 0x416439
inc dword [esp + 8]
cmp dword [esp + 8], 2
jle 0x416433
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
cmp edx, eax
jb 0x4164b9
cmp eax, dword [esp + 0x14]
ja 0x4164b9
xor eax, eax
jmp 0x4164cb
cmp edx, dword [esp + 0x14]
ja 0x4164c6
mov eax, 1
jmp 0x4164cb
mov eax, 2
add esp, 0x90
pop esi
pop ebx
ret
Function at 0x417b4c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, eax
push esi
push ecx
mov al, byte [edx + 0x5769]
mov byte [ebx + 0x14a1], al
mov cl, byte [edx + 0x576a]
mov byte [ebx + 0x14a0], cl
mov eax, dword [edx + 0x55b8]
mov dword [ebx + 0x149c], eax
lea eax, [ebx + 0x60b0]
mov ecx, dword [edx + 0x4c00]
add edx, 0x55c0
mov dword [ebx + 0x60a4], ecx
call fcn.0041ae80
mov edx, dword [ebx + 0x20]
cmp edx, 0x400000
jae 0x417bf0
mov eax, dword [ebx + 0x149c]
cmp edx, eax
jbe 0x417bc3
mov esi, 0x400000
sub esi, edx
jmp 0x417bbc
mov edx, dword [ebx]
lea ecx, [edx + eax]
mov cl, byte [ecx + esi]
mov byte [edx + eax], cl
inc eax
cmp eax, dword [ebx + 0x20]
jb 0x417bb0
jmp 0x417bf0
xor eax, eax
mov esi, dword [ebx + 0x149c]
sub esi, dword [ebx + 0x20]
jmp 0x417bdc
mov edx, dword [ebx]
lea ecx, [edx + eax]
mov cl, byte [ecx + esi]
mov byte [edx + eax], cl
inc eax
cmp eax, dword [ebx + 0x20]
jb 0x417bd0
xor eax, eax
mov dword [ebx + 0x149c], eax
mov byte [ebx + 0x14a1], 1
push 0x111
mov eax, dword [ebx]
push eax
add eax, dword [ebx + 0x20]
push eax
call fcn.00430150
add esp, 0xc
mov eax, dword [ebx + 0x149c]
mov dword [esp], eax
inc eax
and eax, dword [ebx + 0x24]
mov dword [ebx + 0x149c], eax
jmp 0x417d04
mov edx, dword [ebx]
xor ecx, ecx
mov cl, byte [edx + eax]
inc eax
and eax, dword [ebx + 0x24]
mov edx, dword [ebx]
movzx eax, byte [edx + eax]
shl eax, 8
mov dl, byte [ebx + 0x149c]
add ecx, eax
mov eax, ecx
mov ecx, dword [ebx + 4]
and eax, 0x3fff
mov byte [ecx + eax], dl
xor edx, edx
mov eax, dword [ebx + 0x149c]
mov ecx, dword [ebx]
mov dl, byte [ecx + eax + 2]
mov ecx, dword [edx*4 + 0x43e080]
mov edx, dword [ebx]
shl ecx, 0xa
movzx edx, byte [edx + eax + 1]
mov edx, dword [edx*4 + 0x43e080]
shl edx, 4
add ecx, edx
mov edx, dword [ebx]
movzx eax, byte [edx + eax]
add ecx, eax
mov dx, word [ebx + 0x149c]
and ecx, 0x3ffff
mov eax, ecx
mov ecx, dword [ebx + 8]
mov word [ecx + eax*2], dx
mov ecx, dword [ebx + 0x149c]
mov edx, dword [ebx]
movzx edx, byte [edx + ecx + 3]
mov edx, dword [edx*4 + 0x43e080]
shl edx, 6
add eax, edx
mov edx, dword [ebx + 0xc]
and eax, 0x3ffff
mov dword [edx + eax*4], ecx
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x149c]
mov esi, dword [ebx + 0x10]
movzx ecx, byte [ecx + edx + 4]
mov ecx, dword [ecx*4 + 0x43e080]
shl ecx, 8
add eax, ecx
and eax, dword [ebx + 0x1c]
mov ecx, dword [esi + eax*4]
and ecx, dword [ebx + 0x24]
mov dword [esi + eax*4], edx
mov edx, dword [ebx]
movzx edx, byte [edx + ecx]
xor eax, edx
test al, 0xf
je 0x417ce8
xor ecx, ecx
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 0x149c]
mov dword [eax + edx*4], ecx
mov eax, dword [ebx + 0x149c]
inc eax
and eax, dword [ebx + 0x24]
mov dword [ebx + 0x149c], eax
mov eax, dword [ebx + 0x149c]
cmp eax, dword [esp]
jne 0x417c1c
mov byte [ebx + 0x60a0], 1
mov byte [ebx + 0x1498], 1
xor edx, edx
xor ecx, ecx
mov dword [ebx + 0x974], edx
mov dword [ebx + 0x978], ecx
mov byte [ebx + 0x97c], 1
pop edx
pop esi
pop ebx
ret
Function at 0x42fd80
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
mov dword [esp], 0x20
push esp
call sub.KERNEL32.DLL_GlobalMemoryStatus
mov eax, dword [esp + 0xc]
add esp, 0x20
ret

Function at 0x435600
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x435662
call fcn.004355b0
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00430370
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.00430370
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4356c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x43ca74], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x43579a
cmp dword [0x43ca70], 0
jne 0x43579a
cmp dword [0x43cc64], 0
je 0x435754
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.0043545c
add esp, 8
mov ebx, eax
test eax, eax
jne 0x43573a
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.0043545c
add esp, 8
mov ebx, eax
test eax, eax
jne 0x43573a
lea ebx, [ebp - 0x84]
jmp 0x43573b
inc ebx
call fcn.0043567c
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x4357d5
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x43ca78
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00430370
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x43ca7b
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x4357d5
cmp dword [0x43ca70], 0
je 0x4357b4
cmp dword [0x43ca70], 0xffffffff
je 0x4357d5
push esi
call dword [0x43ca70]
pop ecx
mov eax, dword [0x43ca74]
test eax, eax
je 0x4357d5
cmp dword [0x43ca74], 0xffffffff
je 0x4357d5
cmp byte [eax], 0
je 0x4357d5
push esi
push eax
call fcn.00435600
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436710
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 4], eax
cmp dword [0x438248], 0
jne 0x43673c
push 0x1019
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x43673c
xor eax, eax
jmp 0x436770
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp eax, 0xfffffffe
je 0x43674b
xor eax, eax
jmp 0x436770
push 0x10022
call dword [ebp - 4]
test eax, eax
jne 0x436768
mov ecx, section..text
sub ecx, 0x51615
mov dword [0x43824c], ecx
mov eax, dword [0x43824c]
add eax, 4
mov esp, ebp
pop ebp
ret

Function at 0x4368e0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
jmp 0x4368f8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jae 0x43699c
mov edx, dword [ebp - 4]
sub edx, 0x231d
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + eax*2 + 0x463a]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
shr eax, 0xc
cmp eax, 3
jne 0x436997
mov ecx, dword [ebp - 8]
push ecx
call fcn.00436dd0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x436956
push 0x154b
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x436956
xor eax, eax
jmp 0x43699c
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax - 0x4c3f8]
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + edx]
add ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov edx, dword [ebp + 0x10]
mov dword [edx + eax], ecx
mov eax, dword [ebp - 8]
sub eax, 0x4c3f8
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
sub edx, eax
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
jmp 0x4368ef
mov esp, ebp
pop ebp
ret
Function at 0x304e4b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1caa000]
push edi
or ebp, 0xffffffff
jmp 0x304e4d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x304e4d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x304e4c8
mov eax, 1
add ebx, ebx
jne 0x304e4eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x304e4fc
jne 0x304e51b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x304e51b
dec eax
add ebx, ebx
jne 0x304e508
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x304e4e0
add ebx, ebx
jne 0x304e517
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x304e56d
xor ecx, ecx
sub eax, 3
jb 0x304e533
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x304e5a2
sar eax, 1
mov ebp, eax
jmp 0x304e53e
add ebx, ebx
jne 0x304e53e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x304e50c
inc ecx
add ebx, ebx
jne 0x304e54c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x304e50c
add ebx, ebx
jne 0x304e559
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x304e54e
jne 0x304e56a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x304e54e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x304e58c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x304e57e
jmp 0x304e4ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x304e58c
add edi, ecx
jmp 0x304e4ce
pop esi
mov edi, esi
mov ecx, 0x387e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x304e5aa
cmp byte [edi], 0x12
jne 0x304e5aa
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 0x304e5af
lea edi, [esi + 0x2c4b000]
mov eax, dword [edi]
or eax, eax
je 0x304e627
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2c5adf8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2c5aebc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x304e5dc
mov ecx, edi
jns 0x304e60b
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 + 0x2c5aec4]
or eax, eax
je 0x304e621
mov dword [ebx], eax
add ebx, 4
jmp 0x304e5f9
call dword [esi + 0x2c5aec0]
mov ebp, dword [esi + 0x2c5aec8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x304e65b
sub esp, 0xffffff80
jmp 0x4711ce
Function at 0x4148bc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46fc68]
jne 0x4148c6
repz ret
jmp fcn.0041887b

Function at 0x421141
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.00418dcf
and dword [ebp - 4], 0
cmp dword [0x4746d0], 0
mov ebx, eax
jne 0x4211f2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4212a3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4212a3
push eax
call fcn.00418d5d
mov dword [esp], 0x456df4
push edi
mov dword [0x4746d0], eax
call esi
push eax
call fcn.00418d5d
mov dword [esp], 0x456de0
push edi
mov dword [0x4746d4], eax
call esi
push eax
call fcn.00418d5d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4746d8], eax
call esi
push eax
call fcn.00418d5d
pop ecx
mov dword [0x4746e0], eax
test eax, eax
je 0x4211f2
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00418d5d
pop ecx
mov dword [0x4746dc], eax
mov eax, dword [0x4746dc]
cmp eax, ebx
je 0x42124a
cmp dword [0x4746e0], ebx
je 0x42124a
push eax
call fcn.00418dd8
push dword [0x4746e0]
mov esi, eax
call fcn.00418dd8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42124a
test edi, edi
je 0x42124a
call esi
test eax, eax
je 0x421241
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x421241
test byte [ebp - 0xc], 1
jne 0x42124a
or dword [ebp + 0x10], 0x200000
jmp 0x421283
mov eax, dword [0x4746d4]
cmp eax, ebx
je 0x421283
push eax
call fcn.00418dd8
pop ecx
test eax, eax
je 0x421283
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x421283
mov eax, dword [0x4746d8]
cmp eax, ebx
je 0x421283
push eax
call fcn.00418dd8
pop ecx
test eax, eax
je 0x421283
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4746d0]
call fcn.00418dd8
pop ecx
test eax, eax
je 0x4212a3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4212a5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4260c0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4
Function at 0x42b430
Capabilities:
Check if file exists

Disassembly:
sub esp, 0xe7c
mov eax, dword [0x46fc68]
xor eax, esp
mov dword [esp + 0xe78], eax
mov eax, dword [esp + 0xe80]
push ebx
mov ebx, dword [esp + 0xe94]
push esi
mov esi, dword [esp + 0xe8c]
push edi
mov edi, dword [esp + 0xe98]
push 0x27
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.0042b3f0
add esp, 0xc
test eax, eax
jne 0x42b63e
push ebp
push 2
call fcn.0042b3c0
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyW]
add esp, 4
push eax
lea edx, [esp + 0x68c]
push edx
call ebp
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x68c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push edi
mov edi, dword [esp + 0xe9c]
push edi
push esi
push str.File
lea edx, [esp + 0x698]
push edx
push 0x80000002
call fcn.0044ad10
add esp, 0x18
test eax, eax
jne 0x42b630
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsFileSpecW]
test eax, eax
je 0x42b558
test ebx, ebx
jne 0x42b537
push 0x104
lea eax, [esp + 0x26c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x42b62c
lea ecx, [esp + 0x268]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push esi
lea edx, [esp + 0x26c]
push edx
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push edi
lea ecx, [esp + 0x64]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
xor eax, eax
jmp 0x42b63d
push esi
push ebx
lea edx, [esp + 0x68]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push edi
lea eax, [esp + 0x64]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
xor eax, eax
jmp 0x42b63d
push 0x104
lea ecx, [esp + 0x26c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x42b62c
lea edx, [esp + 0x268]
push edx
lea eax, [esp + 0x474]
push eax
call ebp
push str..sxs
lea ecx, [esp + 0x474]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea edx, [esp + 0x470]
push edx
call edi
test eax, eax
je 0x42b62c
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test ebx, ebx
jne 0x42b600
mov ebx, eax
lea eax, [esp + 0x268]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push ebx
lea ecx, [esp + 0x26c]
push ecx
lea edx, [esp + 0x68]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x60]
push eax
call edi
test eax, eax
je 0x42b62c
mov ecx, dword [esp + 0xe98]
push ecx
lea edx, [esp + 0x64]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
xor eax, eax
jmp 0x42b63d
push eax
push ebx
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x60]
push ecx
call edi
test eax, eax
je 0x42b62c
mov edx, dword [esp + 0xe98]
push edx
lea eax, [esp + 0x64]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
xor eax, eax
jmp 0x42b63d
sub eax, 5
neg eax
sbb eax, eax
and eax, 0xfffffff7
add eax, 0xe
pop ebp
mov ecx, dword [esp + 0xe84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004148bc
add esp, 0xe7c
ret
Function at 0x42b660
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x878
mov eax, dword [0x46fc68]
xor eax, esp
mov dword [esp + 0x874], eax
mov eax, dword [esp + 0x87c]
mov ecx, dword [esp + 0x888]
push ebp
mov ebp, dword [esp + 0x884]
push esi
mov esi, dword [esp + 0x898]
push edi
mov edi, dword [esp + 0x898]
push 0x27
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x18], ecx
call fcn.0042b3f0
add esp, 0xc
test eax, eax
jne 0x42b7f2
push ebx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x478]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
lea edx, [esp + 0x478]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
test esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jne 0x42b721
push 0x104
lea eax, [esp + 0x270]
push eax
push 0
call ebx
test eax, eax
je 0x42b79c
lea ecx, [esp + 0x26c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [esp + 0x474]
push edx
lea eax, [esp + 0x270]
push eax
lea ecx, [esp + 0x6c]
push ecx
jmp 0x42b72f
lea edx, [esp + 0x474]
push edx
push esi
lea eax, [esp + 0x6c]
push eax
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
call edi
lea ecx, [esp + 0x64]
push ecx
push 0x104
lea edx, [esp + 0x684]
push edx
push 0
push str.Filename
push str.Info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x42b79c
test esi, esi
jne 0x42b7a3
push 0x104
lea eax, [esp + 0x270]
push eax
push esi
call ebx
test eax, eax
je 0x42b79c
lea ecx, [esp + 0x26c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [esp + 0x67c]
push edx
lea eax, [esp + 0x270]
push eax
lea ecx, [esp + 0x6c]
push ecx
jmp 0x42b7b1
mov eax, 0xf
jmp 0x42b7f1
lea edx, [esp + 0x67c]
push edx
push esi
lea eax, [esp + 0x6c]
push eax
call edi
lea ecx, [esp + 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
add esi, 1
test ebp, ebp
je 0x42b7e9
cmp dword [esp + 0x894], esi
jae 0x42b7dd
mov eax, dword [esp + 0x10]
mov dword [eax], esi
mov eax, 0xa
jmp 0x42b7f1
lea ecx, [esp + 0x64]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [esp + 0x10]
xor eax, eax
mov dword [edx], esi
pop ebx
mov ecx, dword [esp + 0x880]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004148bc
add esp, 0x878
ret

Function at 0x42b810
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
test eax, eax
jle 0x42b87a
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov dword [ebp - 4], 0
jmp 0x42b850
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 8
jge 0x42b878
mov eax, dword [ebp + 8]
and eax, 1
je 0x42b86e
mov ecx, dword [ebp + 8]
shr ecx, 1
xor ecx, 0xedb88320
mov dword [ebp + 8], ecx
jmp 0x42b876
mov edx, dword [ebp + 8]
shr edx, 1
mov dword [ebp + 8], edx
jmp 0x42b847
jmp 0x42b814
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret