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

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x544be0]
cmp dword [eax + 0x30], 0
je 0x463c86
cmp dword [ebx + 0x94], 0
jne 0x463c80
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x463b6c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x463c80
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 0x463c46
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x463c80
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.0041d164
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x463c55
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4647e8
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 0x46481d
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.00404414
jmp 0x46482a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404378
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x465894
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4658d5
mov eax, esi
call fcn.0044bd28
test al, al
je 0x4658d5
mov eax, dword [ebx + 0x84]
call fcn.0044ba24
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4658d5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044ba24
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x482900
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x482925
cmp dword [esp + 4], 5
jb 0x482925
mov al, 1
jmp 0x482927
xor eax, eax
add esp, 0x94
ret
Function at 0x49bb14
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x22]
mov esi, dword [ebx + 0x32]
sub esi, dword [ebx + 0x67]
sub esi, dword [ebx + 0x5f]
test esi, esi
jne 0x49bb3e
cmp dword [ebx + 0x5f], 0
jne 0x49bb3e
cmp dword [ebx + 0x67], 0
jne 0x49bb3e
mov esi, edi
jmp 0x49bbcc
cmp esi, 0xffffffff
jne 0x49bb49
dec esi
jmp 0x49bbcc
mov eax, dword [ebx + 0x5f]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x49bbcc
mov eax, dword [ebx + 0x2e]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
call fcn.0049b184
sub dword [ebx + 0x63], edi
sub dword [ebx + 0x5f], edi
sub dword [ebx + 0x52], ebp
mov eax, dword [ebx + 0x42]
mov edx, dword [ebx + 0x3a]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x49bb94
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x49bb99
mov word [edx], 0
dec eax
test eax, eax
jne 0x49bb7a
mov eax, edi
mov edx, dword [ebx + 0x36]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x49bbc0
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x49bbc5
mov word [edx], 0
dec eax
test eax, eax
jne 0x49bba6
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x49bc2a
mov edx, dword [ebx + 0x5f]
add edx, dword [ebx + 0x67]
mov ecx, dword [ebx + 0x2e]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.0049b8a8
add dword [ebx + 0x67], eax
cmp dword [ebx + 0x67], 3
jb 0x49bc15
mov eax, dword [ebx + 0x5f]
mov edx, dword [ebx + 0x2e]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x3e], eax
mov ecx, dword [ebx + 0x4e]
shl eax, cl
mov edx, dword [ebx + 0x5f]
mov ecx, dword [ebx + 0x2e]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4a]
mov dword [ebx + 0x3e], eax
cmp dword [ebx + 0x67], 0x106
jae 0x49bc2a
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x49bb1e
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4a03ac
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x5459a0
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4a03ce
shr eax, 1
xor eax, 0xedb88320
jmp 0x4a03d0
shr eax, 1
dec edx
jne 0x4a03bc
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4a03b5
mov byte [0x545da0], 1
pop esi
pop ebx
ret

