joyce8/EMBER2024-capa huggingface dataset:
Function at 0x94af20
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x989726
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x9a2014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x414], ebx
push 0
mov dword [ebp - 0x414], ebx
call fcn.00978b63
push eax
call fcn.00976660
add esp, 8
call fcn.0097663f
cdq
mov ecx, 0x3313
idiv ecx
mov edi, edx
call fcn.0097663f
mov ecx, eax
mov eax, 0x55555556
imul ecx
mov esi, edx
shr esi, 0x1f
add esi, edx
imul esi, edi
call fcn.0097663f
imul edx, eax, 0x4d
lea ecx, [ebp - 0x444]
add edx, 0x64
add edx, esi
call fcn.009445b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x444]
cmp dword [ebp - 0x430], 0x10
lea edx, [ebp - 0x410]
cmovae eax, dword [ebp - 0x444]
sub edx, eax
nop
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x94afd0
lea esi, [ebp - 0x410]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x94afe6
push 0x40
push 0
push 0x9a8560
sub esi, ecx
call fcn.009740f0
add esp, 0xc
mov dword [0x9a8554], 0
mov edx, esi
mov dword [0x9a8550], 0
lea ecx, [ebp - 0x410]
mov dword [0x9a8540], 0x67452301
mov dword [0x9a8544], 0xefcdab89
mov dword [0x9a8548], 0x98badcfe
mov dword [0x9a854c], 0x10325476
call fcn.00945530
call fcn.009455f0
mov ecx, 0x9a65a0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x94b071
sub ecx, edx
push ecx
push 0x9a65a0
lea ecx, [ebp - 0x42c]
call fcn.009580c0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x430]
cmp edx, 0x10
jb 0x94b0cc
mov ecx, dword [ebp - 0x444]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x94b0c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x94b18c
push edx
push ecx
call fcn.0095d663
add esp, 8
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x41c]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
cmp eax, 1
jb 0x94b187
dec eax
mov ecx, 0xa
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
push ecx
inc eax
mov ecx, ebx
push eax
call fcn.009580c0
mov edx, dword [ebp - 0x418]
cmp edx, 0x10
jb 0x94b169
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x94b15f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x94b18c
push edx
push ecx
call fcn.0095d663
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0095cff1
mov esp, ebp
pop ebp
ret
call fcn.00958200
call fcn.00976c6a
int3
Function at 0x95dcc7
Capabilities:
Parse pe header

Disassembly:
push 0
call 0x2600307
nop
test eax, eax
je 0x95dd07
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x95dd07
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x95dd07
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x95dd07
cmp dword [ecx + 0x74], 0xe
jbe 0x95dd07
cmp dword [ecx + 0xe8], 0
je 0x95dd07
mov al, 1
ret
xor al, al
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp int.00401219
Function at 0x10055c7
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x10055e2
test al, 0x10
je 0x10055e2
inc esi
mov eax, esi
pop esi
pop ebp
ret 4

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1005609
test al, 0x10
je 0x1005609
inc esi
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x1005eb7
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov eax, 0x80004005
mov esi, eax
mov dword [section..data], eax
lea eax, [ebp - 8]
push eax
xor ebx, ebx
push ebx
push dword [ebp + 8]
push 0x1005a46
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, ebx
je 0x1005f2a
mov byte [ebp - 1], 1
push 0x3e8
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
je 0x1005f15
cmp eax, 0x102
jne 0x1005f23
push dword [ebp + 8]
call fcn.01005e56
cmp eax, ebx
jge 0x1005f1e
mov esi, eax
jmp 0x1005f1b
mov esi, dword [section..data]
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
jne 0x1005eee
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x1006659
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x100a2d8
call fcn.010067c0
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x100cf2c
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x100646e
cmp eax, esi
jne 0x1006461
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x1006471
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1006448
xor esi, esi
inc esi
mov eax, dword [0x100cf28]
cmp eax, esi
jne 0x1006484
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x10064bf
mov eax, dword [0x100cf28]
test eax, eax
jne 0x10064b9
mov dword [0x100cf28], esi
push 0x1001218
push 0x100120c
call fcn.010063c5
pop ecx
pop ecx
test eax, eax
je 0x10064bf
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x1006589
mov dword [0x100c374], esi
mov eax, dword [0x100cf28]
cmp eax, esi
jne 0x10064e3
push 0x1001208
push 0x1001200
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100cf28], 2
cmp dword [ebp - 0x1c], ebx
jne 0x10064f0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100cf34], ebx
je 0x1006511
push 0x100cf34
call fcn.01006fe9
pop ecx
test eax, eax
je 0x1006511
push ebx
push 2
push ebx
call dword [0x100cf34]
push dword [0x100c35c]
push dword [0x100c360]
push dword [0x100c358]
call fcn.01004caf
add esp, 0xc
mov dword [0x100c370], eax
cmp dword [0x100c364], ebx
jne 0x100656f
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x100c374], ebx
jne 0x100657d
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x100c370]
call fcn.01006805
ret
call fcn.01007136
jmp 0x1006426

