joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4044d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x4a4100]
xor eax, esp
mov dword [esp + 0x210], eax
mov eax, dword [esp + 0x21c]
push ebp
mov ebp, dword [esp + 0x21c]
push esi
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x1a]
push edx
mov dword [esp + 0x18], eax
xor esi, esi
mov word [esp + 0x1c], cx
call fcn.00474b70
add esp, 0xc
push 0x492994
push str.softwareScreenSnapshotTool
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 8]
push ecx
push 0x20119
push esi
lea edx, [esp + 0x1c]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404563
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push ebp
push ebx
push eax
push esi
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
pop ebp
xor ecx, esp
call fcn.0046f01c
add esp, 0x214
ret 8

Function at 0x406170
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48c698
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x4a4100]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, edx
mov ecx, 7
mov dword [esp + 0x28], ecx
xor eax, eax
mov dword [esp + 0x44], ecx
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x24], eax
mov word [esp + 0x14], dx
mov dword [esp + 0x40], eax
mov word [esp + 0x30], cx
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x5c], eax
call fcn.00405ac0
lea esi, [esp + 0x10]
mov dword [esp + 0x58], 0xffffffff
call fcn.00406390
mov eax, ebx
call fcn.00406100
mov edx, edi
lea ecx, [edx + 2]
mov si, word [edx]
add edx, 2
test si, si
jne 0x4061f0
sub edx, ecx
sar edx, 1
push edx
push edi
mov ecx, eax
call fcn.00405fe0
mov eax, ebx
call fcn.00406100
mov esi, dword [ebp + 8]
mov edx, esi
add eax, 0x1c
lea edi, [edx + 2]
lea ebx, [ebx]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x406220
sub edx, edi
sar edx, 1
push edx
push esi
mov ecx, eax
call fcn.00405fe0
mov eax, ebx
call fcn.00406100
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x38], ecx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40ad60
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x4a4100]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x124]
lea edx, [esi + 0x3d4]
push edx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 0x3c4], 1
mov dword [esi + 0x3c8], 1
call fcn.00449510
mov eax, dword [esi]
push 0x9c53
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x110
lea ecx, [esp + 8]
push 0
push ecx
mov dword [esi + 0x3f4], eax
mov dword [esp + 0xc], 0x114
call fcn.00474b70
add esp, 0xc
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x10], 2
jne 0x40adef
cmp dword [esp + 4], 5
jb 0x40adef
mov eax, 1
jmp 0x40adf1
xor eax, eax
mov dword [esi + 0x3cc], eax
test eax, eax
je 0x40ae07
mov dword [esi + 0x3d0], 0x80
jmp 0x40ae11
mov dword [esi + 0x3d0], 0x40
mov eax, dword [esi + 0x3d0]
dec eax
push eax
push str.Snapshot
lea ecx, [esi + 0x20]
push 0x80
push ecx
mov dword [esi + 0x14], 4
call fcn.0046fbcf
add esp, 0x10
cmp dword [esi + 0x3c8], 0
jne 0x40ae4b
lea edx, [esi + 8]
push edx
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov eax, dword [0x4a60c0]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x3f4]
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x11c]
inc eax
mov dword [0x4a60c0], eax
xor ecx, esp
mov dword [esi + 0x3ec], 0
mov dword [esi + 0x3f0], 0
mov dword [esi + 8], 0x3bc
mov dword [esi + 0x1c], edx
mov dword [esi + 0x18], 0x5f4
mov eax, esi
call fcn.0046f01c
add esp, 0x120
ret 4
Function at 0x4112a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [edi + 4]
sub esp, 0x18
push ebx
push ebp
push esi
test eax, eax
je 0x4112cf
cmp dword [eax + 0x24], 0
je 0x4112cf
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x1c], edx
cmp dword [edi + 0xc], 0
mov ebp, dword [esp + 0x2c]
mov esi, 1
je 0x411338
mov ecx, dword [edi + 0x70]
sub ecx, dword [edi + 0x78]
mov eax, dword [esp + 0x28]
sub eax, dword [edi + 0x2c]
add ecx, dword [edi + 0x50]
cmp eax, ecx
jle 0x41130c
mov eax, dword [edi + 0x18]
sub eax, dword [edi + 0x14]
mov edx, 0
add eax, esi
sets dl
mov ebx, 0x114
dec edx
and eax, edx
jmp 0x411385
cmp eax, dword [edi + 0x38]
jge 0x41131a
xor eax, eax
mov ebx, 0x114
jmp 0x411385
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x14]
push ecx
push edx
push eax
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00411570
add esp, 0x14
mov ebx, 0x114
jmp 0x411385
mov ecx, dword [edi + 0x74]
sub ecx, dword [edi + 0x7c]
mov eax, ebp
sub eax, dword [edi + 0x2c]
add ecx, dword [edi + 0x54]
cmp eax, ecx
jle 0x41135f
mov eax, dword [edi + 0x18]
sub eax, dword [edi + 0x14]
mov edx, 0
add eax, esi
sets dl
dec edx
and eax, edx
jmp 0x411380
cmp eax, dword [edi + 0x3c]
jge 0x411368
xor eax, eax
jmp 0x411380
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x14]
push ecx
push edx
push eax
lea eax, [esp + 0x1c]
push eax
push 0
call fcn.00411570
add esp, 0x14
mov ebx, 0x115
cmp eax, dword [edi + 0x10]
je 0x41141e
mov edx, dword [edi]
mov edx, dword [edx + 0x14]
mov dword [edi + 0x10], eax
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea edx, [edi + 0x70]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4113c1
cmp dword [edi + 0x28], esi
je 0x4113ce
mov dword [edi + 0x28], esi
jmp 0x4113ce
mov eax, 0x40
cmp dword [edi + 0x28], eax
je 0x4113ce
mov dword [edi + 0x28], eax
mov esi, dword [edi + 4]
xor ebp, ebp
cmp esi, ebp
je 0x4113f7
cmp dword [esi + 0x24], ebp
je 0x4113f7
movzx eax, word [edi + 0x10]
shl eax, 0x10
or eax, 5
push eax
push ebx
lea ecx, [esp + 0x14]
xor edx, edx
mov dword [esp + 0x14], ebp
call fcn.00413590
mov esi, dword [edi + 4]
cmp esi, ebp
je 0x411456
cmp dword [esi + 0x24], ebp
je 0x411456
push ebp
push 0xf
lea ecx, [esp + 0x14]
xor edx, edx
mov dword [esp + 0x14], ebp
call fcn.00413590
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8
mov ecx, dword [esp + 0x28]
push ebp
push ecx
lea edx, [edi + 0x70]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x41143c
cmp dword [edi + 0x28], esi
je 0x411456
mov dword [edi + 0x28], esi
jmp 0x411448
cmp dword [edi + 0x28], esi
jne 0x411456
mov dword [edi + 0x28], 0x40
xor ecx, ecx
push 0
lea edx, [ecx + 0xf]
mov eax, edi
call fcn.004136d0
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8
Function at 0x4115f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [edi + 4]
sub esp, 0x1c
push ebx
push esi
test eax, eax
je 0x41161e
cmp dword [eax + 0x24], 0
je 0x41161e
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x1c], edx
cmp dword [edi + 0xc], 0
je 0x41168d
mov ecx, dword [edi + 0x78]
sub ecx, dword [edi + 0x70]
mov eax, ecx
cdq
sub eax, edx
mov edx, eax
mov eax, dword [esp + 0x28]
sar edx, 1
sub eax, edx
mov edx, dword [edi + 0x50]
sub edx, ecx
cmp eax, edx
jle 0x411660
mov eax, dword [edi + 0x18]
sub eax, dword [edi + 0x14]
mov ecx, 0
add eax, 1
sets cl
mov ebx, 0x114
dec ecx
and eax, ecx
jmp 0x4116e7
cmp eax, dword [edi + 0x38]
jge 0x41166e
xor eax, eax
mov ebx, 0x114
jmp 0x4116e7
mov edx, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
push edx
push ecx
push eax
lea edx, [esp + 0x1c]
push edx
push 1
call fcn.00411570
add esp, 0x14
mov ebx, 0x114
jmp 0x4116e7
mov ecx, dword [edi + 0x7c]
sub ecx, dword [edi + 0x74]
mov eax, ecx
cdq
sub eax, edx
mov edx, eax
mov eax, dword [esp + 0x2c]
sar edx, 1
sub eax, edx
mov edx, dword [edi + 0x54]
sub edx, ecx
cmp eax, edx
jle 0x4116c1
mov eax, dword [edi + 0x18]
sub eax, dword [edi + 0x14]
mov ecx, 0
add eax, 1
sets cl
dec ecx
and eax, ecx
jmp 0x4116e2
cmp eax, dword [edi + 0x3c]
jge 0x4116ca
xor eax, eax
jmp 0x4116e2
mov edx, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
push edx
push ecx
push eax
lea edx, [esp + 0x1c]
push edx
push 0
call fcn.00411570
add esp, 0x14
mov ebx, 0x115
cmp eax, dword [edi + 0x10]
je 0x411761
mov dword [edi + 0x10], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
mov eax, edi
call fcn.00412980
mov esi, dword [edi + 4]
mov dword [edi + 0x20], eax
test esi, esi
je 0x41173d
cmp dword [esi + 0x24], 0
je 0x41173d
movzx edx, word [edi + 0x10]
shl edx, 0x10
or edx, 4
push edx
push ebx
lea ecx, [esp + 0x14]
xor edx, edx
mov dword [esp + 0x14], 0
call fcn.00413590
mov esi, dword [edi + 4]
test esi, esi
je 0x411761
cmp dword [esi + 0x24], 0
je 0x411761
push 0
push 0xf
lea ecx, [esp + 0x14]
xor edx, edx
mov dword [esp + 0x14], 0
call fcn.00413590
pop esi
pop ebx
add esp, 0x1c
ret 8
Function at 0x418a00
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov ebx, eax
push edi
mov esi, ebx
mov edi, ebp
call fcn.00414e20
mov edi, dword [ebp + 0x144]
push edi
call sub.IMM32.dll_ImmGetContext
push 0
push 4
mov esi, eax
push 0x15
push esi
call sub.IMM32.dll_ImmNotifyIME
push 0
push 0
push 0x11
push esi
call sub.IMM32.dll_ImmNotifyIME
push esi
push edi
call sub.IMM32.dll_ImmReleaseContext
mov esi, dword [ebp + 0x144]
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp]
mov edx, dword [eax + 0x14]
push 1
mov ecx, ebp
call edx
mov eax, dword [ebp + 0x50]
mov edi, dword [sym.imp.GDI32.dll_CreateFontIndirectW]
lea esi, [ebx + 0x58]
push esi
mov dword [ebp + 0x170], 1
mov dword [esp + 0x18], eax
call edi
test eax, eax
jne 0x418a93
lea esi, [ebp + 0xb0]
push esi
call edi
mov ecx, 0x17
lea edi, [ebp + 0x54]
mov dword [ebp + 0x50], eax
mov eax, dword [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
cmp eax, edi
je 0x418ab1
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebx + 0x50]
mov dword [ebp + 0x118], ecx
mov edx, dword [ebx + 0x54]
lea esi, [ebp + 0x140]
mov dword [ebp + 0x11c], edx
mov eax, dword [esi + 0x50]
mov dword [esi + 0x50], edi
cmp eax, edi
je 0x418ae2
add dword [eax + 0x1c], 0xffffffff
jne 0x418ae2
push eax
call fcn.0046f0ab
add esp, 4
mov eax, dword [ebp + 0x50]
push eax
push esi
call fcn.0041eb50
mov ecx, dword [ebx + 0x30]
mov dword [ebp + 0x174], ecx
mov edx, dword [ebx + 0x34]
mov dword [ebp + 0x178], edx
mov dword [ebp + 0x1b4], edi
mov dword [ebp + 0x1b8], edi
mov ecx, dword [esi + 0x54]
mov eax, 0x66666667
imul ecx
mov dword [esi + 0x80], ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
lea edx, [edx + eax + 1]
mov dword [esi + 0x7c], edx
mov dword [ebp + 0x1ac], edi
mov dword [ebp + 0x1b0], 0xffffffff
mov dword [ebp + 0x1c4], edi
mov byte [ebp + 0x1d0], 0
mov byte [ebp + 0x1d1], 0
mov byte [ebp + 0x1d2], 0
mov byte [ebp + 0x1d3], 0
mov eax, dword [ebx + 0x48]
mov dword [ebp + 0x17c], eax
mov ecx, dword [ebx + 0x4c]
lea edx, [esi + 0x58]
push edx
mov dword [ebp + 0x180], ecx
mov dword [ebp + 0x1d4], edi
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov dword [esi + 0x68], edi
mov edi, dword [ebx + 0xb8]
lea esi, [ebp + 0x184]
mov ebp, dword [ebx + 0xbc]
test ebp, ebp
jle 0x418ba5
mov ebx, edi
call fcn.0041bb90
dec ebp
add edi, 0xc
test ebp, ebp
jg 0x418b96
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x41c0d0
Capabilities:
Get keyboard layout

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
mov edi, 1
mov esi, ecx
mov dword [esp + 0xc], edi
cmp ebx, 0x10d
ja 0x41c142
je 0x41c115
cmp ebx, 8
je 0x41c207
cmp ebx, 0xff
jbe 0x41c10a
cmp ebx, 0x102
jbe 0x41c207
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret 0x18
push 4
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
call sub.IMM32.dll_ImmGetProperty
test eax, 0x10000
je 0x41c10c
mov eax, esi
call fcn.0041fdf0
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret 0x18
cmp ebx, 0x281
ja 0x41c1f0
je 0x41c207
sub ebx, 0x10e
je 0x41c1a6
sub ebx, edi
jne 0x41c10a
push 4
push ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
call sub.IMM32.dll_ImmGetProperty
mov edx, dword [esp + 0x20]
push edx
push eax
test eax, 0x10000
mov eax, esi
je 0x41c192
call fcn.00420070
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret 0x18
call fcn.00420010
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret 0x18
push 4
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
call sub.IMM32.dll_ImmGetProperty
test eax, 0x10000
je 0x41c10c
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
push edx
push eax
push 0x10e
push ecx
mov dword [esi], 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret 0x18
mov eax, ebx
sub eax, 0x282
je 0x41c227
sub eax, 2
je 0x41c207
sub eax, 2
jne 0x41c10a
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edx
push esi
call fcn.0041be00
mov edi, eax
pop edi
pop esi
pop ebx
pop ecx
ret 0x18
cmp dword [esp + 0x1c], 5
jne 0x41c10a
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0xc]
push eax
push ecx
push 5
push 0x282
mov eax, esi
call fcn.0041f6c0
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0xc]
mov dword [edx], eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret 0x18
Function at 0x41c340
Capabilities:
Log keystrokes via input method manager

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
push edi
push 0
push 0
push 8
push esi
call sub.IMM32.dll_ImmGetCompositionStringW
mov edi, eax
cmp edi, 2
jae 0x41c364
pop edi
xor eax, eax
pop esi
add esp, 8
ret
push ebx
push ebp
push 0
push 0
push 0x20
push esi
call sub.IMM32.dll_ImmGetCompositionStringW
mov ebx, eax
cmp ebx, 8
ja 0x41c388
mov dword [esp + 0x10], 2
mov ebx, 8
jmp 0x41c39d
shr eax, 2
mov dword [esp + 0x10], eax
test bl, 3
je 0x41c39d
mov ebx, eax
lea ebx, [ebx*4 + 4]
push 0
push 0
push 0x10
push esi
call sub.IMM32.dll_ImmGetCompositionStringW
mov ebp, eax
test ebp, ebp
jg 0x41c3b1
xor ebp, ebp
shr edi, 1
lea eax, [edi + edi*2]
add eax, eax
add eax, eax
cmp ebp, edi
mov dword [esp + 0x14], eax
lea eax, [eax + ebx + 0x2c]
jg 0x41c3cc
lea eax, [eax + edi + 1]
jmp 0x41c3d0
lea eax, [eax + ebp + 1]
push eax
call fcn.0046f25a
mov edx, dword [esp + 0x18]
add esp, 4
mov esi, eax
push ebx
lea eax, [esi + 0x20]
lea ecx, [eax + ebx]
mov ebx, dword [esp + 0x20]
push eax
mov dword [esi], ecx
push 0x20
lea ecx, [ecx + edx + 0xc]
push ebx
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
call sub.IMM32.dll_ImmGetCompositionStringW
cmp eax, 8
ja 0x41c41d
mov edx, dword [esi + 4]
mov dword [edx], 0
mov eax, dword [esi + 4]
mov dword [eax + 4], edi
mov dword [esp + 0x10], 2
jmp 0x41c433
mov ecx, dword [esp + 0x10]
lea edx, [ecx*4]
cmp eax, edx
jge 0x41c433
shr eax, 2
mov dword [esp + 0x10], eax
mov ecx, dword [esi]
lea eax, [edi + edi + 2]
push eax
push ecx
push 8
push ebx
call sub.IMM32.dll_ImmGetCompositionStringW
mov edx, dword [esi]
xor eax, eax
mov word [edx + edi*2], ax
test ebp, ebp
je 0x41c49d
mov ecx, dword [esi + 8]
inc ebp
push ebp
push ecx
push 0x10
push ebx
call sub.IMM32.dll_ImmGetCompositionStringW
xor edx, edx
test eax, eax
setle dl
dec edx
and eax, edx
cmp eax, edi
jge 0x41c49d
xor dl, dl
xor ecx, ecx
test eax, eax
jle 0x41c492
mov ebx, dword [esi + 8]
mov bl, byte [eax + ebx]
lea esp, [esp]
cmp bl, 2
jne 0x41c48c
inc ecx
cmp ecx, eax
jl 0x41c480
jmp 0x41c48e
mov dl, 2
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esi + 8]
mov byte [eax + ecx], dl
inc eax
cmp eax, edi
jl 0x41c492
push 0
push 0
push 0x80
push ebx
call sub.IMM32.dll_ImmGetCompositionStringW
pop ebp
pop ebx
test eax, eax
jge 0x41c4b6
xor eax, eax
jmp 0x41c4b9
movzx eax, ax
mov edx, dword [esp + 8]
mov dword [esi + 0x18], eax
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], 1
mov eax, edi
test edi, edi
jbe 0x41c4f4
mov edx, dword [esp + 0xc]
lea ebx, [ebx]
mov ecx, dword [esi]
mov di, word [ecx + eax*2 - 2]
mov word [edx + ecx - 2], di
dec eax
sub edx, 0xc
test eax, eax
ja 0x41c4e0
xor ecx, ecx
cmp dword [esi + 0x14], ecx
jbe 0x41c514
xor edx, edx
mov edi, 0xfffffffe
mov eax, dword [esi]
add eax, edx
inc ecx
mov dword [eax], edi
mov dword [eax + 4], edi
add edx, 0xc
cmp ecx, dword [esi + 0x14]
jb 0x41c502
pop edi
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x41d910
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
mov eax, dword [0x4a4100]
xor eax, esp
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x1c]
push edi
test ecx, ecx
jne 0x41d92b
xor edi, edi
jmp 0x41d954
lea eax, [ecx - 1]
test eax, eax
jl 0x41daa0
mov edx, dword [esp + 0x2c]
cmp eax, dword [edx + 4]
jge 0x41daa0
mov edx, dword [edx]
lea eax, [eax + eax*2]
mov edi, dword [edx + eax*4 + 8]
test ecx, ecx
jl 0x41daa0
mov edx, dword [esp + 0x2c]
cmp ecx, dword [edx + 4]
jge 0x41daa0
mov edx, dword [edx]
lea eax, [ecx + ecx*2]
add eax, eax
add eax, eax
push ebx
mov dword [esp + 0x10], eax
mov eax, dword [edx + eax + 8]
xor ebx, ebx
cmp edi, eax
push ebp
mov dword [esp + 0x10], eax
jge 0x41d9f9
lea ecx, [edi + edi*2]
add ecx, ecx
add ecx, ecx
mov dword [esp + 0xc], ecx
jmp 0x41d994
mov ecx, dword [esp + 0xc]
test ecx, ecx
jl 0x41da8f
mov eax, dword [esp + 0x30]
cmp edi, dword [eax + 4]
jge 0x41da8f
mov eax, dword [eax]
mov ebp, dword [eax + ecx]
add eax, ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
shr eax, 0x10
mov edx, 0xa
cmp dx, ax
je 0x41da5d
mov eax, ebp
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, ebx
cmp edx, eax
jl 0x41da5d
lea eax, [ebx + ebp]
cmp edx, eax
jl 0x41da52
add dword [esp + 0xc], 0xc
inc edi
cmp edi, dword [esp + 0x10]
mov ebx, eax
jl 0x41d990
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x6c], eax
mov dword [esi + 0x84], 0
mov eax, dword [esp + 0x34]
cmp ecx, dword [eax + 4]
mov dword [esp + 0x20], ebx
jge 0x41da8f
mov edx, dword [eax]
mov eax, dword [esp + 0x14]
mov eax, dword [edx + eax + 4]
sub eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov dword [esi + 0x70], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov dword [esi + 0x78], eax
push ecx
mov eax, esi
mov dword [esi + 0x74], ebx
call fcn.0041d840
mov ecx, dword [esp + 0x18]
pop ebp
pop ebx
pop edi
xor ecx, esp
call fcn.0046f01c
add esp, 0x10
ret 0x20
mov eax, dword [esi + 0x7c]
add eax, ebx
cmp eax, dword [esp + 0x38]
jle 0x41da78
sub ecx, dword [esp + 0x2c]
mov dword [esi + 0x6c], edi
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x84], 1
jmp 0x41da06
inc edi
add ebx, ebp
sub ecx, dword [esp + 0x2c]
mov dword [esi + 0x6c], edi
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x28]
jmp 0x41d9fc
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
Function at 0x41dac0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x487990
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4100]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
push edi
call dword [sym.imp.USER32.dll_IsRectEmpty]
xor ebx, ebx
test eax, eax
je 0x41db2d
cmp dword [esi + 0x88], ebx
je 0x41db15
mov eax, dword [esi + 0x1c]
push 0x3e8
push eax
mov dword [esi + 0x88], ebx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [esi - 0x140]
mov eax, dword [edx + 4]
lea ecx, [esi - 0x140]
push ebx
push ebx
call eax
jmp 0x41dc9c
mov eax, dword [edi + 0xc]
mov ebp, dword [edi + 8]
sub eax, dword [edi + 4]
mov ecx, dword [esi + 0x48]
sub ebp, dword [edi]
cmp ecx, ebx
mov dword [esp + 0x14], eax
jg 0x41db5e
push eax
mov edx, ebp
mov eax, esi
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
call fcn.0041d840
jmp 0x41dc9c
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esp + 0x4c]
mov edi, eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
push edi
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c], ebx
call fcn.0041d420
mov edx, dword [esp + 0x4c]
push edx
push edi
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x14]
push eax
push ebp
mov byte [esp + 0x4c], 1
mov edi, dword [esp + 0x20]
push edi
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x34]
mov edx, esi
call fcn.004203d0
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
xor eax, eax
cmp ecx, ebx
jle 0x41dc10
lea edx, [ebp + 4]
mov ebp, dword [esp + 0x54]
cmp eax, ebx
jl 0x41dcb2
cmp eax, ecx
jge 0x41dcb2
cmp ebp, dword [edx]
jl 0x41dc42
inc eax
add edx, 0xc
cmp eax, ecx
jl 0x41dbf0
mov ebp, dword [esp + 0x20]
cmp dword [esi + 0x88], ebx
je 0x41dc2d
mov edx, dword [esi + 0x1c]
push 0x3e8
push edx
mov dword [esi + 0x88], ebx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi - 0x140]
mov edx, dword [eax + 4]
lea ecx, [esi - 0x140]
push ebx
push ebx
call edx
jmp 0x41dc7e
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x1c]
push edx
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x38]
push edx
lea ecx, [eax + eax*2]
mov ecx, dword [ebp + ecx*4 + 4]
push edi
push eax
mov eax, dword [esp + 0x68]
sub ecx, edi
push ecx
push eax
mov dword [esp + 0x74], ecx
call fcn.0041d910
call fcn.00420f20
call fcn.00420fe0
cmp ebp, ebx
je 0x41dc8b
push ebp
call fcn.0046f0ab
add esp, 4
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x41dc9c
push eax
call fcn.0046f0ab
add esp, 4
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0xc
push ebx
push ebx
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]