joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42bc00
Capabilities:
Get common file path

Disassembly:
sub esp, 0x830
push ebx
push ebp
mov ebp, dword [esp + 0x83c]
xor ebx, ebx
push esi
cmp ebp, ebx
push edi
mov dword [esp + 0x1c], ecx
je 0x42be84
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
push ebp
call edi
add esp, 4
test eax, eax
jbe 0x42be84
mov esi, dword [esp + 0x848]
cmp esi, ebx
je 0x42be84
push esi
call edi
add esp, 4
test eax, eax
jbe 0x42be84
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x63a]
mov word [esp + 0x638], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x638]
mov dword [esp + 0x18], ebx
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push esi
lea ecx, [esp + 0x63c]
push str.Extensions
push ecx
push str._sKBrowserinstall_s_s_
lea edx, [esp + 0x30]
push 0x103
push edx
call ebx
push 0
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.004331b0
lea ecx, [esp + 0x44]
push ecx
call fcn.004338f0
lea edx, [esp + 0x48]
push edx
push ebp
call fcn.004cfdd0
add esp, 0x30
test eax, eax
je 0x42be84
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22a]
mov word [esp + 0x228], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x4eb4bc
lea eax, [esp + 0x24]
push esi
push eax
push str._s_s._s
lea ecx, [esp + 0x238]
push 0x103
push ecx
call ebx
lea edx, [esp + 0x240]
add esp, 0x18
test edx, edx
je 0x42bd47
lea eax, [esp + 0x228]
push 0
push eax
call fcn.00433030
add esp, 8
test eax, eax
jne 0x42bd69
push 0x4eb4b4
lea ecx, [esp + 0x24]
push esi
push ecx
push str._s_s._s
lea edx, [esp + 0x238]
push 0x103
push edx
call ebx
add esp, 0x18
lea eax, [esp + 0x228]
test eax, eax
je 0x42be84
lea ecx, [esp + 0x228]
push 0
push ecx
call fcn.00433030
add esp, 8
test eax, eax
je 0x42be84
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0x10]
xor edx, edx
lea ecx, [esp + 0x228]
push eax
mov dword [esp + 0x14], edx
push ecx
mov ecx, ebp
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], 8
call fcn.0042bb40
test eax, eax
je 0x42be84
cmp dword [esp + 0x14], 1
jne 0x42be84
mov eax, dword [0x5de610]
test eax, eax
je 0x42be0b
mov ecx, ebp
call fcn.0042b390
test eax, eax
jne 0x42be0b
lea edx, [esp + 0x20]
push esi
push edx
mov ecx, ebp
call fcn.0042bea0
test eax, eax
je 0x42be73
push esi
push 0
mov ecx, ebp
call fcn.00423b90
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x830
ret 8
mov ax, word [0x503fd0]
mov ecx, 0x81
mov word [esp + 0x430], ax
xor eax, eax
lea edi, [esp + 0x432]
push str.Extensions
rep stosd dword es:[edi], eax
push 0x50424c
push 0x4e9960
lea ecx, [esp + 0x43c]
push 0x103
push ecx
stosw word es:[edi], ax
call ebx
lea edx, [esp + 0x444]
push edx
call fcn.004338f0
lea eax, [esp + 0x448]
push 1
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.00434180
add esp, 0x24
test eax, eax
je 0x42be73
jmp 0x42bdf4
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x830
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x830
ret 8
Function at 0x42bea0
Capabilities:
Create process on windows
Schedule task via at
Self delete