Function at 0x1008907
Capabilities:
Timestomp file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call sub.KERNEL32.dll_GetFileTime
test eax, eax
jne 0x100892c
or eax, 0xffffffff
jmp 0x1008948
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
call sub.KERNEL32.dll_SetFileTime
neg eax
sbb eax, eax
and eax, 2
dec eax
leave
ret 8
Function at 0x10090b9
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x100b004]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
cmp dword [0x100c6a8], edi
jne 0x10091d5
push esi
mov esi, 0x11c
push esi
lea eax, [ebp - 0x120]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x1009120
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call esi
mov eax, dword [ebp - 0x110]
dec eax
mov dword [0x100c6a8], edi
pop esi
je 0x10091a8
dec eax
jne 0x10091d5
cmp dword [ebp - 0x11c], 5
jne 0x1009195
mov eax, dword [ebp - 0x118]
sub eax, edi
je 0x1009189
dec eax
je 0x1009176
dec eax
je 0x100915c
mov dword [0x100c6a8], 0x14
jmp 0x10091d5
cmp word [ebp - 0xc], 1
jb 0x100916d
mov dword [0x100c6a8], 0x10
or dword [0x100c6a8], 4
jmp 0x10091d5
cmp word [ebp - 0xc], 2
jb 0x100916d
mov dword [0x100c6a8], 8
jmp 0x100916d
mov dword [0x100c6a8], 4
jmp 0x10091d5
cmp dword [ebp - 0x11c], 4
ja 0x10091e7
mov dword [0x100c6a8], 2
cmp dword [ebp - 0x11c], 4
jne 0x10091d5
cmp dword [ebp - 0x118], edi
je 0x10091cb
cmp dword [ebp - 0x118], 0xa
je 0x10091cb
cmp dword [ebp - 0x118], 0x5a
jne 0x10091d5
mov dword [0x100c6a8], 1
mov ecx, dword [ebp - 4]
mov eax, dword [0x100c6a8]
xor ecx, ebp
pop edi
call fcn.01006668
leave
ret
mov dword [0x100c6a8], 0x20
jmp 0x10091d5

Function at 0x10091f8
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x100b004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20
lea eax, [ebp - 0x44]
push eax
push 8
push 0x404
mov esi, 0xc04
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100924c
push 3
lea eax, [ebp - 0x44]
push 0x10018a0
push eax
call sub.msvcrt.dll_wcsncmp
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffff800
add esi, 0xc04
mov ecx, dword [ebp - 4]
mov ax, si
xor ecx, ebp
pop esi
call fcn.01006668
leave
ret

Function at 0x1009261
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100b004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
cmp ax, word [0x100c6ac]
jne 0x10092fc
push esi
lea eax, [ebp - 0x10]
push eax
push 1
xor esi, esi
push esi
push 0x10017d0
push 0x80000002
mov dword [ebp - 0x14], 6
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10092fb
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push 0x1001888
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x10092fb
push 3
push dword [esi*8 + 0x1001620]
lea eax, [ebp - 0xc]
push eax
call sub.msvcrt.dll__wcsnicmp
add esp, 0xc
test eax, eax
je 0x10092ed
inc esi
cmp esi, 0x1c
jb 0x10092cc
jmp 0x10092fb
mov ax, word [esi*8 + 0x1001624]
mov word [0x100c6ac], ax
pop esi
mov ecx, dword [ebp - 4]
mov ax, word [0x100c6ac]
xor ecx, ebp
call fcn.01006668
leave
ret
Function at 0x100bc473
Capabilities:
Get number of processors

