joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a7b8
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x130
mov eax, dword [0x4a20b0]
xor eax, ebp
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x74]
and dword [ebp - 0xc4], 0
push esi
push edi
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x78]
push 0x3f
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x3f]
push 0
push eax
mov byte [ebp - 0x40], 0
call fcn.00469330
mov esi, str.podlp
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsb byte es:[edi], byte [esi]
xor ecx, ecx
mov al, byte [ebp + ecx - 0x40]
mov dl, al
xor dl, 0x36
xor al, 0x5c
mov byte [ebp + ecx - 0x9c], dl
mov byte [ebp + ecx], al
inc ecx
cmp ecx, 0x40
jb 0x42a808
lea eax, [ebp - 0x5c]
call fcn.0042c850
lea eax, [ebp - 0x9c]
push 0x40
push eax
lea esi, [ebp - 0x5c]
call fcn.0042c87b
push dword [ebp + 0x7c]
push dword [ebp - 0xc0]
call fcn.0042c87b
lea eax, [ebp + 0x54]
push eax
mov ecx, esi
call fcn.0042c913
lea eax, [ebp - 0xb8]
call fcn.0042c850
lea eax, [ebp]
push 0x40
push eax
lea esi, [ebp - 0xb8]
call fcn.0042c87b
lea eax, [ebp + 0x54]
push 0x14
push eax
call fcn.0042c87b
lea eax, [ebp + 0x40]
push eax
mov ecx, esi
call fcn.0042c913
mov esi, dword [ebp - 0xbc]
add esp, 0x28
push 0x14
lea eax, [ebp + 0x40]
push eax
call fcn.0040bb94
mov ecx, dword [ebp + 0x68]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004678b3
add ebp, 0x6c
leave
ret