Disassembly:
mov eax, 0x1084
call fcn.004d0e10
push ebx
push ebp
mov ebp, dword [esp + 0x1090]
xor ebx, ebx
push esi
cmp ebp, ebx
push edi
je 0x42bfa9
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
push ebp
call edi
add esp, 4
test eax, eax
jbe 0x42bfa9
mov esi, dword [esp + 0x109c]
cmp esi, ebx
je 0x42bfa9
push esi
call edi
add esp, 4
test eax, eax
jbe 0x42bfa9
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x4e]
mov word [esp + 0x4c], bx
rep stosd dword es:[edi], eax
push esi
push 0x4e962c
push ebp
push str._tmp:
push 1
push 0x4e9654
push 7
push str._tp:
stosw word es:[edi], ax
push str._s_d__s_d__s_s__s_s
lea eax, [esp + 0x70]
push 0x823
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x40]
add esp, 0x2c
rep stosd dword es:[edi], eax
lea edx, [esp + 0x10]
lea ecx, [esp + 0x4c]
push edx
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x18], 0x40
mov dword [esp + 0x24], 0x504044
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], str.runas
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x42bf9a
mov eax, dword [esp + 0x48]
push 0x186a0
push eax
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x1084
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1084
ret 8

Function at 0x4315b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.00431350
mov eax, dword [esi + 4]
push 0x3f0
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ebx, [esi + 0x1874]
mov ecx, ebx
call fcn.0041c1f0
lea edx, [ebx + 0x5d4e0]
mov ecx, 0x412
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x214]
push ecx
push 0x4e923c
push 0x824
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov dx, word [0x503fd0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], dx
add esp, 0x10
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ebp, [esi + 0xc]
push ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [esp + 0x18]
push 0x4e8770
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edx, [ebx + 0x5d0d0]
push ebp
mov ecx, 0x82
xor eax, eax
mov edi, edx
push 0x4e923c
push 0x104
push edx
rep stosd dword es:[edi], eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov esi, dword [esi + 4]
add esp, 0x10
mov ecx, ebx
mov dword [ebx + 0x269c], 0x431780
mov dword [ebx + 0x2698], esi
call fcn.0041c120
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x431a70
Capabilities:
Delete file