Disassembly:
jmp 0x100b0794
call fcn.100b077f
salc
arpl word [ebp - 0x79], cx
loop 0x100b078a
adc eax, 0x24748b56
add al, 0x8d
mov dh, 0xd4
adc byte [edx], al
add byte [ecx + 0x5e042474], cl
push edx
mov dword [esp], ebp
push esp
pop ebp
push ebp
mov ebp, esp
add ebp, 4
sub ebp, 0x80
xchg dword [esp], ebp
pop esp
sub esp, 4
mov dword [esp], ebx
push edi
mov dword [esp], esi
push 0x188b
mov dword [esp], edi
jmp 0x100d63b3
push ebx
mov ebx, 8
add ebx, ebp
mov eax, dword [ebx]
pop ebx
sub esp, 4
mov dword [esp], eax
jmp 0x100cf1dd
jmp 0x100bb476
push 0
push 0x41797261
push 0x7262694c
push 0x64616f4c
lea ecx, [ebp - 0x2c]
sub esp, 4
mov dword [esp], ecx
jmp 0x100ca856
push ecx
mov ecx, dword [esp + 4]
lea ecx, [ecx + 0x1983f]
mov dword [esp + 4], ecx
pop ecx
jmp 0x100d2e32
jmp 0x100ca86d
call fcn.100ca858
adc byte [eax - 0x77], dl
loopne 0x100ca87c
add al, 0
add byte [eax], al
add eax, 4
xchg dword [esp], eax
pop esp
rol byte [edi + eax*4], 4
and al, 0x5c
push eax
pop dword [ebp - 4]
push ecx
mov ecx, 0xc
add ecx, ebp
mov eax, dword [ecx]
pop ecx
push esi
mov dword [esp], eax
push dword [ebp - 4]
sub dword [esp], 0x3f8325ed
pop ecx
add ecx, 0x3f8325ed
push esi
mov dword [esp], ecx
push eax
mov eax, 8
add eax, ebp
mov edx, dword [eax]
pop eax
push eax
mov eax, 0x64
add edx, eax
pop eax
push ebx
mov dword [esp], edx
jmp 0x100b077d
jmp 0x100cf1f4
call fcn.100cf1df
or eax, dword [ebp + 0x68]
mov byte [eax], 0
jmp 0x100b0bce
push esi
mov esi, 0x6114390f
xor esi, 0x61143917
mov eax, esi
pop esi
mov eax, dword fs:[eax]
push eax
pop dword [ebp - 4]
push dword [ebp - 4]
pop eax
push dword [eax + 0x30]
sub dword [esp], 0x63f80c4b
pop ecx
add ecx, 0x63f80c4b
push eax
mov eax, 0xfffffff8
add eax, ebp
mov dword [eax], ecx
pop eax
push dword [ebp - 8]
pop edx
push ecx
mov ecx, 8
add ecx, edx
mov eax, dword [ecx]
pop ecx
push edx
mov edx, 0xffffffec
add edx, ebp
mov dword [edx], eax
pop edx
push ebx
mov ebx, 0
mov dword [ebp - 0x10], ebx
pop ebx
cmp dword [ebp - 0x10], 0
je 0x100b1698
jmp 0x100b2265

Function at 0x100db6f2
Capabilities:
Access peb ldr_data

Disassembly:
push eax
mov eax, dword [esp + 4]
lea eax, [eax - 0x4e23]
mov dword [esp + 4], eax
pop eax
jmp 0x100caa70