Function at 0x42abd8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 4
shl eax, 4
pop edx
mov esi, ecx
lea edi, [eax + ecx + 0x3c]
mov dword [ebp - 4], edx
xor eax, eax
mov ecx, edi
mov bl, byte [ecx]
xor byte [esi + eax], bl
inc eax
add ecx, edx
cmp eax, edx
jl 0x42abf2
inc edi
add esi, edx
dec dword [ebp - 4]
jne 0x42abee
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42ad1b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4a20b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
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]
push 4
lea esi, [ebp - 8]
lea ecx, [eax + 4]
pop edi
mov al, byte [esi - 0xc]
mov dl, byte [esi - 8]
call fcn.0042aee1
mov bl, al
mov al, dl
call fcn.0042aee1
xor bl, al
xor bl, byte [esi - 4]
mov al, dl
xor bl, byte [esi]
xor bl, dl
mov byte [ecx - 4], bl
call fcn.0042aee1
mov bl, al
mov al, byte [esi - 4]
call fcn.0042aee1
xor bl, al
xor bl, byte [esi - 0xc]
mov al, byte [esi - 4]
xor bl, byte [esi]
xor bl, al
mov byte [ecx], bl
call fcn.0042aee1
mov bl, al
mov al, byte [esi]
call fcn.0042aee1
xor bl, al
mov al, byte [esi]
xor bl, dl
xor bl, byte [esi - 0xc]
xor bl, al
mov byte [ecx + 4], bl
call fcn.0042aee1
mov bl, al
mov al, byte [esi - 0xc]
call fcn.0042aee1
xor bl, al
xor bl, dl
xor bl, byte [esi - 4]
xor bl, byte [esi - 0xc]
inc ecx
mov byte [ecx + 7], bl
inc esi
dec edi
jne 0x42ad43
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004678b3
leave
ret 4
Function at 0x42add0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4a20b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
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]
lea edi, [ebp - 0x10]
lea esi, [eax + 4]
mov dword [ebp - 0x1c], 4
mov al, byte [edi - 4]
mov bl, byte [edi + 4]
call fcn.0042af5d
push ebx
mov dl, al
call fcn.0042af36
xor dl, al
movzx eax, byte [edi + 8]
push eax
call fcn.0042aef1
xor dl, al
movzx eax, byte [edi]
push eax
call fcn.0042af0f
xor dl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi - 4], dl
call fcn.0042aef1
push ebx
mov byte [ebp - 0x15], al
call fcn.0042af0f
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi + 8]
push eax
mov byte [ebp - 0x15], cl
call fcn.0042af36
mov cl, byte [ebp - 0x15]
xor cl, al
mov al, byte [edi]
mov byte [ebp - 0x15], cl
call fcn.0042af5d
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi], cl
call fcn.0042af36
mov bl, al
mov al, byte [edi + 4]
call fcn.0042af5d
movzx edx, byte [edi + 8]
push edx
xor bl, al
call fcn.0042af0f
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.0042aef1
xor bl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi + 4], bl
call fcn.0042af0f
mov bl, al
movzx eax, byte [edi + 4]
push eax
call fcn.0042aef1
xor bl, al
mov al, dl
call fcn.0042af5d
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.0042af36
xor bl, al
mov byte [esi + 8], bl
inc esi
inc edi
dec dword [ebp - 0x1c]
jne 0x42adfc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004678b3
leave
ret 4
Function at 0x42b5e1
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push 0x2c
mov eax, 0x4801f0
call fcn.0046908a
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
xor esi, esi
mov eax, ebx
mov dword [ebp - 0x30], esi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42b600
sub eax, edi
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], 0xf
call fcn.00404bdf
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0
jbe 0x42b706
jmp 0x42b62f
mov ebx, dword [ebp + 0xc]
movsx eax, byte [esi + ebx]
mov al, byte [eax + 0x48d338]
inc esi
cmp esi, dword [ebp - 0x30]
jae 0x42b643
cmp al, 0xff
je 0x42b62f
cmp al, 0xff
je 0x42b706
movsx ecx, byte [esi + ebx]
mov cl, byte [ecx + 0x48d338]
inc esi
mov byte [ebp - 0x31], cl
cmp esi, dword [ebp - 0x30]
jae 0x42b663
cmp cl, 0xff
je 0x42b64b
cmp cl, 0xff
je 0x42b706
sar cl, 4
shl al, 2
and cl, 3
or cl, al
movzx eax, cl
push eax
push 1
lea edi, [ebp - 0x2c]
call fcn.004134a3
jmp 0x42b68a
mov ebx, dword [ebp + 0xc]
mov bl, byte [esi + ebx]
inc esi
cmp bl, 0x3d
je 0x42b706
movsx eax, bl
mov bl, byte [eax + 0x48d338]
cmp esi, dword [ebp - 0x30]
jae 0x42b6a6
cmp bl, 0xff
je 0x42b687
cmp bl, 0xff
je 0x42b706
mov al, byte [ebp - 0x31]
mov cl, bl
sar cl, 2
shl al, 4
and cl, 0xf
or cl, al
movzx eax, cl
push eax
push 1
lea edi, [ebp - 0x2c]
call fcn.004134a3
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x42b706
movsx eax, al
mov al, byte [eax + 0x48d338]
cmp esi, dword [ebp - 0x30]
jae 0x42b6e6
cmp al, 0xff
je 0x42b6c9
cmp al, 0xff
je 0x42b706
shl bl, 6
or bl, al
movzx eax, bl
push eax
push 1
lea edi, [ebp - 0x2c]
call fcn.004134a3
cmp esi, dword [ebp - 0x30]
jb 0x42b62c
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push eax
call fcn.00404572
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040488d
mov eax, dword [ebp - 0x38]
call fcn.0046910d
ret

Function at 0x42c850
Capabilities:
Hash data using sha1

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

