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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], 0x66676869
xor eax, eax
nop
nop
nop
mov ebx, eax
add bl, 0x46
xor bl, byte [esp + eax + 4]
add bl, 0xd0
mov byte [esp + eax + 4], bl
inc eax
cmp eax, 4
jne 0x43ceb0
mov eax, dword [esp + 4]
mov ebx, dword [0x4486a8]
test ebx, ebx
je 0x43cf1e
xor ebp, ebp
mov edi, dword [0x4486ac]
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0x88822328
je 0x43cef0
inc ebp
cmp ebx, ebp
jne 0x43cee0
jmp 0x43cf1e
mov ebx, dword [edi + ebp*8 + 4]
cmp ebx, eax
je 0x43cf1e
lea eax, [esp + 4]
push 0
push 0
push edx
push ecx
push eax
push 0
push 0
push 0
push dword [esp + 0x40]
push 0x24
push ebx
push dword [0x4486b0]
call fcn.0043a9b0
add esp, 0x30
cmp eax, 0x103
jne 0x43cf99
mov dword [esp], 0x66676869
xor eax, eax
nop
nop
mov ecx, eax
add cl, 0x46
xor cl, byte [esp + eax]
add cl, 0xd0
mov byte [esp + eax], cl
inc eax
cmp eax, 4
jne 0x43cf30
mov eax, dword [esp]
mov ecx, dword [0x4486a8]
test ecx, ecx
je 0x43cf91
xor edx, edx
mov edi, dword [0x4486ac]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0xa67d73aa
je 0x43cf70
inc edx
cmp ecx, edx
jne 0x43cf60
jmp 0x43cf91
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x43cf91
push 0
push 0
push dword [esp + 0x28]
push 0xc
push ecx
push dword [0x4486b0]
call fcn.0043a9b0
add esp, 0x18
test eax, eax
js 0x43cf99
mov eax, dword [esp + 4]
test esi, esi
je 0x43cfa3
mov ecx, dword [esp + 8]
mov dword [esi], ecx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x43cfb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
xor ebx, ebx
nop
nop
nop
cmp word [edi + ebx], 0
lea ebx, [ebx + 2]
jne 0x43cfd0
add ebx, 0xfffffffe
and ebx, 0xfffe
mov word [esp + 4], bx
add ebx, 2
mov word [esp + 6], bx
mov dword [esp + 8], edi
mov dword [esp + 0xc], 0x18
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 0x40
lea eax, [esp + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp], 0x66676869
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
add bl, 0x46
xor bl, byte [esp + eax]
add bl, 0xd0
mov byte [esp + eax], bl
inc eax
cmp eax, 4
jne 0x43d030
mov eax, dword [esp]
mov edi, dword [0x4486a8]
test edi, edi
je 0x43d092
xor ebx, ebx
mov ebp, dword [0x4486ac]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0xb7847e1b
je 0x43d071
inc ebx
cmp edi, ebx
jne 0x43d060
jmp 0x43d092
mov edi, dword [ebp + ebx*8 + 4]
cmp edi, eax
je 0x43d092
lea eax, [esp + 0xc]
push esi
push eax
push edx
push ecx
push 0x10
push edi
push dword [0x4486b0]
call fcn.0043a9b0
add esp, 0x1c
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43d0a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, dword [esp + 0x2c]
mov dword [esp], 0x66676869
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x46
xor cl, byte [esp + eax]
add cl, 0xd0
mov byte [esp + eax], cl
inc eax
cmp eax, 4
jne 0x43d0c0
mov ebx, dword [esp]
mov edi, dword [0x4486a8]
test edi, edi
je 0x43d12e
xor ecx, ecx
mov edx, dword [0x4486ac]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x29df508e
je 0x43d100
inc ecx
cmp edi, ecx
jne 0x43d0f0
jmp 0x43d12e
mov edx, dword [edx + ecx*8 + 4]
cmp edx, ebx
je 0x43d12e
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0
push dword [esp + 0x38]
push dword [esp + 0x38]
push 0x18
push edx
push dword [0x4486b0]
call fcn.0043a9b0
add esp, 0x24
mov ebx, eax
mov dword [esp], 0x6454460
mov eax, 0xdcad949b
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x23526b65]
xor ecx, eax
mov edx, ecx
and edx, 0x25
mov edi, ecx
and edi, 2
mov ebp, edi
xor ebp, 2
imul ebp, edx
or edx, 2
imul edx, edi
xor ecx, 0x27
add ecx, ebp
add ecx, edx
inc cl
mov byte [esp + eax + 0x23526b65], cl
inc eax
cmp eax, 0xdcad949f
jne 0x43d140
mov ebp, ebx
cmp ebx, dword [esp]
jne 0x43d2d9
push dword [esp + 4]
call fcn.00438e30
add esp, 4
mov edi, eax
mov ebx, dword [esp + 4]
mov dword [esp], 0x66676869
xor edx, edx
mov ecx, edx
add cl, 0x46
xor cl, byte [esp + edx]
add cl, 0xd0
mov byte [esp + edx], cl
inc edx
cmp edx, 4
jne 0x43d1a0
mov ebp, dword [esp]
mov edx, dword [0x4486a8]
test edx, edx
je 0x43d22c
mov dword [esp + 0xc], ebx
mov ebx, edi
mov ecx, ebp
xor edi, edi
mov ebp, dword [0x4486ac]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + edi*8], 0x29df508e
je 0x43d1f3
inc edi
cmp edx, edi
jne 0x43d1e0
mov ebp, ecx
jmp 0x43d22a
mov edx, dword [ebp + edi*8 + 4]
mov ebp, ecx
cmp edx, ecx
mov edi, ebx
je 0x43d22c
lea ecx, [esp + 4]
push ecx
push dword [esp + 0x10]
push edi
push 0
push dword [esp + 0x38]
push dword [esp + 0x38]
push 0x18
push edx
push dword [0x4486b0]
mov edi, eax
call fcn.0043a9b0
add esp, 0x24
mov ebp, eax
mov eax, edi
mov edi, ebx
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x43d2d0
test ebp, ebp
js 0x43d2d0
test esi, esi
je 0x43d2c9
mov ecx, dword [edi + 0xc]
shr ecx, 1
mov edx, dword [ebx]
cmp edx, ecx
jb 0x43d255
mov edx, ecx
test edx, edx
je 0x43d2c4
add eax, 0x10
test dl, 1
mov dword [esp + 8], edi
mov ecx, edx
je 0x43d288
not ecx
lea ecx, [ecx + edx*2]
movzx edi, word [eax]
xor ebx, ebx
test di, di
setne bl
lea eax, [eax + ebx*2]
mov word [esi], di
mov edi, dword [esp + 8]
mov ebx, dword [esp + 0x30]
add esi, 2
cmp edx, 1
je 0x43d2c4
nop
nop
nop
movzx edx, word [eax]
xor ebx, ebx
test dx, dx
setne bl
lea edi, [eax + ebx*2]
mov word [esi], dx
movzx edx, word [eax + ebx*2]
xor eax, eax
test dx, dx
setne al
lea eax, [edi + eax*2]
mov word [esi + 2], dx
add esi, 4
add ecx, 0xfffffffe
jne 0x43d290
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 8]
mov word [esi], 0
mov eax, dword [edi + 0xc]
shr eax, 1
mov dword [ebx], eax
push edi
call fcn.00438e70
add esp, 4
mov eax, ebp
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40a720
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x409015
lea edi, [esi - 0x8015]
push edi
or ebp, 0xffffffff
jmp 0x40a742
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40a749
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40a738
mov eax, 1
add ebx, ebx
jne 0x40a75b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40a750
jne 0x40a76c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a750
xor ecx, ecx
sub eax, 3
jb 0x40a780
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40a7f2
mov ebp, eax
add ebx, ebx
jne 0x40a78b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40a798
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40a7bc
inc ecx
add ebx, ebx
jne 0x40a7a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40a79d
jne 0x40a7b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a79d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40a7dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40a7cd
jmp 0x40a73e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40a7dc
add edi, ecx
jmp 0x40a73e
pop esi
mov edi, esi
mov ecx, 0x64
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40a7fa
cmp byte [edi], 2
jne 0x40a7fa
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 0x40a7ff
lea edi, [esi + 0x8000]
mov eax, dword [edi]
or eax, eax
je 0x40a86e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa03c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40a82c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa044]
or eax, eax
je 0x40a868
mov dword [ebx], eax
add ebx, 4
jmp 0x40a849
call dword [esi + 0xa040]
mov ebp, dword [esi + 0xa048]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0xa8c9]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40a8ba
sub esp, 0xffffff80
jmp 0x4014a0
Function at 0x402850
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x40287f
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004035c0
jmp 0x40289d
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00402780
mov edi, eax
test ebx, ebx
je 0x40289d
cmp dword [esi], 0
je 0x40289d
dec ebx
jmp 0x402886
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402a14
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x463030], 0x8088405
inc edx
mov dword [0x463030], edx
mul edx
mov eax, edx
ret