Function at 0x103d7d58
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], ecx
cmp eax, 0x1000
lea ecx, [esp + 8]
jb 0x103d7db6
jmp 0x103d7d75
push ebx
mov ebx, 0x1000
sub ecx, ebx
pop ebx
push esi
mov esi, 0x42603735
add esi, 0x62b848ad
not esi
xor esi, 0xa3b2af6
xor esi, 0x5731f4a
shr esi, 4
xor esi, 0x55aeb5a
sub eax, esi
pop esi
test dword [ecx], eax
cmp eax, 0x1000
jae 0x103d7d75
jmp 0x103d7db6
sub ecx, 0x42861a21
sub ecx, eax
add ecx, 0x42861a21
push esp
pop eax
test dword [ecx], eax
mov esp, ecx
push dword [eax]
pop ecx
push dword [eax + 4]
xor dword [esp], 0x1d9f7243
pop eax
xor eax, 0x1d9f7243
push ecx
mov dword [esp], eax
ret
Function at 0x41425c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
mov edi, eax
shr edi, 8
mov esi, eax
shr esi, 0x18
and edi, 0xff00
add esi, edi
mov edi, eax
and edi, 0xff00
and eax, 0xff
shl edi, 8
mov ebx, 0x4193f0
shl eax, 0x18
add esi, edi
add esi, eax
mov eax, esi
not eax
jmp 0x4142ad
movzx edi, byte [edx]
mov esi, eax
inc edx
shr esi, 0x18
xor esi, edi
shl eax, 8
mov esi, dword [ebx + esi*4 + 0x1000]
xor esi, eax
dec ecx
mov eax, esi
test ecx, ecx
je 0x4142b6
test dl, 3
jne 0x414293
sub edx, 4
cmp ecx, 0x20
jb 0x4144ee

