joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f3f9
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8e8
push ebx
push esi
xor ebx, ebx
push edi
lea eax, [ebp - 4]
push ebx
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
push eax
lea eax, [ebp - 0xc]
mov edi, ecx
push eax
push 0x20000005
push dword [ebp + 8]
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], 4
call esi
test eax, eax
je 0x42f443
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], 1
mov dword [edi + 0x18], eax
mov ecx, 0x1f3
xor eax, eax
lea edi, [ebp - 0x8b6]
mov word [ebp - 0x8b8], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 4]
push ebx
push eax
lea eax, [ebp - 0x8b8]
push eax
push 0xb
push dword [ebp + 8]
mov dword [ebp - 4], 0x7ce
call esi
test eax, eax
je 0x42f4ac
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x1c]
lea eax, [ebp - 0x8b8]
test eax, eax
je 0x42f496
lea eax, [ebp - 0x8b8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x8b8]
push ecx
push eax
mov ecx, edi
call fcn.00406586
mov dword [ebp - 8], 1
xor eax, eax
lea edi, [ebp - 0x1e]
mov word [ebp - 0x20], bx
push 0x10
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
pop edi
lea eax, [ebp - 4]
push ebx
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 4], edi
push eax
push 0x4000000b
push dword [ebp + 8]
call esi
cmp eax, ebx
jne 0x42f50b
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x8e6]
mov word [ebp - 0x8e8], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 0x8e8]
push eax
push 0xb
push dword [ebp + 8]
mov dword [ebp - 0xc], 0x7fe
call esi
jmp 0x42f526
lea eax, [ebp - 0x20]
push edi
push eax
mov eax, dword [ebp - 0x10]
add eax, 8
push eax
call fcn.00490dc0
add esp, 0xc
mov dword [ebp - 8], 1
push 0x31
xor eax, eax
pop ecx
lea edi, [ebp - 0xe6]
mov word [ebp - 0xe8], bx
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x63
push eax
lea eax, [ebp - 0xe8]
push eax
push 1
push dword [ebp + 8]
call esi
test eax, eax
je 0x42f5a1
lea eax, [ebp - 0xe8]
push eax
call fcn.00491136
test eax, eax
pop ecx
je 0x42f5a1
mov eax, dword [ebp - 0x10]
lea esi, [eax + 0x20]
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0042f9e5
pop ecx
pop ecx
push eax
mov ecx, esi
call fcn.004065e8
lea ecx, [ebp + 8]
call fcn.00401085
mov eax, dword [esi]
cmp dword [eax - 8], ebx
je 0x42f5a1
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x431e7f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4a9450]
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
xor edi, edi
push eax
push 1
push edi
push str.SoftwareMicrosoftInternet_Explorer
push 0x80000002
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x431f05
push 0x105
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], 0x208
call fcn.00406846
test eax, eax
je 0x431edd
mov eax, dword [ebp - 4]
mov dword [eax - 8], 0x105
mov eax, dword [ebp - 4]
mov word [eax + 0x20a], di
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0xc]
push ecx
push eax
push edi
push edi
push 0x4a95fc
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.004068ae
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.00406383
lea ecx, [ebp - 4]
call fcn.00401085
mov eax, dword [ebp + 8]
pop edi
leave
ret
Function at 0x4325b4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx eax, word [esp + 4]
push 5
push eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x4325cb
ret
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
ret