Disassembly:
sub esp, 0x61c
push ebx
push ebp
mov ebp, dword [esp + 0x62c]
push esi
test ebp, ebp
push edi
mov dword [esp + 0x10], 0
je 0x431c3a
mov ebx, dword [esp + 0x638]
test ebx, ebx
je 0x431c3a
mov eax, dword [esp + 0x63c]
test eax, eax
je 0x431c3a
push 0
push ebx
call fcn.00433030
add esp, 8
test eax, eax
jne 0x431ac9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x61c
ret
mov dx, word [0x503fd0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x426]
mov word [esp + 0x424], dx
mov word [esp + 0x21c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
push 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x5e2874]
push 0x104
stosw word es:[edi], ax
lea eax, [esp + 0x224]
push eax
push ecx
call fcn.00433040
add esp, 0x10
lea edx, [esp + 0x21c]
lea eax, [esp + 0x424]
push str.Extensions
push edx
push 0x4e9960
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea ecx, [esp + 0x438]
push ecx
call fcn.004338f0
add esp, 0x18
test eax, eax
je 0x431c3a
push ebp
call fcn.00422f40
mov ecx, eax
call fcn.00423ea0
mov esi, eax
test esi, esi
je 0x431c00
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
rep stosd dword es:[edi], eax
lea edx, [esp + 0x14]
push 0x103
push edx
mov ecx, esi
stosw word es:[edi], ax
call fcn.0042a680
cmp word [esp + 0x14], 0
je 0x431bcc
mov eax, dword [esp + 0x63c]
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jl 0x431bcc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x61c
ret
mov esi, dword [esi + 0xd4]
test esi, esi
je 0x431bd8
call esi
mov eax, dword [esp + 0x640]
test eax, eax
je 0x431c3a
mov ecx, dword [esp + 0x63c]
push ecx
push ebx
push ebp
call fcn.004317a0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x61c
ret
push ebp
push ebx
call fcn.00422f40
mov ecx, eax
call fcn.0042bc00
mov esi, eax
test esi, esi
je 0x431c50
mov edx, dword [esp + 0x630]
push 0
push edx
call dword [sym.imp.USER32.dll_EndDialog]
push ebx
mov dword [esp + 0x14], 1
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.00429d70
mov eax, dword [esp + 0x10]
pop edi
neg eax
sbb eax, eax
pop esi
pop ebp
and eax, 2
pop ebx
add esp, 0x61c
ret
mov eax, dword [esp + 0x63c]
push eax
push ebx
push ebp
call fcn.004317a0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x61c
ret
Function at 0x432280
Capabilities:
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4490
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push ebx
push esi
mov esi, ecx
xor edx, edx
push edi
mov dword [ebp - 0x1c], esi
cmp word [esi + 4], dx
lea ebx, [esi + 4]
mov dword [ebp - 0x10], esp
jne 0x4322c9
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x22a]
mov word [ebp - 0x22c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], edx
cmp edi, edx
je 0x432308
push ebx
push str._s.bak
lea eax, [ebp - 0x22c]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
xor edx, edx
mov ecx, esi
mov dword [ebp - 4], edx
call fcn.00432cf0
test edi, edi
je 0x43231f
lea ecx, [ebp - 0x22c]
push ecx
jmp 0x432320
push ebx
mov ecx, esi
call fcn.00432bd0
test eax, eax
jne 0x43233e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xc
push 1
push str.KB.3
mov ecx, esi
call fcn.00432d90
push 7
push 1
push str.3.0.0.1
mov ecx, esi
call fcn.00432d90
push 0x64
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x43238a
mov ecx, esi
call fcn.00432cf0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, 0x19
xor eax, eax
mov edi, ebx
push 0x64
rep stosd dword es:[edi], eax
push 1
push ebx
mov ecx, esi
call fcn.00432d90
push ebx
call fcn.004d0de9
mov ecx, dword [esi + 0x210]
add esp, 4
test ecx, ecx
jne 0x4323bb
xor ebx, ebx
mov dword [ebp - 0x14], ebx
jmp 0x4323cb
mov eax, dword [esi + 0x214]
sub eax, ecx
sar eax, 2
mov dword [ebp - 0x14], eax
mov ebx, eax
lea edx, [ebx + ebx*2]
push 1
lea eax, [ebp - 0x24]
push 4
shl edx, 3
push eax
mov ecx, esi
mov dword [ebp - 0x24], edx
call fcn.00432d90
xor edi, edi
cmp edi, ebx
jge 0x432419
mov eax, dword [esi + 0x210]
push 0x14
push 1
mov eax, dword [eax + edi*4]
mov ecx, dword [eax + 0x18]
add eax, 4
mov dword [ebp - 0x18], ecx
push eax
mov ecx, esi
call fcn.00432d90
push 1
lea ecx, [ebp - 0x18]
push 4
push ecx
mov ecx, esi
call fcn.00432d90
inc edi
jmp 0x4323e5
xor ebx, ebx
cmp ebx, dword [ebp - 0x14]
jge 0x432449
mov eax, dword [esi + 0x210]
mov edi, dword [eax + ebx*4]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
push eax
push 1
push ecx
mov ecx, esi
call fcn.00432d90
test edi, edi
je 0x432446
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
inc ebx
jmp 0x43241b
mov ecx, esi
call fcn.00432ed0
mov ecx, esi
call fcn.00432cf0
mov eax, dword [ebp + 8]
test eax, eax
je 0x432484
add esi, 4
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
lea eax, [ebp - 0x22c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x432bd0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
mov esi, ecx
mov dword [esp + 0x10], ebp
je 0x432cd8
lea edi, [esi + 0x22c]
push 0x103
push eax
push edi
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
push ebp
push 0x80
push 4
push ebp
push 1
push SysReAllocString
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x432cd8
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x6400000
mov dword [esi + 0x220], eax
mov dword [esi + 0x224], eax
mov dword [esp + 0x18], ebp
jbe 0x432c4a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
cmp edi, ebp
mov dword [esi + 0x21c], edi
jne 0x432c6a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4
mov ecx, dword [esi + 0x220]
xor eax, eax
inc ecx
push ebp
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 ecx, dword [esi + 0x220]
mov edx, dword [esi + 0x21c]
lea eax, [esp + 0x1c]
push eax
push ecx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x432cb8
mov eax, dword [esi + 0x220]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jne 0x432cb8
mov dword [esp + 0x10], 1
jmp 0x432cd1
mov eax, dword [esi + 0x21c]
cmp eax, ebp
je 0x432cd1
push eax
call fcn.004d0de9
add esp, 4
mov dword [esi + 0x21c], ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
mov dword [esi + 0x228], ebp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x432f00
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
test ebx, ebx
je 0x432f66
mov esi, dword [esp + 0x18]
test esi, esi
je 0x432f66
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0x80000080
push 2
push 0
push 3
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x432f66
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x10]
push 0
push eax
push edi
push ebx
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
push esi
jne 0x432f6e
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0xc
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, edi
pop edi
pop esi
pop ebx
sete al
ret 0xc
Function at 0x433490
Capabilities:
Get file size
Write file on windows

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4d44cb
push eax
mov eax, 0x271c
mov dword fs:[0], esp
call fcn.004d0e10
mov eax, dword [0x4e8e78]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x273c]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ebx, ebx
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0x1c]
cmp esi, ebx
mov dword [esp + 0x2734], ebx
rep stosd dword es:[edi], eax
je 0x4334e8
push esi
call ebp
mov ebx, eax
push ebx
lea ecx, [esp + 0x14]
call fcn.00408e30
test eax, eax
je 0x43351e
mov edi, dword [esp + 0x10]
lea eax, [ebx + ebx]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], ebx
mov edx, dword [esp + 0x10]
mov word [eax + edx], 0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push 1
mov dword [esp + 0x1c], 0x5c
call fcn.00416eb0
mov esi, dword [esp + 0x2740]
test esi, esi
jne 0x433545
xor eax, eax
jmp 0x433548
push esi
call ebp
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00416eb0
mov ecx, dword [esp + 0x10]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4335ad
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4e80f0]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4335a6
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4335a6
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.004d0de9
add esp, 4
xor eax, eax
jmp 0x433641
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
mov esi, eax
push 0x40
push edi
sub esi, 0x40
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test esi, esi
jbe 0x433606
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, 0x2710
push 0
jbe 0x4335f8
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x20]
push ecx
push 0x2710
push edx
push edi
call ebx
sub esi, 0x2710
jne 0x4335d2
jmp 0x433606
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push esi
push ecx
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4e80f0]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x43363c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43363c
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.004d0de9
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x272c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2728
ret
Function at 0x4337e0
Capabilities:
Get file version info

Disassembly:
mov eax, 0x400c
call fcn.004d0e10
push esi
push edi
mov ecx, 0xfff
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x4018]
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x4338a9
cmp eax, 0x3fff
ja 0x4338a9
lea ecx, [esp + 0x14]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4338a9
lea edx, [esp + 0x10]
lea eax, [esp + 8]
push edx
push eax
lea ecx, [esp + 0x1c]
push 0x4e980c
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4338a9
mov eax, dword [esp + 8]
xor edx, edx
mov esi, dword [esp + 0x4020]
mov edi, dword [esp + 0x401c]
mov dx, word [eax + 0xc]
mov ecx, dword [eax + 0xc]
push edx
xor edx, edx
mov dx, word [eax + 8]
mov eax, dword [eax + 8]
shr ecx, 0x10
push ecx
push edx
shr eax, 0x10
push eax
push str._d._d._d._d
push esi
push edi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x1c
mov word [edi + esi*2 - 2], 0
mov eax, 1
pop edi
pop esi
add esp, 0x400c
ret
pop edi
xor eax, eax
pop esi
add esp, 0x400c
ret

Function at 0x4338c0
Capabilities:
Create directory

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
test esi, esi
jne 0x4338e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov eax, 1
je 0x4338e8
mov eax, esi
pop esi
ret

Function at 0x434300
Capabilities:
Create thread