Disassembly:
push 0x2c8
mov eax, 0x4821c6
call fcn.0046908a
mov eax, dword [ebp + 8]
mov edi, ecx
mov esi, edi
mov dword [ebp - 0x2d4], edi
mov dword [ebp - 0x2cc], eax
call fcn.0042cfc3
push 0x4a4140
lea eax, [ebp - 0x98]
call fcn.0042f543
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x4a41c8]
cmp word [eax], bx
jne 0x42ced9
push dword [ebp - 0x2cc]
lea eax, [ebp - 0x98]
push eax
call fcn.0042f7bf
push ebx
push 0x80
push 3
push ebx
push 1
push closesocket
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push ebx
cmp eax, 0xffffffff
jne 0x42ce41
push str.Error_opening_file
mov eax, edi
call fcn.0042d805
mov bl, al
lea ecx, [ebp - 0x98]
call fcn.0042f563
mov al, bl
call fcn.0046910d
ret 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
jne 0x42ce56
push ebx
push str.File_is_empty
jmp 0x42ce23
cmp esi, 0x400000
jbe 0x42ce66
push ebx
push str.File_too_large
jmp 0x42ce23
push esi
mov dword [ebp - 0x2cc], ebx
call fcn.00473cf3
pop ecx
push ebx
mov edi, eax
lea eax, [ebp - 0x2cc]
push eax
push esi
push edi
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2cc], esi
je 0x42cebe
push edi
call fcn.00474c1c
mov esi, dword [ebp - 0x2d4]
pop ecx
call fcn.0042cfc3
push ebx
push str.Could_not_read_file
mov eax, esi
jmp 0x42ce25
push esi
push edi
push dword [ebp - 0x2d4]
call fcn.0042cd0f
push edi
mov bl, al
call fcn.00474c1c
pop ecx
jmp 0x42ce2c
push eax
lea eax, [ebp - 0x98]
call fcn.0042f574
cmp byte [0x4a377f], bl
je 0x42cef5
mov esi, dword [0x4a76cc]
jmp 0x42cf03
push dword [ebp - 0x98]
call fcn.00449513
pop ecx
mov esi, eax
cmp esi, ebx
jne 0x42cf12
push ebx
push str.Error_opening_zip_file
jmp 0x42ce23
mov ecx, dword [ebp - 0x2cc]
lea eax, [ebp - 0x2c8]
push eax
push esi
lea edx, [ebp - 0x2d0]
call fcn.00449569
pop ecx
pop ecx
test eax, eax
je 0x42cf3c
push ebx
push str.Could_not_find_ziped_file
jmp 0x42ce23
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x2cc], eax
cmp eax, ebx
je 0x42ce4e
cmp eax, 0x400000
ja 0x42ce5e
push eax
call fcn.00473cf3
pop ecx
push dword [ebp - 0x2cc]
mov edi, eax
push edi
push dword [ebp - 0x2d0]
mov eax, esi
call fcn.0044963b
add esp, 0xc
cmp eax, ebx
je 0x42cfab
cmp eax, 0x600
je 0x42cfab
push edi
call fcn.00474c1c
pop ecx
cmp byte [0x4a377f], bl
jne 0x42cf9a
call fcn.0044966d
mov eax, dword [ebp - 0x2d4]
push ebx
push str.Could_not_unzip_file
jmp 0x42ce25
cmp byte [0x4a377f], bl
jne 0x42cfb8
call fcn.0044966d
push dword [ebp - 0x2cc]
jmp 0x42cebf
Function at 0x42dead
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, eax
push edi
lea eax, [ebp - 0x14]
push eax
push ebx
mov dword [ebx + 0x10], esi
call fcn.0042e05f
mov ecx, dword [ebx + 0x10]
mov esi, dword [esi + 0x6f0]
mov eax, dword [ecx + 0x668]
or esi, 0x40000080
mov dword [ebp + 8], esi
test al, 1
je 0x42deec
or esi, 1
jmp 0x42def3
test al, 2
je 0x42def6
or esi, 2
mov dword [ebp + 8], esi
cmp byte [ecx + 0x6e1], 0
je 0x42df05
or esi, 0x20
mov dword [ebp + 8], esi
mov eax, dword [ecx]
call dword [eax + 0x24]
sub esp, 0x10
mov edi, esp
lea esi, [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]
xor edi, edi
push edi
push dword [ebp + 8]
push dword [eax + 0x84]
push ebx
call fcn.0042d85a
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 0x664]
cmp eax, 0xffffffff
je 0x42df47
push eax
mov eax, dword [ecx]
call dword [eax + 0x24]
mov esi, eax
call fcn.00433fb4
cmp eax, edi
jne 0x42df56
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
call fcn.00433b9f
mov eax, dword [eax]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push dword [ebx + 4]
call esi
mov eax, dword [ebx + 0x10]
push edi
push dword [eax + 0x6dc]
push 0xc5
push dword [ebx + 4]
call esi
mov eax, dword [ebx + 0x10]
cmp byte [eax + 0x6e1], 0
je 0x42df99
movzx eax, word [eax + 0x6e4]
push edi
push eax
push 0xcc
push dword [ebx + 4]
call esi
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
lea edx, [ebp - 0x98]
push edx
call dword [eax + 0x38]
push dword [eax]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x98]
call fcn.0042f563
push edi
push edi
push 0xb9
push dword [ebx + 4]
call esi
push edi
push 3
push 0xd3
push dword [ebx + 4]
call esi
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xe8]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebx + 0x10]
xor ecx, ecx
cmp byte [eax + 0x6e0], 1
push edi
sete cl
push ecx
push 0xcf
push dword [ebx + 4]
call esi
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0x10]
cmp byte [eax + 0x6e2], 0
push dword [ebx + 4]
je 0x42e042
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, edi
jne 0x42e03e
xor eax, eax
inc eax
push eax
push edi
jmp 0x42e04a
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push eax
push eax
push 0xb1
push dword [ebx + 4]
call esi
pop edi
pop esi
mov byte [ebx + 0x18], 1
pop ebx
leave
ret 4
Function at 0x42e556
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4a20b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
cmp dword [edi + 0x10], ebx
je 0x42e5d8
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
inc esi
lea eax, [esi + esi]
call fcn.00472f50
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x42e5d8
push esi
push dword [ebp - 8]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [edi + 0x10]
push dword [ebp - 8]
add eax, 0x1e4
call fcn.0042f73e
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
push 1
push ebx
push ebx
push ebx
push ecx
call dword [eax + 0x24]
mov ecx, str.textchanged
mov esi, eax
call fcn.004338bc
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp byte [eax + 0x14d], bl
je 0x42e5d8
push dword [edi + 0x10]
call fcn.00450148
xor eax, eax
lea esp, [ebp - 0x10]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004678b3
leave
ret