Function at 0x4325d7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
je 0x4325fb
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
test edi, edi
jne 0x43260d
mov ecx, dword [ebp + 8]
push 0x4bf5f0
call fcn.004064a9
mov eax, dword [ebp + 8]
jmp 0x432662
mov eax, dword [0x4a9450]
push esi
lea esi, [edi + 2]
lea ecx, [ebp + 0x10]
push esi
mov dword [ebp + 0x10], eax
call fcn.00406846
test eax, eax
je 0x432637
mov eax, dword [ebp + 0x10]
mov dword [eax - 8], esi
mov eax, dword [ebp + 0x10]
and word [eax + esi*2], 0
mov eax, dword [ebp + 0x10]
inc edi
push edi
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push eax
lea ecx, [ebp + 0x10]
call fcn.004068ae
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
call fcn.00406383
lea ecx, [ebp + 0x10]
call fcn.00401085
mov eax, dword [ebp + 8]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x434dad
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx + 0x14], 0
and dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x435c7c
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
xor esi, esi
push edi
push esi
push esi
push 3
push esi
push 1
push 0x80000000
push dword [ebp + 0xc]
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x435cb6
mov ecx, dword [ebp - 4]
call fcn.00435ee5
mov edi, dword [ebp + 8]
mov al, byte [ebp + 0xb]
jmp 0x435d08
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 8], ebx
jne 0x435d2c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0xc]
lea ecx, [ebp - 8]
call fcn.004064a9
push eax
lea eax, [ebp + 0xc]
push str.Dat_file_length_is_0_
push eax
call fcn.0040673f
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.00435ef3
lea ecx, [ebp + 0xc]
call fcn.00401085
lea ecx, [ebp - 8]
call fcn.00401085
mov edi, dword [ebp + 8]
mov al, byte [ebp + 0xb]
push esi
mov ecx, edi
mov byte [edi], al
call fcn.00409ac9
mov esi, 0x4bf60c
push esi
call fcn.004916e0
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00409b5b
jmp 0x435db2
mov al, byte [ebp + 0xb]
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00409ac9
inc ebx
cmp dword [ebp - 0x10], ebx
jae 0x435d4b
push esi
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00409bf7
push esi
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00435f86
cmp dword [ebp - 0x18], esi
mov dword [ebp - 0xc], esi
je 0x435d6a
lea ecx, [ebp - 0x1c]
call fcn.00436007
mov eax, dword [ebp - 0x18]
jmp 0x435d6f
mov eax, 0x4a17b4
lea ecx, [ebp - 0xc]
push esi
push ecx
push dword [ebp - 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp + 8]
mov al, byte [ebp - 0x1c]
push esi
mov ecx, edi
mov byte [edi], al
call fcn.00409ac9
push dword [0x4a17b8]
lea eax, [ebp - 0x1c]
mov ecx, edi
push esi
push eax
call fcn.004099fb
push 1
lea ecx, [ebp - 0x1c]
call fcn.00409ac9
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4361ea
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov al, byte [ebp + 0x13]
push ebx
push esi
xor esi, esi
push edi
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x14], al
call fcn.00409ac9
mov eax, dword [ebp + 0x10]
mov ecx, eax
dec eax
test ecx, ecx
je 0x436339
mov edi, dword [ebp + 0xc]
inc eax
mov dword [ebp - 4], eax
mov al, byte [edi]
mov byte [ebp + esi + 0x10], al
mov bl, byte [ebp + 0x11]
inc esi
inc edi
cmp esi, 3
jne 0x43628d
mov al, byte [ebp + 0x10]
mov cl, bl
shr al, 2
mov byte [ebp + 0xc], al
mov al, byte [ebp + 0x10]
and al, 3
shl al, 4
shr cl, 4
add al, cl
mov cl, byte [ebp + 0x12]
mov byte [ebp + 0xd], al
mov al, bl
and al, 0xf
shl al, 2
shr cl, 6
add al, cl
mov byte [ebp + 0xe], al
mov al, byte [ebp + 0x12]
and al, 0x3f
xor esi, esi
mov byte [ebp + 0xf], al
mov ecx, dword [0x4bff44]
test ecx, ecx
jne 0x436271
mov eax, 0x4a17b4
jmp 0x436278
movzx eax, byte [ebp + esi + 0xc]
add eax, ecx
mov al, byte [eax]
lea ecx, [ebp - 0x14]
push eax
push 1
call fcn.00435fae
inc esi
cmp esi, 4
jl 0x436260
xor esi, esi
dec dword [ebp - 4]
jne 0x436219
test esi, esi
je 0x436339
cmp esi, 3
jge 0x4362bb
push 3
lea edi, [ebp + esi + 0x10]
pop ecx
xor eax, eax
sub ecx, esi
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov bl, byte [ebp + 0x11]
mov al, byte [ebp + 0x10]
lea edi, [esi + 1]
mov cl, al
and al, 3
shr cl, 2
mov byte [ebp + 0xc], cl
mov cl, bl
shl al, 4
shr cl, 4
add al, cl
and bl, 0xf
mov byte [ebp + 0xd], al
mov al, byte [ebp + 0x12]
mov cl, al
and al, 0x3f
shl bl, 2
shr cl, 6
add bl, cl
mov byte [ebp + 0xf], al
mov byte [ebp + 0xe], bl
xor ebx, ebx
test edi, edi
jle 0x436320
mov ecx, dword [0x4bff44]
test ecx, ecx
jne 0x436307
mov eax, 0x4a17b4
jmp 0x43630e
movzx eax, byte [ebp + ebx + 0xc]
add eax, ecx
mov al, byte [eax]
lea ecx, [ebp - 0x14]
push eax
push 1
call fcn.00435fae
inc ebx
cmp ebx, edi
jl 0x4362f6
cmp esi, 3
jge 0x436339
push 4
pop esi
sub esi, edi
push 0x3d
push 1
lea ecx, [ebp - 0x14]
call fcn.00435fae
dec esi
jne 0x43632a
mov esi, dword [ebp + 8]
mov al, byte [ebp - 0x14]
push 0
mov ecx, esi
mov byte [esi], al
call fcn.00409ac9
push dword [0x4a17b8]
lea eax, [ebp - 0x14]
mov ecx, esi
push 0
push eax
call fcn.004099fb
push 1
lea ecx, [ebp - 0x14]
call fcn.00409ac9
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x436c33
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffff
jne 0x436c4a
xor eax, eax
pop esi
ret
mov ecx, eax
and ecx, 1
cmp cl, 1
jne 0x436c5f
xor eax, 1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
ret
Function at 0x4388eb
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor esi, esi
push edi
push esi
push esi
push 3
push esi
push 1
push 0x80000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp + 0xc], edi
jne 0x438920
mov edi, dword [ebp + 8]
mov al, byte [ebp + 0xb]
jmp 0x4389fd
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, esi
jne 0x438940
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp + 8]
mov al, byte [ebp + 0xb]
jmp 0x4389fd
lea eax, [ebx + 1]
push eax
call fcn.00490944
mov edi, eax
pop ecx
cmp edi, esi
jne 0x438964
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp + 8]
mov al, byte [ebp + 0xb]
jmp 0x4389fd
lea eax, [ebx + 1]
push eax
push esi
push edi
call fcn.00491510
add esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push esi
push eax
push ebx
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp + 0xc]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], esi
je 0x4389f0
cmp ebx, dword [ebp - 4]
jne 0x4389f0
mov al, byte [ebp + 0xb]
push esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 0x18], al
call fcn.00409ac9
push edi
call fcn.004916e0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x18]
call fcn.00409b5b
push edi
call fcn.0048e18e
mov edi, dword [ebp + 8]
mov al, byte [ebp - 0x18]
pop ecx
push esi
mov ecx, edi
mov byte [edi], al
call fcn.00409ac9
push dword [0x4a17b8]
lea eax, [ebp - 0x18]
mov ecx, edi
push esi
push eax
call fcn.004099fb
push 1
lea ecx, [ebp - 0x18]
call fcn.00409ac9
jmp 0x438a1c
push edi
call fcn.0048e18e
mov edi, dword [ebp + 8]
mov al, byte [ebp + 0xb]
pop ecx
push esi
mov ecx, edi
mov byte [edi], al
call fcn.00409ac9
mov esi, 0x4bf60c
push esi
call fcn.004916e0
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00409b5b
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4395f8
Capabilities:
Log keystrokes