Disassembly:
push ecx
push esi
xor esi, esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, esi
mov dword [0x5d9bf8], eax
je 0x4343e6
push 0x5d9be0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esp + 4]
mov dword [esp + 4], esi
push eax
push esi
push esi
push 0x434d60
push esi
push esi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
cmp eax, esi
je 0x43434c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov cl, byte [0x5d9bb0]
mov al, 1
test al, cl
jne 0x434385
mov dl, cl
push 0x434400
or dl, al
mov dword [0x5d9ba0], 0x4d9308
mov byte [0x5d9bb0], dl
mov dword [0x5d9ba8], esi
mov dword [0x5d9bac], esi
call fcn.004d0e72
add esp, 4
mov ecx, 0x5d9ba0
mov dword [0x5d9ba8], 0x4eafd0
call fcn.00437110
mov cl, byte [0x5d9bb0]
mov al, 2
test al, cl
jne 0x4343d2
mov dl, cl
push 0x4343f0
or dl, al
mov dword [0x5d9b90], 0x4d9308
mov byte [0x5d9bb0], dl
mov dword [0x5d9b98], esi
mov dword [0x5d9b9c], esi
call fcn.004d0e72
add esp, 4
mov ecx, 0x5d9b90
mov dword [0x5d9b98], 0x4f5a10
call fcn.00437110
pop esi
pop ecx
ret
Function at 0x434e10
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9400
push 0x4d0e84
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [0x4f6dec]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x1c], eax
cmp eax, esi
je 0x434ecb
mov dword [ebp - 0x20], esi
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push 0x4daec0
push eax
call dword [ecx]
test eax, eax
jne 0x434ecb
mov eax, dword [ebp - 0x20]
cmp eax, esi
je 0x434ecb
mov dword [ebp - 0x24], esi
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push esi
push 0x503fd0
mov edx, dword [ebp + 8]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x24]
cmp eax, esi
je 0x434e8f
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push esi
mov edx, dword [ebp + 0x10]
push edx
push 0xc8
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x24]
cmp eax, esi
je 0x434eb7
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x434ecb
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43980e
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4d464b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [esp + 0x20]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov cl, byte [esp + 0x30]
xor ebx, ebx
push 0x1c
mov dword [esp + 0x18], esi
mov byte [esi + 0x14], al
mov byte [esi + 0x15], cl
mov byte [esi + 0x1c], bl
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
lea ecx, [esp + 0x10]
mov ebp, edi
mov dword [edi + 4], ebx
mov dword [edi + 0x18], 1
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
cmp dword [0x5d9c50], ebx
jne 0x439862
mov dword [0x5d9c50], edi
mov dword [edi], ebx
mov edx, dword [0x5d9c50]
xor ebp, ebp
mov dword [edx + 8], ebx
mov ecx, dword [0x5d9c4c]
inc ecx
mov dword [0x5d9c4c], ecx
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp ebp, ebx
je 0x439886
push ebp
call fcn.004d0de9
add esp, 4
mov edi, dword [0x5d9c50]
push 0x1c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [eax + 4], edi
mov dword [eax + 0x18], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], ebx
mov dword [eax], eax
mov eax, dword [esi + 0x18]
add esp, 4
mov dword [eax + 8], eax
mov edi, dword [esp + 0x30]
mov dword [esp + 0x20], ebx
push edi
mov dword [esi], 0x4d9578
call fcn.00485270
mov ecx, eax
call fcn.00485620
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0xc

Function at 0x43a6a0
Capabilities:
Get keyboard layout

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
cmp esi, 7
je 0x43a6bf
cmp esi, 0x51
jne 0x43a6d1
mov eax, dword [esp + 0x18]
mov dword [0x605764], eax
jmp 0x43a6d1
mov ecx, dword [0x504020]
push 0
push 0
push ecx
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [0x504020], esi
jne 0x43a6fc
push 0
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov ecx, dword [0x605764]
cmp ecx, eax
je 0x43a6fc
push 0
push ecx
call dword [sym.imp.USER32.dll_ActivateKeyboardLayout]
pop edi
pop esi
ret