joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439fb0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x487fc0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x38]
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push eax
mov dword [esp + 0x4c], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x43a0b6
call fcn.004164a0
test eax, eax
jl 0x43a0ed
lea ecx, [esp + 0x20]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x1c], ebp
jne 0x43a03a
call fcn.004164a0
test eax, eax
jl 0x43a0e2
mov ebp, dword [esp + 0x1c]
cmp dword [esp + 0x20], 0
ja 0x43a04d
cmp ebp, 0xac
jbe 0x43a0e2
push ebp
call fcn.00460f82
mov ebx, eax
add esp, 4
mov dword [esp + 0x1c], ebx
test ebx, ebx
mov byte [esp + 0x30], 1
je 0x43a0c1
mov esi, ebp
mov ecx, ebx
lea edx, [esp + 0x18]
call fcn.00434ae0
test eax, eax
jl 0x43a0c1
lea esi, [esp + 0x18]
call fcn.00415e20
mov edx, dword [esp + 0x3c]
push edx
mov edx, ebp
mov ecx, ebx
call fcn.00439e80
add esp, 4
push ebx
mov edi, eax
call fcn.0046a201
add esp, 4
call fcn.00415e20
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov edi, eax
mov dword [esp + 0x18], edi
jmp 0x43a012
test edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x43a0d0
push edi
call esi
xor edi, edi
push ebx
call fcn.0046a201
add esp, 4
test edi, edi
je 0x43a0ed
push edi
call esi
jmp 0x43a0ed
test edi, edi
je 0x43a0ed
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x43ab70
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x5c
push esi
push 0x5c
xor esi, esi
lea eax, [esp + 8]
push esi
push eax
call fcn.0046ea20
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
push ecx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x70], esi
call fcn.0043a730
mov eax, dword [esp + 0x78]
push eax
lea esi, [esp + 0x1c]
call fcn.0043aa10
add esp, 0x18
pop esi
add esp, 0x5c
ret

Function at 0x43abe0
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_ntohl]
push esi
push edi
mov edi, eax
mov eax, dword [edi]
push eax
call ebp
mov ecx, dword [edi + 4]
push ecx
mov esi, eax
call ebp
mov edi, eax
xor ebx, ebx
mov edx, dword [ebx + str.3_9k_IF__y_c]
push edx
call ebp
mov dword [esp + ebx + 0x10], eax
add ebx, 4
cmp ebx, 0x10
jl 0x43ac00
xor eax, eax
lea ecx, [eax + 0x10]
lea ebx, [ebx]
mov edx, edi
shr edx, 5
add edx, dword [esp + 0x14]
mov ebx, edi
shl ebx, 4
add ebx, dword [esp + 0x10]
sub eax, 0x61c88647
xor edx, ebx
lea ebx, [eax + edi]
xor edx, ebx
add esi, edx
mov edx, esi
shr edx, 5
add edx, dword [esp + 0x1c]
mov ebx, esi
shl ebx, 4
add ebx, dword [esp + 0x18]
xor edx, ebx
lea ebx, [eax + esi]
xor edx, ebx
add edi, edx
sub ecx, 1
jne 0x43ac20
push esi
mov esi, dword [sym.imp.WS2_32.dll_htonl]
call esi
mov ebx, dword [esp + 0x24]
push edi
mov dword [ebx], eax
call esi
pop edi
pop esi
pop ebp
mov dword [ebx + 4], eax
pop ebx
add esp, 0x10
ret

Function at 0x43ac80
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_ntohl]
push esi
mov esi, eax
mov eax, dword [esi]
push edi
push eax
call ebp
mov ecx, dword [esi + 4]
push ecx
mov edi, eax
call ebp
mov esi, eax
xor ebx, ebx
mov edx, dword [ebx + str.3_9k_IF__y_c]
push edx
call ebp
mov dword [esp + ebx + 0x10], eax
add ebx, 4
cmp ebx, 0x10
jl 0x43aca0
mov eax, 0xe3779b90
mov ecx, 0x10
nop
mov edx, edi
shr edx, 5
add edx, dword [esp + 0x1c]
mov ebx, edi
shl ebx, 4
add ebx, dword [esp + 0x18]
xor edx, ebx
lea ebx, [eax + edi]
xor edx, ebx
sub esi, edx
mov edx, esi
shr edx, 5
add edx, dword [esp + 0x14]
mov ebx, esi
shl ebx, 4
add ebx, dword [esp + 0x10]
xor edx, ebx
lea ebx, [eax + esi]
xor edx, ebx
sub edi, edx
add eax, 0x61c88647
sub ecx, 1
jne 0x43acc0
push edi
mov edi, dword [sym.imp.WS2_32.dll_htonl]
call edi
mov ebx, dword [esp + 0x24]
push esi
mov dword [ebx], eax
call edi
pop edi
pop esi
pop ebp
mov dword [ebx + 4], eax
pop ebx
add esp, 0x10
ret
Function at 0x43ca40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x11c
mov eax, dword [0x4b1784]
xor eax, esp
mov dword [esp + 0x118], eax
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
mov ebp, 3
mov dword [esp + 0x2c], 0x104
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
call edi
test eax, eax
jne 0x43cbcf
push esi
lea ecx, [esp + 0x24]
push str._sConnection
push ecx
mov eax, 0x103
call fcn.0043e220
mov ecx, dword [esp + 0x28]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
lea eax, [esp + 0x2c]
push eax
push ecx
call edi
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x43cbc8
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, 4
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.MediaSubType
push edx
call esi
test eax, eax
jne 0x43cbc1
push 0x104
push eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x103
call fcn.0046ea20
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push str.PnpInstanceID
push ecx
call esi
test eax, eax
jne 0x43cbc1
mov esi, 1
cmp dword [esp + 0xc], esi
jne 0x43cbb1
push ebp
lea edx, [esp + 0x24]
push 0x49cc18
push edx
call fcn.0046c92a
add esp, 0xc
test eax, eax
jne 0x43cb8c
xor ebp, ebp
jmp 0x43cbc1
cmp dword [esp + 0xc], esi
jne 0x43cbb1
push 3
lea eax, [esp + 0x24]
push 0x49cc18
push eax
call fcn.0046c92a
add esp, 0xc
test eax, eax
je 0x43cbb1
mov ebp, 2
jmp 0x43cbc1
xor ecx, ecx
cmp dword [esp + 0xc], 2
setne cl
lea ecx, [ecx + ecx + 1]
mov ebp, ecx
mov edx, dword [esp + 0x10]
push edx
call edi
mov eax, dword [esp + 0x1c]
push eax
call edi
mov ecx, dword [esp + 0x124]
pop edi
pop esi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.00469efd
add esp, 0x11c
ret
Function at 0x43d100
Capabilities:
Copy file
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48b318
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4b1784]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0
lea edi, [esp + 0x40]
mov dword [esp + 0x20], eax
mov byte [esp + 0x1b], 0
call fcn.0043d470
add esp, 4
mov dword [esp + 0x68], 0
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x43d168
lea eax, [esp + 0x40]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x43d251
push 1
lea edi, [esp + 0x24]
call fcn.0043d470
lea ecx, [esp + 0x40]
add esp, 4
push ecx
call fcn.0043dc30
add esp, 4
test al, al
jne 0x43d1ff
mov edx, edi
push edx
call fcn.0043dc30
add esp, 4
test al, al
je 0x43d1ff
mov ecx, dword [esp + 0x40]
mov edi, 8
cmp dword [esp + 0x54], edi
jae 0x43d1cc
lea ecx, [esp + 0x40]
cmp dword [esp + 0x38], edi
mov eax, dword [esp + 0x24]
jae 0x43d1da
lea eax, [esp + 0x24]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x43d204
cmp dword [esp + 0x38], edi
mov eax, dword [esp + 0x24]
jae 0x43d1f6
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x43d204
mov edi, 8
cmp dword [esp + 0x38], edi
mov eax, dword [esp + 0x24]
jae 0x43d212
lea eax, [esp + 0x24]
push 0
push 0
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call ebx
cmp dword [esp + 0x38], edi
mov esi, eax
jb 0x43d239
mov eax, dword [esp + 0x24]
push eax
call fcn.00469050
add esp, 4
xor eax, eax
cmp esi, 0xffffffff
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], eax
mov word [esp + 0x24], ax
je 0x43d28e
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0x10
jb 0x43d281
mov edx, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x1c]
push ecx
push edi
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43d281
cmp dword [esp + 0x18], edi
mov bl, 1
je 0x43d285
mov bl, byte [esp + 0x17]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43d292
mov bl, byte [esp + 0x17]
cmp dword [esp + 0x54], 8
jb 0x43d2a6
mov eax, dword [esp + 0x40]
push eax
call fcn.00469050
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00469efd
mov esp, ebp
pop ebp
ret 4
Function at 0x43d2d0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x48b2e8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4b1784]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x6c]
xor ebx, ebx
push ebx
lea edi, [esp + 0x40]
mov dword [esp + 0x20], eax
call fcn.0043d470
add esp, 4
mov dword [esp + 0x64], ebx
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x43d32c
lea eax, [esp + 0x40]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push eax
call ebp
mov esi, eax
cmp esi, 0xffffffff
jne 0x43d3a3
push 1
lea edi, [esp + 0x24]
call fcn.0043d470
mov eax, dword [esp + 0x28]
mov edi, 8
add esp, 4
cmp dword [esp + 0x38], edi
jae 0x43d369
lea eax, [esp + 0x24]
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push eax
call ebp
cmp dword [esp + 0x38], edi
mov esi, eax
jb 0x43d38d
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00469050
add esp, 4
cmp esi, 0xffffffff
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
je 0x43d3cb
mov eax, dword [esp + 0x1c]
push ebx
lea edx, [esp + 0x1c]
push edx
push 0x10
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43d3c4
cmp dword [esp + 0x18], 0x10
jne 0x43d3c4
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x54], 8
jb 0x43d3df
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00469050
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00469efd
add esp, 0x54
ret 4
Function at 0x43d470
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x48b2ad
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x4b1784]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push esi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov esi, 7
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
mov dword [esp + 0x14], edi
mov word [edi + 4], bx
push 0x208
lea eax, [esp + 0x38]
push ebx
mov dword [esp + 0x254], ebx
push eax
mov dword [esp + 0x1c], 1
call fcn.0046ea20
mov cl, byte [esp + 0x260]
add esp, 0xc
neg cl
push 1
lea edx, [esp + 0x38]
sbb ecx, ecx
and ecx, 0xfffffff7
add ecx, 0x23
push ecx
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43d5b2
lea eax, [esp + 0x34]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x43d520
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x38]
push eax
lea esi, [esp + 0x20]
call fcn.0040de50
mov ecx, esi
push ebx
push ecx
or eax, 0xffffffff
mov esi, edi
mov dword [esp + 0x254], 1
call fcn.0040dcc0
mov byte [esp + 0x24c], bl
cmp dword [esp + 0x30], 8
jb 0x43d572
mov edx, dword [esp + 0x1c]
push edx
call fcn.00469050
add esp, 4
cmp byte [esp + 0x254], bl
mov ecx, edi
je 0x43d586
push 0x13
push str.TencentDeskUpdate
jmp 0x43d58d
push 0x10
push str.TencentDesktop
call fcn.0040dd80
mov ecx, edi
call fcn.0043d5e0
test al, al
jne 0x43d5a4
mov ecx, edi
call fcn.0043d750
push 0xa
push 0x49cc70
mov ecx, edi
call fcn.0040dd80
mov eax, edi
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00469efd
add esp, 0x244
ret

Function at 0x43dcb0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push 0x20019
push 0
push str.metnsdclsid
push SysReAllocStringLen
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43dd32
mov edx, dword [esp + 0xc]
mov eax, dword [esp]
push ebx
push esi
lea ecx, [esp + 0xc]
push ecx
push edx
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.SequenceID
push eax
mov esi, eax
mov dword [esp + 0x24], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43dd1a
mov eax, dword [esp + 0x14]
sub eax, 3
neg eax
sbb eax, eax
and eax, 0xd
test eax, eax
sete bl
test esi, esi
je 0x43dd28
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
add esp, 8
ret 4
xor al, al
add esp, 8
ret 4
Function at 0x43dd40
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x489ab0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
lea ebx, [esp + 0x1c]
mov dword [esp + 0x2c], 0
call fcn.00405a10
lea edi, [esp + 0x14]
mov byte [esp + 0x2c], 1
call fcn.0040b8a0
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or esi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ddc3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 0xc]
test eax, eax
jne 0x43ddf2
lea eax, [edx - 0x10]
mov dword [esp + 0x2c], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x43ddeb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x43df12
jle 0x43de1c
lea ecx, [eax - 1]
test ecx, ecx
jl 0x43deb8
cmp ecx, eax
jg 0x43deb8
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x43de1c
push 0x5c
lea edi, [esp + 0x18]
call fcn.00416550
push 9
push str.Global.db
lea ecx, [esp + 0x1c]
push ecx
call fcn.004164c0
mov ebp, dword [esp + 0x14]
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push ebp
mov dword [esp + 0x38], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, esi
jne 0x43dec2
call fcn.004164a0
test eax, eax
jl 0x43de93
lea ecx, [esp + 0x18]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, esi
mov dword [esp + 0x14], eax
jne 0x43de7c
call fcn.004164a0
test eax, eax
jl 0x43de88
mov eax, dword [esp + 0x14]
cmp eax, 0x10
jne 0x43de88
cmp dword [esp + 0x18], 0
je 0x43deca
test edi, edi
je 0x43de93
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x10]
mov dword [esp + 0x2c], esi
lea edx, [eax + 0xc]
lock xadd dword [edx], esi
dec esi
test esi, esi
jg 0x43ddeb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x43df12
push 0x80070057
call fcn.00416be0
mov edi, eax
mov dword [esp + 0x1c], edi
jmp 0x43de5b
mov ecx, dword [esp + 0x34]
mov esi, 0x10
lea edx, [esp + 0x1c]
call fcn.00434ae0
test eax, eax
setge bl
test edi, edi
je 0x43deec
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x10]
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43df10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
Function at 0x43f550
Capabilities:
Access peb ldr_data
Check if file exists
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x489a09
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
xor edi, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], edi
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x28], edi
mov ebx, 1
push eax
mov dword [esp + 0x1c], ebx
call fcn.00405d00
add esp, 4
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x14]
mov eax, dword [ebp - 0xc]
cmp eax, edi
jle 0x43f5ef
lea ecx, [eax - 1]
cmp ecx, edi
jl 0x43f680
cmp ecx, eax
jg 0x43f680
movzx eax, word [ebp + ecx*2]
cmp ax, 0x5c
je 0x43f5ef
push 0x5c
lea edi, [esp + 0x18]
call fcn.00416550
mov ebp, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
mov ebx, str.speclist.ini
call fcn.00409750
add esp, 8
mov edi, esi
mov byte [esp + 0x28], 2
call fcn.0040b8a0
mov byte [esp + 0x28], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f637
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43f649
call fcn.00416b00
lea eax, [ebp - 0x10]
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f66a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push 0x80070057
call fcn.00416be0
int3
Function at 0x43f690
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4899b9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
xor edi, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], edi
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x24], edi
lea ebx, [esp + 0x10]
mov dword [esp + 0x14], 1
call fcn.00405a10
mov dword [esp + 0x24], 1
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 0xc]
test eax, eax
jle 0x43f726
lea ecx, [eax - 1]
test ecx, ecx
jl 0x43f7ba
cmp ecx, eax
jg 0x43f7ba
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x43f726
push 0x5c
mov edi, ebx
call fcn.00416550
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ebx, str.speclist.ini
call fcn.00409750
add esp, 8
mov edi, esi
mov byte [esp + 0x24], 2
call fcn.0040b8a0
mov byte [esp + 0x24], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43f76e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43f780
call fcn.00416b00
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f7a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
push 0x80070057
call fcn.00416be0
int3
Function at 0x43f7d0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x48b189
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2c]
xor ebp, ebp
lea eax, [esp + 0x14]
mov dword [esp + 0x24], ebp
push eax
mov dword [esp + 0x1c], ebp
call fcn.0043f550
lea ecx, [esp + 0x14]
mov esi, 1
push ecx
mov dword [esp + 0x2c], esi
call fcn.0043f690
add esp, 8
mov byte [esp + 0x24], 2
mov edx, dword [0x4bb38c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4bb38c
call eax
add eax, 0x10
mov dword [edi], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
cmp eax, ebp
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], esi
jne 0x43f870
cmp dword [edx - 0xc], ebp
jne 0x43f86c
mov esi, edi
call fcn.00416b00
cmp ebx, ebp
je 0x43f8ec
mov dword [ebx], ebp
jmp 0x43f8ec
cmp eax, ebp
je 0x43f8c3
cmp dword [edx - 0xc], ebp
je 0x43f8bf
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
push ebp
push str.Version
push 0x49cd08
call esi
mov ecx, dword [esp + 0x10]
push ecx
push 0
push str.Version
push 0x49cd08
mov ebp, eax
call esi
mov esi, eax
cmp ebp, esi
lea eax, [esp + 0x14]
jae 0x43f8ac
lea eax, [esp + 0x10]
call fcn.0040b8a0
test ebx, ebx
je 0x43f8ec
cmp ebp, esi
jb 0x43f8bb
mov esi, ebp
mov dword [ebx], esi
jmp 0x43f8ec
cmp eax, ebp
jne 0x43f8c9
lea eax, [esp + 0x10]
jmp 0x43f8cd
lea eax, [esp + 0x14]
call fcn.0040b8a0
cmp ebx, ebp
je 0x43f8ec
mov eax, dword [edi]
push eax
push ebp
push str.Version
push 0x49cd08
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebx], eax
mov byte [esp + 0x24], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43f911
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f936
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret

Function at 0x4413a0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 8]
test eax, eax
je 0x441400
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x441400
cmp dword [esp + 4], 0
jne 0x4413de
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 8]
push 0x3e9
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [esi + 0x20], 0
ret 4
cmp dword [esi + 0x20], 0
jne 0x441400
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push 0
push edx
push 0x3e9
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0x20], 1
ret 4