Disassembly:
mov ecx, dword [esp + 0xc]
mov ax, word [esp + 8]
push esi
mov esi, dword [esp + 8]
neg ecx
sbb ecx, ecx
mov word [esi], ax
and ecx, 0xfffffffe
push 0
movzx eax, ax
inc ecx
push eax
inc ecx
mov dword [esi + 4], ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov word [esi + 2], ax
pop esi
ret

Function at 0x43965f
Capabilities:
Get keyboard layout

Disassembly:
push 0
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
push eax
push dword [esp + 0x10]
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.0043967f
add esp, 0x10
ret
Function at 0x43967f
Capabilities:
Get keyboard layout
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
push edi
call fcn.00439a25
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov eax, esi
dec eax
je 0x4396b7
dec eax
je 0x439779
dec eax
dec eax
je 0x439760
push str.ERROR:_Cannot_detect_keyboard_layout_switch_method__Use:_AltSHIFT
call fcn.0043d98d
pop ecx
mov dword [ebp - 4], 0x10
mov edi, 0xa4
push 1
xor eax, eax
movzx ebx, di
pop esi
lea edi, [ebp - 0x74]
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
movzx edi, word [ebp - 4]
push 0
mov dword [ebp - 0x60], esi
push dword [ebp - 4]
mov dword [ebp - 0xc], edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
movzx eax, ax
shl eax, 0x10
or eax, edi
lea edi, [ebp - 0x58]
mov dword [ebp - 0x5c], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0
push dword [ebp - 4]
stosd dword es:[edi], eax
mov dword [ebp - 0x44], esi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
movzx eax, ax
shl eax, 0x10
or eax, dword [ebp - 0xc]
push 2
pop ecx
lea edi, [ebp - 0x38]
mov dword [ebp - 0x40], eax
xor eax, eax
mov dword [ebp - 0x3c], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
push edi
push edi
call dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
cmp eax, 3
jge 0x43978a
lea eax, [ebp - 0x7c]
push 0x1c
push eax
push 4
call dword [sym.imp.USER32.dll_SendInput]
jmp 0x4397f0
push str.Warning:_keyboard_layout_switch__VK_TILDA_YOU_detected_
xor edi, edi
mov dword [ebp - 4], 0xc0
call fcn.0043d98d
pop ecx
jmp 0x4396c3
mov dword [ebp - 4], 0x10
mov edi, 0xa2
jmp 0x4396c3
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, dword [ebp - 8]
sete bl
cmp dword [ebp + 0x14], edi
jbe 0x4397f0
lea eax, [ebp - 0x7c]
push 0x1c
push eax
push 4
call dword [sym.imp.USER32.dll_SendInput]
test bl, bl
jne 0x4397d4
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push edi
push edi
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_PostMessageW]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
cmp eax, dword [ebp + 8]
je 0x4397f0
cmp ax, word [ebp + 8]
je 0x4397f0
mov eax, esi
inc esi
cmp eax, dword [ebp + 0x14]
jb 0x4397ab
pop edi
pop esi
pop ebx
leave
ret
Function at 0x439a33
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp + 8]
push edi
xor ebx, ebx
push eax
push 1
push ebx
push str.Keyboard_LayoutToggle
push 0x80000001
mov dword [esi], ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x439afc
lea edi, [ebp - 0x1a]
mov word [ebp - 0x1c], bx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 4]
mov dword [ebp - 8], 1
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x4b2474
mov dword [ebp - 4], 0x14
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 8]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
je 0x439ab9
cmp edi, 2
jne 0x439ab5
mov dword [esi], ebx
push 1
jmp 0x439af9
mov dword [esi], edi
jmp 0x439b04
movzx eax, word [ebp - 0x1c]
movzx ecx, word [0x4ac66c]
mov edx, eax
sub edx, ecx
je 0x439ab1
movzx ecx, word [0x4b2470]
mov edx, eax
sub edx, ecx
jne 0x439adb
push 2
jmp 0x439af9
movzx ecx, word [0x4b246c]
mov edx, eax
sub edx, ecx
jne 0x439aec
push 3
jmp 0x439af9
movzx ecx, word [0x4b2468]
sub eax, ecx
jne 0x439afc
push 4
pop eax
jmp 0x439b06
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43b91d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push dword [ebp + 0xc]
lea ecx, [ebp - 8]
call fcn.004064a9
mov eax, dword [ebp - 8]
cmp dword [eax - 8], 0
je 0x43b978
push ebx
lea eax, [ebp - 0xc]
push 1
push eax
lea ecx, [ebp - 8]
call fcn.004068d7
mov eax, dword [eax]
push 0x4a9890
push eax
call fcn.00490952
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 0xc]
inc bl
call fcn.00401085
test bl, bl
pop ebx
je 0x43b978
push dword [ebp + 8]
call fcn.0043cdf6
pop ecx
lea ecx, [ebp - 8]
jmp 0x43b9e1
lea ecx, [ebp - 8]
call fcn.00401085
mov eax, dword [0x4a9450]
push 0x65
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.00406846
test eax, eax
je 0x43b9ae
mov eax, dword [ebp - 4]
mov dword [eax - 8], 0x65
mov eax, dword [ebp - 4]
and word [eax + 0xca], 0
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
push 0x64
push eax
push 0x4bf5f0
push str.LangLocalized
push str.Main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
lea ecx, [ebp - 4]
call fcn.004068ae
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.00406383
lea ecx, [ebp - 4]
call fcn.00401085
mov eax, dword [ebp + 8]
leave
ret
Function at 0x43ba8d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
je 0x43baa6
push dword [ebp + 8]
call fcn.00491136
test eax, eax
pop ecx
jne 0x43bb04
lea eax, [ebp + 8]
push eax
call fcn.0043cdf6
mov edi, dword [ebp + 0xc]
pop ecx
push eax
mov ecx, edi
call fcn.004065e8
lea ecx, [ebp + 8]
call fcn.00401085
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, str.www.amlpages.com
mov eax, esi
test eax, eax
jne 0x43bad8
xor eax, eax
jmp 0x43badb
push esi
call ebx
push esi
push eax
lea ecx, [edi + 4]
call fcn.00406586
mov esi, 0x4ab458
add edi, 8
mov eax, esi
test eax, eax
je 0x43baf6
push esi
call ebx
push esi
push eax
mov ecx, edi
call fcn.00406586
jmp 0x43bbcb
push dword [ebp + 8]
call fcn.00411bc2
test al, al
pop ecx
jne 0x43bb18
xor eax, eax
jmp 0x43bbce
mov esi, dword [ebp + 0xc]
mov edi, 0x401
push edi
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.00406846
test eax, eax
jne 0x43bb33
xor ebx, ebx
jmp 0x43bb44
mov eax, dword [ebx]
mov dword [eax - 8], edi
mov eax, dword [ebx]
and word [eax + 0x802], 0
mov ebx, dword [ebx]
push dword [ebp + 8]
push 0x400
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x4bf5f0
push str.Author
push str.Main
call ebx
push eax
lea ecx, [esi + 4]
call fcn.004068ae
push edi
mov ecx, esi
call fcn.00406846
test eax, eax
je 0x43bb8a
mov eax, dword [esi]
mov dword [eax - 8], edi
mov eax, dword [esi]
and word [eax + 0x802], 0
mov eax, dword [esi]
push dword [ebp + 8]
push 0x400
push eax
push 0x4bf5f0
push str.LangLocalized
push str.Main
call ebx
push eax
mov ecx, esi
call fcn.004068ae
push dword [ebp + 8]
lea eax, [ebp + 8]
push eax
call fcn.0043b9eb
pop ecx
pop ecx
push eax
lea ecx, [esi + 8]
call fcn.004065e8
lea ecx, [ebp + 8]
call fcn.00401085
push 1
pop eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x43bdc4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
push ecx
xor ebx, ebx
movzx ecx, word [ebp + 0xc]
mov eax, esp
mov dword [ebp - 4], ebx
mov dword [eax], ecx
lea ecx, [ebp - 4]
call fcn.0043cad3
cmp eax, ebx
jne 0x43be0c
mov ecx, dword [ebp + 8]
push 0x4bf5f0
call fcn.004064a9
cmp dword [ebp - 4], ebx
je 0x43bf91
lea ecx, [ebp - 4]
call fcn.0040633e
jmp 0x43bf91
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push dword [ebp - 4]
push eax
call fcn.0043bf9b
mov ecx, dword [ebp - 8]
add esp, 0xc
cmp dword [ecx - 8], ebx
jne 0x43be3d
mov ecx, dword [ebp + 8]
push 0x4bf5f0
call fcn.004064a9
lea ecx, [ebp - 8]
call fcn.00401085
jmp 0x43bdf6
mov eax, dword [0x4a9450]
push ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push ecx
call fcn.0043b68c
add esp, 0x10
lea ecx, [ebp - 0xc]
push str.87D306BD_DD3A_42fa_B7F2123129B39C5D6F374
call fcn.004064a9
mov eax, dword [0x4a9450]
mov esi, 0x4e21
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 8]
push esi
lea ecx, [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0x10], eax
call fcn.00406846
test eax, eax
jne 0x43be90
xor esi, esi
jmp 0x43bea3
mov eax, dword [ebp + 0xc]
mov dword [eax - 8], esi
mov eax, dword [ebp + 0xc]
mov word [eax + 0x9c42], bx
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.0043b848
push dword [ebp + 0x10]
mov eax, dword [eax]
push 0x7d0
push esi
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x1c]
call fcn.00401085
push 0xffffffffffffffff
lea ecx, [ebp + 0xc]
call fcn.004068ae
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call fcn.00490952
pop ecx
test eax, eax
pop ecx
jne 0x43bf4d
mov ecx, dword [ebp - 8]
mov esi, dword [ebp + 8]
cmp dword [ecx - 0xc], ebx
lea eax, [ecx - 0xc]
jl 0x43bf02
push eax
mov dword [esi], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x43bf11
mov eax, dword [0x4a9450]
push ecx
mov ecx, esi
mov dword [esi], eax
call fcn.00406638
lea ecx, [ebp + 0xc]
call fcn.00401085
lea ecx, [ebp - 0xc]
call fcn.00401085
lea ecx, [ebp - 0x14]
call fcn.00401085
lea ecx, [ebp - 0x10]
call fcn.00401085
lea ecx, [ebp - 0x18]
call fcn.00401085
lea ecx, [ebp - 8]
call fcn.00401085
lea ecx, [ebp - 4]
call fcn.0043caba
mov eax, esi
jmp 0x43bf94
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.00406383
lea ecx, [ebp + 0xc]
call fcn.00401085
lea ecx, [ebp - 0xc]
call fcn.00401085
lea ecx, [ebp - 0x14]
call fcn.00401085
lea ecx, [ebp - 0x10]
call fcn.00401085
lea ecx, [ebp - 0x18]
call fcn.00401085
lea ecx, [ebp - 8]
call fcn.00401085
lea ecx, [ebp - 4]
call fcn.0043caba
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0xc