Function at 0x40655c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004035c0
add esp, 0x104
pop ebx
ret

Function at 0x407cdc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x407d15
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004035c0
jmp 0x407d1e
mov eax, ebx
mov edx, esi
call fcn.00403574
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x407d28
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x407d49
mov al, byte [esp]
jmp 0x407d4b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x410f60
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004034e0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x410fc1
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x410fc1
cmp byte [ebp - 0x102], 0
je 0x410fc1
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.0040363c
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412200
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x24], 0
je 0x412281
xor eax, eax
mov al, byte [ebx + 4]
mov word [ebp - 6], ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x412232
add word [ebp - 6], 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x412244
add word [ebp - 6], 0x4000
test byte [ebx + 0xb], 0x20
je 0x412250
add word [ebp - 6], 0x8000
xor ebx, ebx
movzx edx, word [ebp - 6]
mov cl, 2
mov eax, dword [ebp - 0xc]
call fcn.004120d8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x412275
push ebp
mov eax, dword [ebp - 4]
call fcn.00412174
pop ecx
mov ebx, eax
cmp bl, 2
je 0x412250
cmp dword [ebp - 4], 0
setne al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41a998
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41a99e
ret
Function at 0x4211e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x463650
cmp dword [edi], 0
jne 0x42125c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x46364c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4625d0
mov ecx, 2
call fcn.00402740
mov edx, 0x4211b8
lea eax, [esi + 5]
call fcn.004211d8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004211d8
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x421231
mov dword [0x46364c], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x421360
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4213b0]
test si, 4
je 0x421374
or bl, 1
test si, 8
je 0x42137e
or bl, 4
test si, 1
je 0x421388
or bl, 8
test si, 2
je 0x421392
or bl, 0x10
test si, 0x10
je 0x42139c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4213ab
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4213b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4213ec]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4213cd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4213dc
or bl, 4
test esi, 0x20000000
je 0x4213e7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x425380
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x463628]
cmp byte [eax + 0x7f], 0
jne 0x4253d3
cmp dword [0x463654], 0
jne 0x4253af
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, 0x42533c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x463654], eax
cmp dword [0x463658], 0
jne 0x4253d3
push esp
push 0
push 0
push 0x4252ec
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x463658], eax
pop edx
ret