Function at 0x42eb38
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
movsd dword es:[edi], dword [esi]
call fcn.0044f6fc
mov eax, dword [ebx + 0x6d8]
test eax, eax
je 0x42ebbe
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.0042e05f
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x42eb91
mov eax, dword [ebx + 0x6d8]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42ebbe
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
push 0x54
push eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
push eax
push dword [esp + 0x20]
mov eax, dword [ebx + 0x6d8]
push dword [esp + 0x20]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x42ebc7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044fae1
mov eax, dword [esi + 0x6d8]
test eax, eax
je 0x42ec45
lea ecx, [esp + 8]
push ecx
push eax
call fcn.0042e05f
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x42ec18
mov eax, dword [esi + 0x6d8]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42ec45
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0xc]
push 0x54
push eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
push eax
push dword [esp + 0x18]
mov eax, dword [esi + 0x6d8]
push dword [esp + 0x18]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42ff0a
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jge 0x42ff20
push 8
pop edi
push 2
call esi
test ax, ax
jge 0x42ff2c
or edi, 2
push 1
call esi
test ax, ax
jge 0x42ff38
or edi, 1
push 0x10
call esi
test ax, ax
jge 0x42ff44
or edi, 4
push 0x12
call esi
test ax, ax
jge 0x42ff50
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret

Function at 0x430985
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, eax
xor edi, edi
cmp dword [esi + 0x2dc], edi
jle 0x4309c8
mov eax, dword [esi + 0x2d8]
lea edx, [ebp + 0xf]
push edx
push dword [ebp + 0x10]
mov byte [ebp + 0xf], 0
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
push ebx
push dword [ebp + 8]
call dword [eax]
cmp byte [ebp + 0xf], 0
jne 0x430a36
inc edi
cmp edi, dword [esi + 0x2dc]
jl 0x43099d
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x430a9b
sub eax, 4
je 0x430a3a
dec eax
dec eax
jne 0x430a92
cmp dword [esi + 0xe4], eax
je 0x430a92
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
push ebx
stosw word es:[edi], ax
call fcn.00474d3d
pop ecx
mov ecx, dword [esi + 0xe4]
push send
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x434e5d
call dword [eax + 0x110]
mov esi, eax
test esi, esi
je 0x430a92
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x104]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov al, 1
jmp 0x430a94
mov edx, dword [esi + 0xe8]
test edx, edx
je 0x430a92
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0xfc]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x100]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x20], edx
mov word [ebp - 0x10], bx
mov dword [ebp - 0x14], eax
call fcn.0042ff0a
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xe8]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp ebx, 9
jne 0x430a92
cmp dword [esi + 0xe8], 0
je 0x430af8
mov ecx, dword [esi + 0xe8]
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x430af8
mov ecx, dword [esi + 0xe8]
mov eax, dword [ecx]
call dword [eax + 0xe8]
test al, al
je 0x430af8
mov ecx, dword [esi + 0xe8]
mov eax, dword [ecx]
push str.RichEdit
call dword [eax + 0x10]
push eax
call fcn.00475972
pop ecx
pop ecx
test eax, eax
je 0x430af8
mov eax, dword [esi + 0xe8]
cmp byte [eax + 0x699], 0
jne 0x430a92
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setge al
movzx eax, al
push eax
call fcn.004335aa
jmp 0x430a36
Function at 0x433170
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_GetFocus]
cmp byte [ebp + 0xc], 0
je 0x4331af
mov ecx, dword [esi + 0x84]
cmp eax, ecx
je 0x4331af
cmp ebx, dword [esi + 0xe8]
je 0x4331af
cmp byte [esi + 0xe0], 0
jne 0x4331af
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0xe8]
cmp ebx, eax
je 0x43328e
test eax, eax
je 0x433212
push 7
pop ecx
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0x14
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xe8]
lea edx, [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
push 1
xor edi, edi
push edi
push edi
push edi
push dword [esi + 0xe8]
mov ecx, str.killfocus
call fcn.004338bc
mov dword [esi + 0xe8], edi
test ebx, ebx
je 0x43328e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
cmp eax, esi
jne 0x43328e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xdc]
test al, al
je 0x43328e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe8]
test al, al
je 0x43328e
push 7
pop ecx
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov dword [esi + 0xe8], ebx
mov dword [esp + 0x10], 0x15
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xe8]
lea edx, [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
push 1
xor eax, eax
push eax
push eax
push eax
push dword [esi + 0xe8]
mov ecx, str.setfocus
call fcn.004338bc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4367bc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0x14
mov ebx, ecx
jne 0x4367f5
mov eax, dword [ebx]
call dword [eax + 0xe8]
test al, al
je 0x4367f5
mov eax, dword [ebx + 0xc98]
test eax, eax
je 0x4367ee
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, ebx
call fcn.004369a8
cmp dword [edi], 0xe
jne 0x4368a7
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe8]
test al, al
je 0x4368a7
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x40]
mov esi, eax
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [ebx + 0xc98], esi
jne 0x436868
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
mov eax, dword [ebx]
mov edi, dword [0x4a76d0]
mov ecx, ebx
call dword [eax + 0x24]
mov eax, dword [eax + 0x84]
push esi
push edi
push 0x1911
push eax
push esi
push esi
push esi
push esi
push 0x50000000
push esi
push str.SysDateTimePick32
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx + 0xc98], eax
lea eax, [ebx + 0xc88]
push eax
push esi
push 0x1002
push dword [ebx + 0xc98]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push 0x40
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push esi
push dword [ebx + 0xc98]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [ebp + 8]
push edi
mov ecx, ebx
call fcn.00440cd8
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x436a18
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0xc98], 0
push esi
push edi
je 0x436a97
lea eax, [ebp - 0x14]
push eax
mov eax, ebx
call fcn.004368b6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x40]
mov esi, eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
lea edi, [ebp - 0x24]
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 ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x24]
cmp eax, ecx
jl 0x436a82
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x20]
cmp ecx, edx
jl 0x436a82
push 0
push ecx
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
push dword [ebx + 0xc98]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x436a97
push 0
push dword [ebx + 0xc98]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, ebx
call fcn.004369a8
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x43ac60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
mov edx, str.selected
push esi
mov si, word [eax]
cmp si, word [edx]
jne 0x43ac90
test si, si
je 0x43ac8c
mov si, word [eax + 2]
cmp si, word [edx + 2]
jne 0x43ac90
add eax, 4
add edx, 4
test si, si
jne 0x43ac6a
xor eax, eax
jmp 0x43ac95
sbb eax, eax
sbb eax, 0xffffffff
pop esi
test eax, eax
jne 0x43acac
add ecx, 0x658
mov eax, dword [ecx]
push 1
push 1
call dword [eax + 0x1c]
ret 8
jmp fcn.004503bb