joyce8/EMBER2024-capa huggingface dataset:
Function at 0x475f20
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4cbbf0]
cmp dword [eax + 0x30], 0
je 0x475fca
cmp dword [ebx + 0x94], 0
jne 0x475fc4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x475eb0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x475fc4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x475f8a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x475fc4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419754
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x475f99
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x476b2c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x476b61
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404170
jmp 0x476b6e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004040d4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x477c78
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x477cb9
mov eax, esi
call fcn.0045da4c
test al, al
je 0x477cb9
mov eax, dword [ebx + 0x84]
call fcn.0045d748
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x477cb9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045d748
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x47b380
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x47b3ae
mov eax, ebx
call fcn.0047be34
cmp dword [ebx + 0x40], 0
je 0x47b3a7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47b41f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x47b411
cmp dword [ebx + 8], 0
je 0x47b3d0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x47b3e2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47b411
cmp dword [ebx + 8], 0
je 0x47b3c3
cmp eax, 3
je 0x47b3f5
dec eax
jne 0x47b3c3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x47b3c3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x47b3c3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x47b43d
cmp dword [ebx + 0x14], 0xcc
je 0x47b43d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0047b448
pop ebx
ret
Function at 0x48c358
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x416474]
call fcn.00404b50
xor eax, eax
push ebp
push 0x48c49c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c9a38], 0
jne 0x48c3ab
mov ecx, dword [0x4ca454]
mov dl, 1
mov eax, dword [0x4075e8]
call fcn.0040c058
call fcn.00403abc
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402cf8
mov eax, ebx
call fcn.00404908
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x48c4ac
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405ad4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404918
test eax, eax
jle 0x48c443
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x48c43c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404308
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004042f0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004084a0
test eax, eax
jne 0x48c43c
mov ebx, 0x15
jmp 0x48c448
mov ebx, 0x10
jmp 0x48c448
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4c9a38]
call fcn.0048c2b0
mov eax, dword [ebp - 8]
call fcn.0048c2b0
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405aec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c4a3
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004040a4
lea eax, [ebp - 0x10]
mov edx, dword [0x416474]
call fcn.00404c20
ret

Function at 0x497a90
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x497b4a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040478c
mov eax, dword [0x4ca4f4]
cmp byte [eax], 0
je 0x497aff
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404aec
mov eax, dword [ebx]
call fcn.00404918
push eax
mov eax, dword [ebx]
call fcn.00404908
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404918
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404aec
jmp 0x497b31
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.004090e4
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.004048f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x497b51
lea eax, [ebp - 0x3f0]
call fcn.00404080
ret
Function at 0x49ac78
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x49acd2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2cc], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x2bc], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c8]
mov eax, esi
call fcn.0049acdc
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49acd9
ret

Function at 0x4a0570
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x4a05a6
jmp 0x4a064c
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x4a05ea
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x168], 0
je 0x4a05ea
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x168]
mov eax, dword [eax + 0x14]
jmp 0x4a05fa
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x164]
test edx, edx
je 0x4a05fa
mov eax, dword [edx + 0x14]
test eax, eax
je 0x4a0613
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.0049cf64
jmp 0x4a064c
mov dl, 1
mov eax, dword [0x423a54]
call fcn.00425a38
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.004264a8
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xbc]
mov eax, dword [esi + 0x10]
call fcn.004255e8
mov edx, esp
mov eax, esi
call fcn.0042613c
mov eax, esi
call fcn.004032f0
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x4a2b64
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.0045d748
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.00456e48
pop ebx
ret
Function at 0x4a7f48
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a8002
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040478c
mov eax, dword [0x4ca4f4]
cmp byte [eax], 0
je 0x4a7fb7
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404aec
mov eax, dword [ebx]
call fcn.00404918
push eax
mov eax, dword [ebx]
call fcn.00404908
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404918
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404aec
jmp 0x4a7fe9
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.004090e4
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.004048f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8009
lea eax, [ebp - 0x3f0]
call fcn.00404080
ret

Function at 0x4a81a4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov ebp, edx
mov esi, eax
mov edx, ebp
mov eax, dword [esi + 0x3c]
call dword [esi + 0x38]
cmp dword [ebp + 0xc], 0
jne 0x4a825d
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0046e210
mov ebx, eax
mov dx, word [ebp + 4]
mov eax, esi
call fcn.004a7e8c
mov edi, eax
test edi, edi
je 0x4a8203
mov al, byte [0x4a8268]
cmp al, bl
jne 0x4a8203
mov edx, edi
mov eax, esi
call fcn.004a7dc4
mov dword [ebp + 0xc], 1
mov byte [esi + 0x31], 1
jmp 0x4a825d
cmp byte [esi + 0x161], 2
jne 0x4a822e
mov eax, dword [ebp + 8]
push eax
movzx ecx, word [ebp + 4]
mov eax, dword [0x4ca978]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov edx, 0xb006
call fcn.004580dc
test eax, eax
jne 0x4a825d
jmp 0x4a8258
mov eax, dword [0x4ca838]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [esi + 0x128]
je 0x4a8258
mov edx, dword [ebp + 8]
push edx
movzx ecx, word [ebp + 4]
mov edx, dword [0x4ca838]
mov edx, 0xb006
call fcn.004580dc
xor eax, eax
mov dword [ebp + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ae1d8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x4ae20c
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4ae248
jmp 0x4ae210
pop edx
pop eax
jge 0x4ae248
mov eax, dword [0x4ca978]
mov eax, dword [eax]
mov dword [eax + 0x44], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004a9054
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x4ae26d
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4ae26d
cmp dword [ebx + 0x11c], 0
je 0x4ae26d
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0043311c
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4b8944
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b8ab5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x9c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4b8a9a
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.004090e4
mov dl, 1
mov eax, dword [0x494098]
call fcn.004940f0
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
mov dl, 1
mov eax, dword [0x417858]
call fcn.004032c0
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x98]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.0049416c
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4b8a97
mov dl, 1
mov eax, dword [0x495210]
call fcn.00495278
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov edx, 0x4b8acc
call fcn.004944b8
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040438c
xor eax, eax
push ebp
push 0x4b8a90
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00495578
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004b8ad4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8a97
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.004032f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.004032f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004032f0
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8abc
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004040a4
ret
Function at 0x4bbd1c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4bbdd6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040478c
mov eax, dword [0x4ca4f4]
cmp byte [eax], 0
je 0x4bbd8b
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404aec
mov eax, dword [ebx]
call fcn.00404918
push eax
mov eax, dword [ebx]
call fcn.00404908
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404918
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404aec
jmp 0x4bbdbd
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.004090e4
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.004048f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bbddd
lea eax, [ebp - 0x3f0]
call fcn.00404080
ret

Function at 0x4bbde4
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.004090e4
add esp, 0x3ec
pop ebx
ret

Function at 0x4c5264
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
lea edi, [ebp - 4]
xor eax, eax
push ebp
push 0x4c5330
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [edi], eax
push edi
push 0
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryA
mov eax, dword [edi]
call fcn.00402744
mov ebx, eax
cmp dword [edi], 0
jbe 0x4c52a3
mov eax, dword [edi]
mov dword [ebx], eax
push edi
push ebx
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryA
mov esi, eax
test esi, esi
je 0x4c530b
lea eax, [ebp - 8]
mov edx, dword [ebx + 4]
call fcn.00404278
mov edx, dword [ebp - 8]
mov eax, 0x4c5348
call fcn.00404684
test eax, eax
jg 0x4c52d7
mov eax, dword [ebx + 4]
push eax
call sub.wininet.dll_DeleteUrlCacheEntry
mov edx, dword [edi]
mov eax, ebx
call fcn.00402764
xor eax, eax
mov dword [edi], eax
push edi
push 0
push esi
call sub.wininet.dll_FindNextUrlCacheEntryA
mov eax, dword [edi]
call fcn.00402744
mov ebx, eax
cmp dword [edi], 0
jbe 0x4c52ff
mov eax, dword [edi]
mov dword [ebx], eax
push edi
push ebx
push esi
call sub.wininet.dll_FindNextUrlCacheEntryA
test eax, eax
jne 0x4c52b2
mov edx, dword [edi]
mov eax, ebx
call fcn.00402764
push esi
call sub.wininet.dll_FindCloseUrlCache
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c5337
lea eax, [ebp - 8]
call fcn.00404080
ret
Function at 0xda9058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xda91a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xda907e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xda906a
add dl, dl
jne 0xda9089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xda90dc
xor eax, eax
add dl, dl
jne 0xda9096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xda917d
add dl, dl
jne 0xda90a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xda90b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xda90bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xda90c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xda90d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xda9075
mov eax, 1
add dl, dl
jne 0xda90ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xda90f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xda90e1
sub eax, ebx
mov ebx, 1
jne 0xda9128
mov ecx, 1
add dl, dl
jne 0xda910e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xda9119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xda9105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xda9075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xda913f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xda914a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xda9136
cmp eax, 0x7d00
jae 0xda916d
cmp eax, 0x500
jb 0xda9168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xda9075
cmp eax, 0x7f
ja 0xda9170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xda9075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xda919e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xda9075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x7d703360
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x20], 0
je 0x7d70337b
push str.unexpected_version_parameter_n
call sub.ntext.dll_DbgPrint
add esp, 4
cmp dword [ebp + 0x24], 0
je 0x7d70338e
push str.unexpected_reserved_value_n
call sub.ntext.dll_DbgPrint
add esp, 4
cmp dword [ebp + 0x28], 0
je 0x7d7033a1
push str.unexpected_lParam_n
call sub.ntext.dll_DbgPrint
add esp, 4
cmp dword [ebp + 0x10], 0
je 0x7d7033ad
cmp dword [ebp + 0x18], 0
jne 0x7d7033bb
push 0x57
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d70345d
mov eax, dword [ebp + 0xc]
and eax, 0xaffceff8
je 0x7d7033d6
push 0x3ec
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d70345d
mov ecx, dword [ebp + 0xc]
and ecx, 0x10000000
je 0x7d7033ee
push str.Ignoring_unknown_flags_0x10000000_n
call sub.ntext.dll_DbgPrint
add esp, 4
cmp dword [ebp + 0x14], 0
jge 0x7d703403
mov edx, dword [ebp + 0x10]
push edx
call sub.ntext.dll_wcslen
add esp, 4
mov dword [ebp + 0x14], eax
cmp dword [ebp + 0x1c], 0
jge 0x7d703418
mov eax, dword [ebp + 0x18]
push eax
call sub.ntext.dll_wcslen
add esp, 4
mov dword [ebp + 0x1c], eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.7d7095d0
add esp, 0x14
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x7d703458
cmp dword [ebp - 4], 0
jge 0x7d70344c
mov dword [ebp - 8], 1
jmp 0x7d703453
mov dword [ebp - 8], 3
mov eax, dword [ebp - 8]
jmp 0x7d70345d
mov eax, 2
mov esp, ebp
pop ebp
ret 0x24
Function at 0x7d7037c0
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x7d7120d8]
movzx ecx, byte [eax]
and ecx, 1
je 0x7d70381a
push 0x7d73f785
push 0x335
push 0x7d73f786
push 0x7d73aa90
mov edx, dword [0x7d7120d8]
push edx
push 0
call fcn.7d70d8f0
add esp, 0x18
cmp eax, 0xffffffff
je 0x7d70381a
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x7d73aa74
call fcn.7d70d960
add esp, 0x14
cmp dword [ebp + 8], 0
jne 0x7d703827
mov dword [ebp + 8], 8
mov ecx, dword [ebp + 8]
and ecx, 0xc
cmp ecx, 0xc
jne 0x7d703840
push 0x57
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d703929
cmp dword [ebp + 0x10], 0
jne 0x7d703869
push 0x7a
call sub.kernel32.dll_SetLastError
mov edx, dword [ebp + 0x14]
mov dword [edx], 0xa
mov eax, dword [ebp + 0xc]
mov dword [eax], 2
mov eax, 1
jmp 0x7d703929
call sym.kernel32_wrapper.dll_GetUserDefaultLangID
mov word [ebp - 4], ax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
call sub.ntext.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 8]
and ecx, 4
je 0x7d7038dd
mov edx, dword [ebp + 0x14]
mov dword [edx], 0xb
mov eax, dword [ebp + 0xc]
mov dword [eax], 2
movzx ecx, word [ebp - 4]
push ecx
push 0x7d712090
mov edx, dword [ebp + 0x10]
push edx
call sub.ntext.dll_swprintf
add esp, 0xc
movzx eax, word [ebp - 4]
and eax, 0x3ff
push eax
push 0x7d712090
mov ecx, dword [ebp + 0x10]
add ecx, 0xa
push ecx
call sub.ntext.dll_swprintf
add esp, 0xc
push 0
call sub.kernel32.dll_SetLastError
jmp 0x7d703924
mov edx, dword [ebp + 0x14]
mov dword [edx], 0xa
mov eax, dword [ebp + 0xc]
mov dword [eax], 2
push 0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x10]
push eax
movzx ecx, word [ebp - 4]
push ecx
call sym.kernel32_wrapper.dll_LCIDToLocaleName
mov edx, dword [ebp + 0x10]
push edx
push 0x7d71209c
mov eax, dword [ebp + 0x10]
add eax, 0xc
push eax
call sub.ntext.dll_swprintf
add esp, 0xc
push 0
call sub.kernel32.dll_SetLastError
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x7d703ea0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
and eax, 0x12
je 0x7d703ec8
push str.EnumSystemLocalesEx_called_with_unsupported_flags_n
call sub.ntext.dll_DbgPrint
add esp, 4
xor eax, eax
jmp 0x7d703f43
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x7d703ee2
cmp dword [ebp - 8], 1
je 0x7d703ef4
cmp dword [ebp - 8], 4
je 0x7d703eeb
jmp 0x7d703efd
mov dword [ebp - 4], 1
jmp 0x7d703f04
mov dword [ebp - 4], 4
jmp 0x7d703f04
mov dword [ebp - 4], 1
jmp 0x7d703f04
mov dword [ebp - 4], 2
mov edx, dword [ebp - 4]
push edx
push 0x7d703470
call sym.kernel32_wrapper.dll_EnumSystemLocalesW
cmp dword [0x7d73f7a8], 0
je 0x7d703f41
mov eax, dword [0x7d73f7a8]
push eax
push str.System_Locale_is__s_n
call sub.ntext.dll_DbgPrint
add esp, 8
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [0x7d73f7a8]
push eax
call dword [ebp + 8]
jmp 0x7d703f43
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10