Function at 0x4243c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
or ebp, 0xffffffff
jmp 0x4243e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4243e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4243d8
mov eax, 1
add ebx, ebx
jne 0x4243fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4243f0
jne 0x42440c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4243f0
xor ecx, ecx
sub eax, 3
jb 0x424420
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x424492
mov ebp, eax
add ebx, ebx
jne 0x42442b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x424438
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42445c
inc ecx
add ebx, ebx
jne 0x424448
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42443d
jne 0x424459
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42443d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42447c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42446d
jmp 0x4243de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42447c
add edi, ecx
jmp 0x4243de
pop esi
mov edi, esi
mov ecx, 0x941
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42449a
cmp byte [edi], 6
jne 0x42449a
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 0x42449f
lea edi, [esi + 0x22000]
mov eax, dword [edi]
or eax, eax
je 0x42450e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x242a8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2430c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4244cc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x24310]
or eax, eax
je 0x424508
mov dword [ebx], eax
add ebx, 4
jmp 0x4244e9
call dword [esi + 0x24314]
popal
jmp 0x413030
Function at 0x40142c
Capabilities:
Identify system language via api
Read .ini file

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x3c]
mov ecx, ebx
call fcn.00406e1e
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0
mov ebp, str.Startup
push str.copy
push ebp
call edi
test eax, eax
setne al
mov ecx, ebx
mov byte [esi + 6], al
call fcn.00406e1e
push eax
push 1
push str.engine
push ebp
call edi
neg eax
sbb al, al
and byte [esp + 0x10], 0
inc al
lea edi, [esp + 0x11]
mov byte [esi + 5], al
xor eax, eax
mov ecx, ebx
stosw word es:[edi], ax
call fcn.00406e1e
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea eax, [esp + 0x14]
push 3
push eax
push 0x40a630
push str.EnableLangDlg
push ebp
call edi
cmp eax, 1
jne 0x4014be
cmp byte [esp + 0x10], 0x79
je 0x4014ba
cmp byte [esp + 0x10], 0x59
jne 0x4014be
mov byte [esi + 8], 1
mov ecx, ebx
call fcn.00406e1e
push eax
lea eax, [esi + 0x48]
push 0x1f4
push eax
push 0x40a630
push str.AppName
push ebp
call edi
mov ecx, ebx
call fcn.00406e1e
push eax
push 1
mov ebp, str.Languages
push str.count
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
and dword [esp + 0x14], 0
mov dword [esi + 0x244], eax
test eax, eax
jle 0x40156a
lea eax, [esi + 0x248]
mov dword [esp + 0x18], eax
push dword [esp + 0x14]
lea eax, [esp + 0x2c]
push str.key_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov ecx, ebx
call fcn.00406e1e
push eax
lea eax, [esp + 0x20]
push 0xa
push eax
lea eax, [esp + 0x34]
push str.0x0009
push eax
push ebp
call edi
lea eax, [esp + 0x1e]
push eax
call fcn.00407337
inc dword [esp + 0x18]
pop ecx
mov ecx, dword [esp + 0x18]
add dword [esp + 0x18], 2
mov word [ecx], ax
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x244]
jl 0x401510
mov ecx, ebx
call fcn.00406e1e
push eax
lea eax, [esp + 0x20]
push 0xa
push eax
push str.0x0009
push str.Default
push ebp
call edi
lea eax, [esp + 0x1e]
push eax
call fcn.00407337
mov word [esi + 0x240], ax
mov ax, word [esi + 0x23c]
pop ecx
push eax
mov ecx, esi
call fcn.00401615
test al, al
jne 0x4015f8
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
lea edi, [esi + 0x312]
push eax
mov ecx, esi
mov word [edi], ax
call fcn.00401615
test al, al
jne 0x40160d
mov ax, word [edi]
mov ecx, esi
and eax, 0x3ff
or ah, 4
push eax
mov word [edi], ax
call fcn.00401615
test al, al
jne 0x40160d
push edi
mov ecx, esi
call fcn.00401643
test al, al
jne 0x40160d
mov ax, word [esi + 0x240]
mov word [edi], ax
jmp 0x40160d
mov ax, word [esi + 0x23c]
mov byte [esi + 0x23e], 1
mov word [esi + 0x312], ax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x401d2c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x22a], bl
jne 0x401e4f
cmp byte [esi + 0x539], bl
jne 0x401e4f
mov ax, word [esi + 0x5a8]
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceExA]
push eax
push 0x6b
push 5
push dword [esi + 0x224]
call edi
cmp eax, ebx
jne 0x401da9
mov ax, word [esi + 0x5a8]
and ax, 0x3ff
or ah, 4
push eax
push 0x6b
push 5
push dword [esi + 0x224]
call edi
cmp eax, ebx
jne 0x401da9
push 5
push 0x6b
push dword [esi + 0x224]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
je 0x401e4f
push eax
push dword [esi + 0x224]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0x401c94
push ebx
push eax
push dword [esi + 0x224]
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
mov dword [esi + 0x540], eax
lea eax, [ebp - 0xc]
push eax
push 0x9003
mov ecx, esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.00405c51
test al, al
je 0x401e2f
lea eax, [esi + 0x270]
lea ecx, [ebp - 0xc]
push eax
call fcn.00406e1e
push eax
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x400]
push eax
push 0x9102
push dword [esi + 0x540]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea ecx, [ebp - 0x14]
call fcn.004016cb
push dword [ebp - 0x18]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
lea ecx, [ebp - 8]
call fcn.004016cb
push dword [ebp - 0xc]
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403152
Capabilities:
Copy file
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0x22f], bl
jne 0x4032e8
cmp byte [esi + 0x22b], bl
jne 0x4032e8
cmp byte [esi + 0x22e], bl
je 0x4032e8
cmp byte [esi + 0x228], bl
jne 0x4032e8
lea eax, [ebp - 0x270]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x4032e8
lea eax, [ebp - 0x16c]
push eax
push ebx
lea eax, [ebp - 0x270]
push 0x40a310
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x4032e8
lea eax, [ebp - 0x16c]
push ebx
push eax
lea ecx, [esi + 0x240]
call fcn.00406e1e
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x4032e8
push edi
push ebx
push 0x4000000
push 3
push ebx
push 1
lea eax, [ebp - 0x16c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0x10
mov dword [ebp - 8], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x64]
push str.__clone_of_
rep stosd dword es:[edi], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x68], 0x44
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantInit]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x24c]
mov dword [ebp - 0x10], ebx
push eax
mov dword [ebp - 4], eax
call edi
push eax
lea ecx, [ebp - 0x14]
push dword [ebp - 4]
call fcn.0040171c
push 0x40a2f0
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
mov dword [ebp - 4], eax
call edi
push eax
lea ecx, [ebp - 0x14]
push dword [ebp - 4]
call fcn.0040171c
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [esi + 0x234]
push esi
call edi
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.0040171c
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
call fcn.00406e1e
push eax
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x10]
call fcn.004016cb
push dword [ebp - 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x24]
call fcn.004032ee
cmp dword [ebp - 8], 0xffffffff
pop edi
je 0x4032e4
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x4032ea
xor al, al
pop esi
pop ebx
leave
ret