Function at 0x4a03ec
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x545da0], 0
jne 0x4a0403
call fcn.004a03ac
mov eax, edi
dec eax
test eax, eax
jl 0x4a042c
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5459a0]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4a040d
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4a29a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x4a29d1
dec al
je 0x4a2a0d
dec al
je 0x4a2a51
dec al
je 0x4a2abc
jmp 0x4a2b46
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4a2b46
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4a29e1
jmp 0x4a2b46
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4a2b46
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4a2a1d
jmp 0x4a2b46
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4a2b46
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4a2a7f
xor ebp, ebp
jmp 0x4a2a90
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4a2a99
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4a2a61
jmp 0x4a2b46
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4a2b46
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4a2b14
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004a0434
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4a2ad0
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ad41c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x4ad431
add esp, 0xfffffff0
call fcn.004037f8
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004047d4
xor eax, eax
push ebp
push 0x4ad50c
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004a71cc
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.0041bd08
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.0041bd08
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x3c], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.0041bd08
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x34], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.0041bd08
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x2c], eax
push 0
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041bd30
push esi
lea edi, [esi + 0x40]
lea esi, [ebp - 0x1c]
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 esi
mov dword [esi + 0xc], 0xffffffff
mov byte [esi + 0x52], 0
mov byte [esi + 0x53], 0
mov byte [esi + 0x54], 0
mov byte [esi + 0x55], 0
mov byte [esi + 0x50], 0
mov byte [esi + 0x51], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad513
lea eax, [ebp - 4]
call fcn.00404324
ret
Function at 0x4d6020
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d6280
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4d6083
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004d5b38
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d51c
cmp al, 1
jne 0x4d6083
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004d5e00
test al, al
je 0x4d620f
cmp dword [ebp - 8], 0
jge 0x4d60a1
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004d5b38
mov eax, dword [ebp - 0x210]
call fcn.004045e4
cmp ebx, eax
jge 0x4d60eb
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004d5b38
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x543d20]
and eax, 0xff
bt dword [edx], eax
jae 0x4d60eb
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4d60ff
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004d5ffc
cmp ebx, dword [ebp - 8]
je 0x4d6201
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4d612b
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004036d0
and eax, 0x7f
movzx eax, word [eax*2 + 0x5436bc]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4d61ee
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004036d0
and eax, 0x7f
movzx eax, word [eax*2 + 0x5436bc]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0044ba24
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004036d0
and eax, 0x7f
movzx eax, word [eax*2 + 0x5436bc]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0044ba24
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d61f5
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4d6262
cmp dword [ebp - 8], 0
jge 0x4d621a
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004d5b38
mov eax, dword [ebp - 0x218]
call fcn.004045e4
cmp eax, dword [ebp - 8]
jg 0x4d6254
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004d5b38
mov eax, dword [ebp - 0x21c]
call fcn.004045e4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004d5ffc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d6287
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404348
ret
Function at 0x4d822c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x4d8264]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4d8242
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4d8251
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4d8260
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x4d8b84
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x44101c]
call fcn.00403660
test al, al
je 0x4d8bd7
mov eax, dword [0x543b0c]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4d8bd7
mov edx, dword [0x543b0c]
xor edx, edx
call fcn.0045e200
push 0
mov eax, dword [0x543b0c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x543b0c]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov dword [eax + 0xc], 0xffffd8f0
pop ebx
ret

Function at 0x5008e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebx, eax
mov esi, dword [ebx + 0x42]
test esi, esi
je 0x5009f2
mov eax, dword [ebx + 0x39]
mov edx, dword [eax + 0x40]
mov dword [esp], edx
mov edx, dword [eax + 0x44]
mov dword [esp + 4], edx
mov edi, dword [eax + 0x48]
mov ebp, dword [eax + 0x4c]
mov eax, dword [esi + 0xe3]
add dword [esp], eax
mov eax, dword [esi + 0xe7]
add dword [esp + 4], eax
add edi, dword [esi + 0xeb]
add ebp, dword [esi + 0xef]
mov eax, dword [esi + 0x34]
sub dword [esp], eax
mov eax, dword [esi + 0x38]
sub dword [esp + 4], eax
lea eax, [esi + 0x34]
call fcn.00529f50
mov edx, dword [esi + 0xf3]
add edi, dword [edx + 8]
sub edi, eax
mov esi, dword [ebx + 0x42]
lea eax, [esi + 0x34]
call fcn.00529f6c
mov edx, dword [esi + 0xf3]
add ebp, dword [edx + 0xc]
sub ebp, eax
mov esi, dword [ebx + 0xcb]
xor eax, eax
mov dword [ebx + 0xcb], eax
push edi
push ebp
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, ebx
call fcn.004ff880
mov edi, esi
xor ebp, ebp
xor esi, esi
mov eax, edi
mov ecx, 0xf
cdq
idiv ecx
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
jne 0x5009a1
mov dword [esp + 8], 1
mov eax, dword [0x543b0c]
mov eax, dword [eax]
call fcn.00464a98
call sub.kernel32.dll_GetTickCount
xor edx, edx
push edx
push eax
mov eax, ebp
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x5009ce
cmp eax, 5
jbe 0x5009ee
jmp 0x5009d0
jle 0x5009ee
call sub.kernel32.dll_GetTickCount
mov ebp, eax
add esi, dword [esp + 8]
cmp edi, esi
jge 0x5009e1
mov esi, edi
mov dword [ebx + 0xcb], esi
mov eax, ebx
call fcn.00500714
cmp edi, esi
jg 0x5009ad
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x523cb0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
lea edi, [ebp - 4]
mov eax, dword [edi]
call fcn.00524994
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
push ebp
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x18]
call fcn.00523bd0
pop ecx
call fcn.00529cc8
test al, al
je 0x523d58
mov eax, dword [edi]
mov eax, dword [eax + 0x219]
cmp byte [eax + 0x5d], 0
je 0x523d58
push 0xffffffffffffffec
mov eax, dword [edi]
call fcn.0044ba24
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [edi]
call fcn.0044ba24
push eax
call sub.user32.dll_SetWindowLongA
mov eax, dword [edi]
mov eax, dword [eax + 0x219]
cmp byte [eax + 0x5e], 0
je 0x523d41
mov eax, dword [edi]
call fcn.0044ba24
xor edx, edx
call fcn.00529d04
jmp 0x523d58
mov eax, dword [edi]
call fcn.0044ba24
mov edx, dword [edi]
mov edx, dword [edx + 0x219]
mov dl, byte [edx + 0x5f]
call fcn.00529d04
push 0x51
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [edi]
call fcn.0044ba24
push eax
call sub.user32.dll_SetWindowPos
mov dl, 1
mov eax, dword [edi]
call fcn.0044515c
mov eax, dword [edi]
mov ebx, dword [eax + 0x219]
cmp byte [ebx + 0x5e], 0
je 0x523df1
cmp byte [ebx + 0x5d], 0
je 0x523df1
call fcn.00529cc8
test al, al
je 0x523df1
mov eax, dword [0x543b0c]
mov eax, dword [eax]
call fcn.00464a98
xor ebx, ebx
xor esi, esi
call sub.kernel32.dll_GetTickCount
sub eax, esi
cmp eax, 5
jbe 0x523de1
call sub.kernel32.dll_GetTickCount
mov esi, eax
add ebx, 0xa
mov eax, dword [edi]
mov eax, dword [eax + 0x219]
movzx eax, byte [eax + 0x5f]
cmp ebx, eax
jle 0x523dd3
mov ebx, eax
mov eax, dword [edi]
call fcn.0044ba24
mov edx, ebx
call fcn.00529d04
mov eax, dword [edi]
mov eax, dword [eax + 0x219]
movzx eax, byte [eax + 0x5f]
cmp ebx, eax
jl 0x523dab
mov eax, dword [edi]
call fcn.00524ed4
mov eax, dword [edi]
call fcn.0044ba24
push eax
call sub.user32.dll_SetCapture
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ea50
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.0040e670
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40ea82
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x44e18c]
call dword [ebp - 8]
jmp 0x40ea8c
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret
Function at 0x432280
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.00431a90
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4322b4
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x44e18c]
call dword [ebp - 8]
jmp 0x4322ba
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esp, ebp
pop ebp
ret 4