Function at 0x4253d8
Capabilities:
Terminate thread

Disassembly:
cmp dword [0x463654], 0
je 0x4253ec
mov eax, dword [0x463654]
push eax
call sub.user32.dll_UnhookWindowsHookEx
xor eax, eax
mov dword [0x463654], eax
cmp dword [0x463658], 0
je 0x425409
push 0
mov eax, dword [0x463658]
push eax
call sub.kernel32.dll_TerminateThread
xor eax, eax
mov dword [0x463658], eax
ret
Function at 0x4254a8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4254bf
add esp, 0xfffffff0
call fcn.00402e10
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0040f2d4
mov dl, 1
mov eax, 0x4099d0
call fcn.00402c10
mov dword [ebx + 0x70], eax
mov dl, 1
mov eax, 0x4099d0
call fcn.00402c10
mov dword [ebx + 0x80], eax
xor eax, eax
mov dword [ebx + 0x40], eax
xor eax, eax
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x3c], 0x80000018
mov dword [ebx + 0x54], 0x1f4
mov dword [ebx + 0x58], 0x32
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x64], 0
mov byte [ebx + 0x7d], 1
mov dl, 1
mov eax, 0x41a890
call fcn.0041f7c0
mov esi, eax
mov dword [ebx + 0x78], esi
push 0x425600
mov eax, dword [0x463014]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041fb4c
mov eax, dword [ebx + 0x78]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x4268c0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x463014]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.00406758
test eax, eax
je 0x42559c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00406604
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00406738
test eax, eax
je 0x4255b0
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x6c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040363c
cmp byte [0x463034], 0
jne 0x4255e0
mov eax, ebx
call fcn.00425690
mov byte [ebx + 0x39], 1
mov byte [ebx + 0x3a], 1
cmp byte [ebp - 1], 0
je 0x4255f8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x426098
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x7e], 0
je 0x4260ca
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x20]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004035c0
jmp 0x4260d4
mov eax, esi
mov edx, dword [ebx + 0x6c]
call fcn.00403574
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x426a98
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x60]
test esi, esi
je 0x426ad0
mov eax, esi
call fcn.004184e8
test al, al
je 0x426ad0
mov eax, dword [ebx + 0x60]
call fcn.00418350
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x426ad0
push 0
mov eax, dword [ebx + 0x60]
call fcn.00418350
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x43235c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc00
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebx + 4]
call fcn.00403818
push eax
push 0x400
lea eax, [ebp - 0x400]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00403818
push eax
mov eax, edi
call fcn.00403818
push eax
mov eax, esi
call fcn.00403818
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov ecx, eax
lea edx, [ebp - 0x400]
mov eax, dword [ebp + 8]
call fcn.004035c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x432868
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x43288f
test byte [ebp - 0xc], 0x10
jne 0x43288f
test byte [ebp - 0xc], 4
je 0x432893
xor eax, eax
jmp 0x432895
mov al, 1
and eax, 0x7f
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x434834
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov word [ebp - 2], ax
movzx eax, word [ebp - 2]
mov eax, dword [eax*4 + 0x463664]
mov dword [ebp - 0x18], eax
mov word [ebp - 0xa], 1
movzx eax, word [ebp - 0xa]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 0x18]
lea eax, [edx + eax*4 + 0x7e4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 4], 0
je 0x434a05
movzx eax, word [ebp - 0xa]
mov edx, dword [ebp - 0x18]
cmp dword [edx + eax*4 + 0x944], 0
jne 0x434a05
mov word [ebp - 0xc], 0
mov word [ebp - 0xe], 0
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 2]
cmp eax, 5
ja case.0x4348a4.0
jmp dword [eax*4 + 0x4348ab]
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 8]
mov edx, dword [ebp - 0x18]
and eax, dword [edx + 0x68]
je case.0x4348a4.0
mov word [ebp - 0xc], 2
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 0x68]
mov edx, dword [ebp - 0x1c]
mov word [edx + 8], ax
jmp case.0x4348a4.0
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + 8]
and al, 0xff
mov edx, dword [ebp - 0x18]
xor al, byte [edx + 0x76]
mov byte [ebp - 0xf], al
mov eax, dword [ebp - 0x1c]
mov ax, word [eax + 8]
shr ax, 8
and byte [ebp - 0xf], al
cmp byte [ebp - 0xf], 0
je case.0x4348a4.0
mov word [ebp - 0xc], 1
jmp case.0x4348a4.0
mov ax, word [ebp - 2]
call fcn.00433f18
mov word [ebp - 0x12], ax
mov ax, word [ebp - 0x12]
mov edx, dword [ebp - 0x1c]
cmp ax, word [edx + 8]
jb case.0x4348a4.0
mov ax, word [ebp - 0x12]
mov word [ebp - 0xe], ax
mov word [ebp - 0xc], 3
jmp case.0x4348a4.0
mov ax, word [ebp - 2]
call fcn.00433eb0
mov word [ebp - 0x12], ax
mov ax, word [ebp - 0x12]
mov edx, dword [ebp - 0x1c]
cmp ax, word [edx + 8]
ja case.0x4348a4.0
mov ax, word [ebp - 0x12]
mov word [ebp - 0xe], ax
mov word [ebp - 0xc], 4
jmp case.0x4348a4.0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x9e4], 0
je case.0x4348a4.0
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [eax + 0x9e4], edx
mov word [ebp - 0xe], 0
mov word [ebp - 0xc], 5
cmp word [ebp - 0xc], 0
je 0x434a05
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x944], 1
movzx eax, word [ebp - 0xa]
mov edx, dword [ebp - 0x18]
mov dword [edx + eax*4 + 0x944], 1
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xa24], 0
je 0x4349e5
mov eax, dword [ebp - 0x1c]
mov ax, word [eax]
push eax
push 0
push 0
mov cl, 8
mov dl, 2
mov ax, word [ebp - 2]
call fcn.004374f8
mov ax, word [ebp - 0xe]
push eax
mov eax, dword [ebp - 0x1c]
mov cx, word [eax]
mov dx, 0x7e04
mov ax, word [ebp - 2]
call fcn.00434414
and eax, 0x7f
mov dword [ebp - 8], eax
jmp 0x434a19
inc word [ebp - 0xa]
cmp word [ebp - 0xa], 0xb
jne 0x434852
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x434993
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov word [ebp - 2], ax
movzx eax, word [ebp - 2]
mov eax, dword [eax*4 + 0x463664]
mov dword [ebp - 0x18], eax
mov word [ebp - 0xa], 1
movzx eax, word [ebp - 0xa]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 0x18]
lea eax, [edx + eax*4 + 0x7e4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 4], 0
je 0x434a05
movzx eax, word [ebp - 0xa]
mov edx, dword [ebp - 0x18]
cmp dword [edx + eax*4 + 0x944], 0
jne 0x434a05
mov word [ebp - 0xc], 0
mov word [ebp - 0xe], 0
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 2]
cmp eax, 5
ja case.0x4348a4.0
jmp dword [eax*4 + 0x4348ab]
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 8]
mov edx, dword [ebp - 0x18]
and eax, dword [edx + 0x68]
je case.0x4348a4.0
mov word [ebp - 0xc], 2
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 0x68]
mov edx, dword [ebp - 0x1c]
mov word [edx + 8], ax
jmp case.0x4348a4.0
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + 8]
and al, 0xff
mov edx, dword [ebp - 0x18]
xor al, byte [edx + 0x76]
mov byte [ebp - 0xf], al
mov eax, dword [ebp - 0x1c]
mov ax, word [eax + 8]
shr ax, 8
and byte [ebp - 0xf], al
cmp byte [ebp - 0xf], 0
je case.0x4348a4.0
mov word [ebp - 0xc], 1
jmp case.0x4348a4.0
mov ax, word [ebp - 2]
call fcn.00433f18
mov word [ebp - 0x12], ax
mov ax, word [ebp - 0x12]
mov edx, dword [ebp - 0x1c]
cmp ax, word [edx + 8]
jb case.0x4348a4.0
mov ax, word [ebp - 0x12]
mov word [ebp - 0xe], ax
mov word [ebp - 0xc], 3
jmp case.0x4348a4.0
mov ax, word [ebp - 2]
call fcn.00433eb0
mov word [ebp - 0x12], ax
mov ax, word [ebp - 0x12]
mov edx, dword [ebp - 0x1c]
cmp ax, word [edx + 8]
ja case.0x4348a4.0
mov ax, word [ebp - 0x12]
mov word [ebp - 0xe], ax
mov word [ebp - 0xc], 4
jmp case.0x4348a4.0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x9e4], 0
je case.0x4348a4.0
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [eax + 0x9e4], edx
mov word [ebp - 0xe], 0
mov word [ebp - 0xc], 5
cmp word [ebp - 0xc], 0
je 0x434a05
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x944], 1
movzx eax, word [ebp - 0xa]
mov edx, dword [ebp - 0x18]
mov dword [edx + eax*4 + 0x944], 1
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xa24], 0
je 0x4349e5
mov eax, dword [ebp - 0x1c]
mov ax, word [eax]
push eax
push 0
push 0
mov cl, 8
mov dl, 2
mov ax, word [ebp - 2]
call fcn.004374f8
mov ax, word [ebp - 0xe]
push eax
mov eax, dword [ebp - 0x1c]
mov cx, word [eax]
mov dx, 0x7e04
mov ax, word [ebp - 2]
call fcn.00434414
and eax, 0x7f
mov dword [ebp - 8], eax
jmp 0x434a19
inc word [ebp - 0xa]
cmp word [ebp - 0xa], 0xb
jne 0x434852
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret