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

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov eax, 0x811c9dc5
push esi
xor esi, esi
mov edx, ebx
push edi
lea ecx, [ebx + 4]
cmp ecx, ebx
sbb edi, edi
and edi, 0xfffffffc
add edi, 4
cmp ebx, ecx
ja 0x40d7f4
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
inc esi
imul eax, ecx, 0x1000193
cmp esi, edi
jne 0x40d7e1
mov ecx, dword [0x4c1fa4]
mov edx, dword [0x4c1f98]
and ecx, eax
mov esi, dword [edx + ecx*8]
lea edi, [edx + ecx*8]
mov edx, dword [0x4c1f90]
mov eax, esi
cmp esi, edx
jne 0x40d818
mov ecx, edx
jmp 0x40d81d
mov ecx, dword [edi + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x40d839
mov ecx, dword [eax + 8]
cmp ecx, dword [ebx]
je 0x40d82c
mov eax, dword [eax]
jmp 0x40d810
cmp eax, edx
je 0x40d839
pop edi
pop esi
add eax, 0xc
pop ebx
ret 4
push str.invalid_unordered_map_K__T__key
call fcn.0046b831
int3

Function at 0x40dc80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
mov ebp, ecx
push edi
xor edi, edi
mov eax, 0x811c9dc5
lea edx, [esi + 4]
cmp edx, esi
sbb ebx, ebx
and ebx, 0xfffffffc
add ebx, 4
cmp esi, edx
ja 0x40dcb5
movzx ecx, byte [esi]
lea esi, [esi + 1]
xor ecx, eax
inc edi
imul eax, ecx, 0x1000193
cmp edi, ebx
jne 0x40dca2
and eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x40df60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov ecx, dword [esp + 4]
mov eax, 0x811c9dc5
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
sub edi, ecx
xor esi, esi
and edi, 0xfffffffe
lea edx, [edi + ecx]
cmp ecx, edx
cmova edi, ebx
test edi, edi
je 0x40df98
movzx edx, byte [ecx]
lea ecx, [ecx + 1]
xor edx, eax
inc esi
imul eax, edx, 0x1000193
cmp esi, edi
jne 0x40df85
pop edi
pop esi
pop ebx
ret 8
Function at 0x4186c0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
mov byte [esp + 7], 1
push esi
mov ecx, dword [ebx + 0x54]
mov eax, ecx
and eax, 0xc
cmp al, 0xc
jne 0x41871f
mov eax, dword [ebx + 4]
push eax
mov dword [esp + 0x10], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [ebx + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0xfffffffe
call dword [sym.imp.USER32.dll_GetParent]
push dword [ebx + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ecx, [esp + 0xc]
push ecx
push eax
push 0x4e
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, byte [esp + 0xb]
pop esi
pop ebx
add esp, 0x10
ret
shr ecx, 2
test cl, 1
je 0x418758
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push dword [ebx + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [ebx + 4]
movzx eax, ax
push eax
push 0x111
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, byte [esp + 0xb]
pop esi
pop ebx
add esp, 0x10
ret
push 1
push 0
push 0
push dword [ebx + 0x28]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta cl
mov byte [esp + 0xb], cl
jbe 0x418795
or byte [ebx + 0x58], 2
push 1
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov al, byte [esp + 0xb]
pop esi
pop ebx
add esp, 0x10
ret
pop esi
mov al, cl
pop ebx
add esp, 0x10
ret

Function at 0x418a60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4868e0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4c0074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x418afd
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x418abe
cmp eax, 2
jne 0x418ada
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x418af7
test ecx, ecx
je 0x418af2
test cl, 1
jne 0x418ada
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x418af7
mov eax, 0xd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x418c40
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x150
mov eax, dword [0x4c0074]
xor eax, esp
mov dword [esp + 0x14c], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [esp + 0x38]
push edi
push 0x110
xorps xmm0, xmm0
mov dword [esp + 0x38], 0
push 0
push eax
mov edi, ecx
movlpd qword [esp + 0x24], xmm0
movlpd qword [esp + 0x2c], xmm0
mov dword [esp + 0x44], 0x114
call fcn.0046ea50
add esp, 0xc
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x418caf
cmp dword [esp + 0x3c], 6
mov eax, 0x30
jae 0x418cb4
mov eax, 0x2c
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 1
test eax, eax
je 0x418cdb
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x18], xmm0
mov eax, dword [0x4c104c]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x2c], eax
lea eax, [esp + 8]
push eax
push 0
push 0x432
push dword [edi]
mov dword [esp + 0x40], 0
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x154]
pop edi
pop esi
xor ecx, esp
call fcn.0046c8db
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41b190
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x41b20a
mov esi, dword [esp + 0x10]
mov ecx, 1
mov edx, dword [esi]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x41b1c5
push edi
mov ecx, esi
call fcn.00402210
mov edx, dword [esi]
push edi
push edx
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
mov ecx, edi
cmp edi, 0xffffffff
jne 0x41b1ec
mov ecx, dword [esi]
test ecx, ecx
je 0x41b1f0
push dword [ecx - 8]
push ecx
call fcn.00471e3c
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x41b20a
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x41b20a
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, edi
pop edi
pop esi
pop ebx
ret 4
push 0x80070057
call fcn.004023a0
int3
Function at 0x41c910
Capabilities:
Check for time delay via gettickcount
Query service status

Disassembly:
sub esp, 0x30
mov eax, dword [0x4c0074]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x38]
lea eax, [esp + 4]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
xorps xmm0, xmm0
push eax
push 0x24
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0
push eax
push 0
push ebx
movups xmmword [esp + 0x24], xmm0
mov dword [esp + 0x44], 0
movups xmmword [esp + 0x34], xmm0
call ebp
test eax, eax
jne 0x41c975
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0046c8db
add esp, 0x30
ret 8
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x1c], esi
je 0x41c9c9
nop dword [eax]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push 0x24
lea eax, [esp + 0x20]
push eax
push 0
push ebx
call ebp
test eax, eax
je 0x41c9fa
cmp dword [esp + 0x1c], esi
je 0x41c9c9
call edi
sub eax, dword [esp + 0x14]
cmp eax, 0x7530
ja 0x41c9e0
cmp dword [esp + 0x1c], esi
jne 0x41c990
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0046c8db
add esp, 0x30
ret 8
pop edi
pop esi
pop ebp
mov eax, 0x102
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0046c8db
add esp, 0x30
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046c8db
add esp, 0x30
ret 8
Function at 0x41d5c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a4f8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4c0074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00403f70
mov ecx, eax
test ecx, ecx
je 0x41d7cb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 1
call fcn.00403f70
mov ecx, eax
test ecx, ecx
je 0x41d7d5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
push 0x4a62bc
call fcn.004038d0
test al, al
jne 0x41d649
push 3
push 0x4a62bc
lea ecx, [ebp - 0x14]
call fcn.00403ae0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x18]
push 0x4a62bc
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041dc00
test al, al
sete byte [ebp - 0xd]
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41d684
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x41d6af
push 0x18
push str.Unable_to_get_temp_file
lea ecx, [ebx + 4]
call fcn.00403ae0
mov esi, dword [ebp - 0x18]
lea ecx, [ebx + 4]
push dword [esi - 0xc]
push esi
call fcn.00402280
xor bl, bl
jmp 0x41d796
mov esi, dword [ebp - 0x18]
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x24], 0x4a4fc8
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 6
cmp edi, 0xffffffff
jne 0x41d6ee
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], 0x4a4fc8
push eax
jmp 0x41d740
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 0xfeff
push eax
push 2
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41d730
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x14]
push 0
push edx
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x41d76c
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], 0x4a4fc8
test edi, edi
je 0x41d74d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], 0
push 0x1b
push str.Unable_to_save_script_file
lea ecx, [ebx + 4]
call fcn.00403ae0
push dword [esi - 0xc]
lea ecx, [ebx + 4]
push esi
call fcn.00402280
xor bl, bl
jmp 0x41d796
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], 0x4a4fc8
test edi, edi
je 0x41d789
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.0041d7e0
mov bl, al
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41d7b5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004023a0
push 0x80004005
call fcn.004023a0
int3
Function at 0x41dc00
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x48a5b0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4c0074]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x21c]
mov esi, dword [ebp + 0x214]
mov edi, dword [ebp + 0x218]
mov dword [ebp - 0x18], eax
lea eax, [ebp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x41dc88
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0046c8db
lea esp, [ebp + 0x20c]
pop ebp
ret 0xc
mov edx, dword [edi]
mov ecx, 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x41dcac
push 0x104
mov ecx, edi
call fcn.00402210
mov edx, dword [edi]
push edx
push 0
push dword [esi]
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x41dc61
mov eax, dword [edi]
test eax, eax
jne 0x41dcc9
xor ecx, ecx
jmp 0x41dcdf
push dword [eax - 8]
push eax
call fcn.00471e3c
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x41dde4
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x41dde4
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi]
mov word [eax + ecx*2], dx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x2e
push dword [edi]
call fcn.0046df08
add esp, 8
test eax, eax
je 0x41dda7
sub eax, dword [edi]
sar eax, 1
js 0x41dda7
inc eax
mov ecx, edi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00405890
mov dword [ebp - 4], 0
or esi, 0xffffffff
mov ecx, dword [eax]
mov ebx, dword [edi]
sub ebx, 0x10
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x41dd88
cmp dword [ebx + 0xc], 0
jl 0x41dd7d
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x41dd7d
mov ecx, edx
call fcn.00402480
mov dword [ebp - 0x10], eax
lea edx, [ebx + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41dd76
mov esi, dword [ebx]
push ebx
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov ecx, esi
call edx
mov eax, dword [ebp - 0x10]
or esi, 0xffffffff
add eax, 0x10
mov dword [edi], eax
jmp 0x41dd88
push dword [ecx - 0xc]
push ecx
mov ecx, edi
call fcn.00403ae0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x41dda7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
test edx, edx
jne 0x41ddc0
xor ecx, ecx
push ecx
push edx
mov ecx, edi
call fcn.00402280
mov al, 1
jmp 0x41dc63
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ddc5
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00402280
mov al, 1
jmp 0x41dc63
push 0x80070057
call fcn.004023a0
int3
Function at 0x422e40
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b3b8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4c0074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 0x10]
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
xor edi, edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 0x10]
mov dword [ebp + 0xc], eax
cmp byte [ecx + 0x40], 0
cmovne edi, eax
lea eax, [ebp - 0x14]
mov dword [ebp + 0x10], edi
mov edi, ecx
mov dword [ebp - 0x10], eax
mov byte [edi + 0x10], 1
call fcn.00403f70
mov ecx, eax
test ecx, ecx
je 0x422f51
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x14]
lea eax, [ebp + 0x10]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.00422c40
mov esi, eax
mov byte [edi + 0x10], 0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x422ef4
cmp dword [ebp + 0x10], eax
je 0x422ef4
mov esi, 0x2ee2
jmp 0x422f0c
test esi, esi
jne 0x422f0c
mov esi, dword [edi + 4]
cmp esi, dword [ebx + 4]
je 0x422f0a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov dword [ebx + 4], esi
xor esi, esi
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
mov dword [ebp + 0x10], eax
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edi, dword [ebp - 0x14]
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x422f3b
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.004023a0
int3
Function at 0x425a60
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 0x18], 0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, ecx
jne 0x425c2e
mov ecx, dword [esp + 0x18]
mov edx, 1
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
cmp ecx, 0x110
jne 0x425ab3
sub esp, 8
mov dword [edi + 0x40], edx
mov ecx, edi
call fcn.004260a0
mov dword [esi], eax
cmp dword [edi + 0x40], 0
je 0x425b90
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ecx, 0x111
jne 0x425b90
movzx eax, bx
cmp dx, ax
jne 0x425b23
lea eax, [edi + 0x44]
push eax
lea ecx, [edi + 0x5c]
call fcn.0041b190
lea eax, [edi + 0x48]
push eax
lea ecx, [edi + 0x60]
call fcn.0041b190
push 0x428
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
push 1
push dword [edi + 4]
sete cl
mov byte [edi + 0x4c], cl
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
mov dword [esi], 0
mov eax, 1
pop esi
pop ebp
pop ebx
ret 0x18
mov ecx, 2
cmp cx, ax
jne 0x425b49
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
mov dword [esi], 0
mov eax, 1
pop esi
pop ebp
pop ebx
ret 0x18
mov eax, ebx
mov ecx, 0x300
shr eax, 0x10
cmp cx, ax
jne 0x425b90
cmp ebp, dword [edi + 0x5c]
lea ecx, [edi + 0x5c]
jne 0x425b8a
lea esi, [edi + 0x44]
push esi
call fcn.0041b190
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esi]
xor edx, edx
cmp dword [ecx - 0xc], edx
setne dl
push edx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov esi, dword [esp + 0x24]
mov dword [esi], 0
mov eax, dword [esp + 0x18]
lea ecx, [edi + 0x20]
cmp eax, 5
jne 0x425bff
xor eax, eax
test ecx, ecx
cmove edi, eax
cmp byte [ecx + 0x1c], al
je 0x425bd5
push 0xe801
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp ebx, 2
jne 0x425bc6
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x425bda
test ebx, ebx
jne 0x425bd5
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x425bda
cmp ebx, 1
je 0x425c1c
mov eax, ebp
lea ecx, [edi + 0x20]
shr eax, 0x10
cwde
push eax
movsx eax, bp
push eax
call fcn.00426890
pop edi
mov dword [esi], 0
mov eax, 1
pop esi
pop ebp
pop ebx
ret 0x18
cmp eax, 0x24
jne 0x425c2e
cmp dword [ecx + 0x14], 0xffffffff
je 0x425c1c
cmp dword [ecx + 0x18], 0xffffffff
je 0x425c1c
mov eax, dword [ecx + 0x14]
mov dword [ebp + 0x18], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp + 0x1c], eax
pop edi
mov dword [esi], 0
mov eax, 1
pop esi
pop ebp
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
Function at 0x42d5e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ceb1
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4c0074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea eax, [esi + 8]
mov dword [esi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 4
lea eax, [esi + 0x30]
mov dword [esi + 0x20], 0x4a70a8
mov dword [esi + 0x24], 0x4a73ac
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esi], 0x4a73e0
mov dword [esi + 0x20], 0x4a73b4
mov dword [esi + 0x24], 0x4a73b0
mov dword [esi + 0x2c], 0
mov eax, dword [eax]
mov ecx, dword [eax - 0x10]
lea edi, [eax - 0x10]
mov dword [ebp + 0xc], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
mov ecx, eax
lea eax, [edi + 0xc]
jl 0x42d693
cmp ecx, dword [edi]
jne 0x42d693
lock inc dword [eax]
jmp 0x42d6bb
mov eax, dword [ecx]
lea ebx, [edi + 4]
push 2
push dword [ebx]
call dword [eax]
mov edi, eax
test edi, edi
je 0x42d70d
mov eax, dword [ebx]
lea ecx, [edi + 0x10]
mov dword [edi + 4], eax
mov edx, dword [ebx]
inc edx
push edx
push dword [ebp + 0xc]
call fcn.004023d0
add esp, 8
lea eax, [edi + 0x10]
mov dword [esi + 0x30], eax
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
mov dword [esi + 0x34], eax
mov eax, dword [ebp + 0x10]
mov byte [esi + 0x38], 0
mov dword [esi + 0x40], eax
mov al, byte [ebp + 0x14]
mov dword [esi + 0x44], 2
mov byte [esi + 0x48], al
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.004023c0
int3

Function at 0x42d7c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48cf11
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4c0074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
lea eax, [esi + 0x30]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0
mov edx, dword [eax]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42d816
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [eax + 0xc]
test eax, eax
je 0x42d837
push eax
call fcn.0046b3ad
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42f530
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d550
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4c0074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
call fcn.00403f70
mov ecx, eax
test ecx, ecx
je 0x42f680
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 1
mov ebx, 0x100
push 0x200
call fcn.0046ce3d
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
mov eax, dword [ebp + 0xc]
push ebx
push edi
push esi
push dword [eax]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, 0xff
jne 0x42f60e
add ebx, ebx
mov byte [ebp - 4], 1
push edi
call fcn.0046ce46
xor ecx, ecx
mov dword [ebp - 0x10], 0
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046ce3d
mov edi, eax
add esp, 8
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
mov eax, dword [ebp + 0xc]
push ebx
push edi
push esi
push dword [eax]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebx - 1]
cmp eax, ecx
je 0x42f5b7
test edi, edi
jne 0x42f616
xor eax, eax
jmp 0x42f62f
mov eax, edi
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42f620
sub eax, edx
sar eax, 1
mov ecx, dword [ebp + 0x10]
push eax
push edi
call fcn.00403ae0
mov byte [ebp - 4], 1
push edi
call fcn.0046ce46
add esp, 4
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42f66c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.004023a0
int3