Function at 0x432310
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.00431ad0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x432344
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x44e18c]
call dword [ebp - 8]
jmp 0x43234e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret 4

Function at 0x432360
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.00431af0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x432398
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
call dword [0x44e18c]
call dword [ebp - 8]
jmp 0x4323a6
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esp, ebp
pop ebp
ret 8

Function at 0x4323b0
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.00431b70
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4323f0
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x44e18c]
call dword [ebp - 8]
jmp 0x43240e
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00432600
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4338e0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.0044c4f0
mov eax, dword [0x466040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x467f30]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1420], ecx
mov edx, dword [ebp - 0x1420]
cmp edx, dword [ebp - 0x1424]
jae 0x433ab8
lea eax, [ebp - 5]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1418], ecx
mov edx, dword [ebp - 0x1418]
cmp edx, dword [ebp - 0x1430]
jae 0x433a07
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x433a07
mov ecx, dword [ebp - 0x1420]
mov dl, byte [ecx]
mov byte [ebp - 0x1419], dl
mov eax, dword [ebp - 0x1420]
add eax, 1
mov dword [ebp - 0x1420], eax
mov cl, byte [ebp - 0x1419]
mov byte [ebp - 0x1411], cl
movsx edx, byte [ebp - 0x1411]
cmp edx, 0xa
jne 0x4339e5
mov eax, dword [ebp - 0x1408]
add eax, 1
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x1418]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
mov eax, dword [ebp - 0x1418]
mov cl, byte [ebp - 0x1411]
mov byte [eax], cl
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
jmp 0x433969
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1404]
sub eax, ecx
mov dword [ebp - 0x142c], eax
push 0
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x1404]
push ecx
mov edx, dword [ebp - 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x433a71
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x433ad8
mov edx, dword [ebp - 0x140c]
add edx, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], edx
mov eax, dword [ebp - 0x1428]
cmp eax, dword [ebp - 0x142c]
jae 0x433ab3
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x433ad8
jmp 0x433942
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004090f0
mov esp, ebp
pop ebp
ret