joyce8/EMBER2024-capa huggingface dataset:
Function at 0x462d9a
Capabilities:
Encode data using base64

Disassembly:
push 0x14
mov eax, 0x49979d
call fcn.00497232
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov edi, dword [ebp + 8]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
mov eax, dword [ebp + 0x10]
mov edi, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], ebx
test eax, eax
je 0x462f80
push 3
pop esi
mov ecx, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0x10], eax
mov al, byte [ecx]
mov byte [ebp + edi - 0x14], al
inc edi
mov dl, byte [ebp - 0x13]
inc ecx
mov dword [ebp + 0xc], ecx
mov ch, byte [ebp - 0x12]
mov cl, byte [ebp - 0x14]
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp edi, esi
jne 0x462ea0
mov esi, dword [ebp + 8]
mov al, cl
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov edi, ebx
mov ebx, dword [ebp - 0x1c]
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
cmp dword [0x4cb038], 0x10
mov ecx, 0x4cb024
movzx eax, byte [ebp + edi - 0x18]
cmovae ecx, dword [0x4cb024]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
push 1
call fcn.00462954
inc ebx
cmp dword [ebp + 0x14], 0
jle 0x462e87
mov eax, ebx
cdq
idiv dword [ebp + 0x14]
test edx, edx
jne 0x462e87
push dword [ebp + 0x18]
call fcn.00463204
pop ecx
push eax
push dword [ebp + 0x18]
mov ecx, esi
call fcn.004629d4
inc edi
cmp edi, 4
jl 0x462e3c
mov dl, byte [ebp - 0xd]
mov cl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
mov dword [ebp - 0x1c], ebx
xor ebx, ebx
push 3
mov edi, ebx
pop esi
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x462dd7
mov dword [ebp + 0x10], edi
test edi, edi
je 0x462f80
mov eax, edi
cmp edi, esi
jge 0x462ed6
cmp eax, esi
jae 0x462f89
mov byte [ebp + eax - 0x14], bl
inc eax
cmp eax, esi
jl 0x462ebe
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [edi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x462f6b
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x1c]
cmp dword [0x4cb038], 0x10
mov ecx, 0x4cb024
movzx eax, byte [ebp + ebx - 0x18]
cmovae ecx, dword [0x4cb024]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
push 1
call fcn.00462954
inc edi
cmp dword [ebp + 0x14], 0
jle 0x462f5f
mov eax, edi
cdq
idiv dword [ebp + 0x14]
test edx, edx
jne 0x462f5f
push dword [ebp + 0x18]
call fcn.00463204
pop ecx
push eax
push dword [ebp + 0x18]
mov ecx, esi
call fcn.004629d4
inc ebx
cmp ebx, dword [ebp - 0x14]
jl 0x462f14
mov edi, dword [ebp + 0x10]
push 3
pop esi
cmp edi, esi
jge 0x462f80
sub esi, edi
mov ecx, dword [ebp + 8]
push 0x3d
push 1
call fcn.00462954
dec esi
jne 0x462f71
mov eax, dword [ebp + 8]
call fcn.00497200
ret
call fcn.004974a2
int3
Function at 0x4677a5
Capabilities:
Get file size

Disassembly:
push 0x1c
mov eax, 0x49a587
call fcn.00497232
mov dword [ebp - 0x1c], ecx
mov eax, dword [0x4cb014]
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x20], eax
and dword [ebp - 4], 0
xor ebx, ebx
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
cmp dword [ecx + 0x9c], ebx
jle 0x467842
push ebx
call fcn.00467f94
push 0
lea ecx, [eax + 4]
call fcn.0046023d
push eax
lea ecx, [ebp - 0x10]
call fcn.0045f630
xor eax, eax
push eax
push eax
push 3
push eax
push 1
push connect
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x46782e
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push dword [ebp - 0x14]
test eax, eax
je 0x467828
add edi, dword [ebp - 0x28]
adc esi, dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x10]
call fcn.0045e73f
mov ecx, dword [ebp - 0x1c]
inc ebx
cmp ebx, dword [ecx + 0x9c]
jl 0x4677d8
lea ecx, [ebp - 0x20]
call fcn.0045e73f
mov eax, edi
mov edx, esi
call fcn.00497200
ret

Function at 0x467eb8
Capabilities:
Get file size
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
mov eax, dword [0x4cb0b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 0x2c0], eax
push 0x49ff04
mov dword [ebp - 0x2bc], ecx
mov dword [eax], edi
call fcn.0045e774
push edi
push edi
push 3
push edi
push 1
push connect
mov dword [esi], edi
mov dword [esi + 4], edi
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x467f18
xor eax, eax
jmp 0x467f81
lea eax, [ebp - 0x2c8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x467f3b
mov eax, dword [ebp - 0x2c8]
mov dword [esi], eax
mov eax, dword [ebp - 0x2c4]
mov dword [esi + 4], eax
push 0x701
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esi, dword [ebp - 0x2c0]
lea ecx, [ebp - 0xa4]
mov edx, dword [ebp - 0x2b8]
push ecx
mov ecx, dword [ebp - 0x2bc]
mov dword [esi], edx
call fcn.0045e774
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004971ea
mov esp, ebp
pop ebp
ret 0xc
Function at 0x468365
Capabilities:
Get file size

Disassembly:
push 0x18
mov eax, 0x49a6b5
call fcn.00497232
mov eax, dword [0x4cb014]
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 4], ebx
mov ecx, dword [eax + 0x98]
mov eax, dword [ecx]
mov dword [ebp - 0x18], eax
cmp eax, ecx
je 0x468409
push ebx
lea ecx, [eax + 0x18]
call fcn.0046023d
push eax
lea ecx, [ebp - 0x10]
call fcn.0045f630
push ebx
push ebx
push 3
push ebx
push 1
push connect
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4683e8
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push ebx
test eax, eax
je 0x4683e2
add edi, dword [ebp - 0x24]
adc esi, dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x10]
call fcn.0045e73f
lea ecx, [ebp - 0x18]
call fcn.00466da2
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
push 0
pop ebx
cmp eax, dword [ecx + 0x98]
jne 0x46839e
lea ecx, [ebp - 0x1c]
call fcn.0045e73f
mov eax, edi
mov edx, esi
call fcn.00497200
ret 4
Function at 0x4709bc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov bl, 1
mov ecx, dword [edi + 0x54]
mov eax, ecx
and eax, 0xc
cmp al, 0xc
jne 0x470a08
mov eax, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0xc], eax
call esi
push dword [edi + 4]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xfffffffe
call esi
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0xc]
push ecx
push esi
push 0x4e
push eax
jmp 0x470a33
shr ecx, 2
test cl, 1
je 0x470a3b
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [edi + 4]
mov ecx, eax
movzx eax, si
push eax
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x470a6a
push 1
xor esi, esi
push esi
push esi
push dword [edi + 0x28]
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
je 0x470a6a
or byte [edi + 0x58], 2
push 1
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x470f60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4cb0b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
movsx edx, ax
push esi
push edi
shr eax, 0x10
lea edi, [ebp - 0x14]
mov esi, ecx
mov ebx, dword [ebp + 0x14]
movsx ecx, ax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x1012
push dword [esi + 4]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x470fc9
cmp dword [ebp - 0x10], 8
jne 0x470fc9
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x470fc9
push dword [ebp - 0xc]
mov ecx, esi
call fcn.0046dbd8
mov ecx, dword [ebp - 4]
xor eax, eax
and dword [ebx], 0
xor ecx, ebp
pop edi
pop esi
inc eax
pop ebx
call fcn.004971ea
mov esp, ebp
pop ebp
ret 0x10

Function at 0x471313
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
test ecx, ecx
je 0x471320
lea edi, [ecx - 0x20]
jmp 0x471322
xor edi, edi
cmp byte [ecx + 0x1c], 0
je 0x471356
push 0xe801
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x471347
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x47135c
cmp dword [ebp + 0xc], 0
jne 0x471356
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x471372
mov ecx, dword [ebp + 0x10]
mov eax, ecx
shr eax, 0x10
cwde
push eax
movsx eax, cx
lea ecx, [edi + 0x20]
push eax
call fcn.0046ee29
xor eax, eax
pop edi
pop ebp
ret 0x10
Function at 0x471379
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
test ecx, ecx
je 0x471386
lea edi, [ecx - 0x20]
jmp 0x471388
xor edi, edi
cmp byte [ecx + 0x1c], 0
je 0x4713bc
push 0xe801
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x4713ad
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4713c2
cmp dword [ebp + 0xc], 0
jne 0x4713bc
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x4713d8
mov ecx, dword [ebp + 0x10]
mov eax, ecx
shr eax, 0x10
cwde
push eax
movsx eax, cx
lea ecx, [edi + 0x20]
push eax
call fcn.0046f03d
xor eax, eax
pop edi
pop ebp
ret 0x10

Function at 0x4713df
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
test ecx, ecx
je 0x4713ec
lea edi, [ecx - 0x24]
jmp 0x4713ee
xor edi, edi
cmp byte [ecx + 0x1c], 0
je 0x471422
push 0xe801
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x471413
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x471428
cmp dword [ebp + 0xc], 0
jne 0x471422
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x47143e
mov ecx, dword [ebp + 0x10]
mov eax, ecx
shr eax, 0x10
cwde
push eax
movsx eax, cx
lea ecx, [edi + 0x24]
push eax
call fcn.0046f251
xor eax, eax
pop edi
pop ebp
ret 0x10
Function at 0x472693
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x49adce
call fcn.004972d1
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
push 0x60
push ebx
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x472710
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x472710
call fcn.0046d673
mov esi, eax
jmp 0x4727e7
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x472733
call fcn.0046d673
jmp 0x4727da
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x472729
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x472763
mov esi, 0x8007000e
jmp 0x4727dc
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0046d2db
jmp 0x472789
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x47275c
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x420]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x472729
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x430]
push dword [ebp - 0x418]
call fcn.00472558
mov esi, eax
test edi, edi
je 0x4727e7
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x472800
lea ecx, [ebp - 0x418]
call fcn.0046fe96
lea ecx, [ebp - 0x428]
call fcn.0046c29a
mov eax, esi
call fcn.00497223
ret 0x10
Function at 0x47322b
Capabilities:
Accept command line arguments

Disassembly:
push 0x428
mov eax, 0x49af0f
call fcn.00497265
lea ecx, [ebp - 0x3f4]
call fcn.0046be21
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1f0]
call fcn.0046c041
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
and dword [ebp - 0x3fc], 0
lea ecx, [ebp - 0x3fc]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x3fc], 2
mov esi, eax
jne 0x4733e1
push 0x4a0850
push dword [esi + 4]
call dword [sym.imp.MSVCR120.dll_wcscmp]
pop ecx
pop ecx
test eax, eax
jne 0x4732a4
call fcn.004817e1
mov ebx, eax
jmp 0x4733e1
push dword [esi + 4]
lea ecx, [ebp - 0x3f8]
call fcn.0045f630
mov byte [ebp - 4], 2
call fcn.0047f4e3
push 0
lea ecx, [ebp - 0x3f8]
mov esi, eax
call fcn.0046023d
push eax
mov ecx, esi
call fcn.0047f590
test eax, eax
jne 0x4732e8
test esi, esi
je 0x4732e1
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax]
xor ebx, ebx
jmp 0x4733d6
mov ecx, esi
call fcn.0047f40b
xor ecx, ecx
cmp dword [eax + 0x3c], ecx
jne 0x4733b2
xorps xmm0, xmm0
mov dword [ebp - method.WTL::CMessageLoop.virtual_0], vtable.WTL::CMessageLoop.0
movdqu xmmword [ebp - 0x430], xmm0
mov dword [ebp - 0x420], ecx
mov dword [ebp - 0x41c], ecx
lea eax, [ebp - 0x434]
mov byte [ebp - 4], 3
push eax
mov ecx, 0x4cc424
call fcn.0046cd64
mov ecx, esi
call fcn.0047f40b
xor ecx, ecx
push ecx
push ecx
cmp dword [eax + 0x54], ecx
jne 0x47334d
lea ecx, [ebp - 0x3f4]
call fcn.0046dce2
jmp 0x473358
lea ecx, [ebp - 0x1f0]
call fcn.0046dd34
test eax, eax
jne 0x47337f
test esi, esi
je 0x473367
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax]
lea ecx, [ebp - 0x424]
call fcn.00472e89
lea ecx, [ebp - 0x430]
call fcn.00472ea7
jmp 0x4733d6
lea ecx, [ebp - 0x434]
call fcn.00473407
mov ecx, 0x4cc424
mov edi, eax
call fcn.00473089
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 2
call fcn.00472e89
lea ecx, [ebp - 0x430]
call fcn.00472ea7
jmp 0x4733c9
mov ecx, esi
call fcn.00480121
mov ecx, esi
call fcn.00481927
mov ecx, esi
call fcn.0047f582
mov edi, eax
test esi, esi
je 0x4733d4
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax]
mov ebx, edi
lea ecx, [ebp - 0x3f8]
call fcn.0045e73f
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 0
call fcn.0046c6e7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3f4]
call fcn.0046c5b8
mov eax, ebx
call fcn.00497214
ret

Function at 0x474f22
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4cb0b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x110
xor ebx, ebx
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x114]
push ebx
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x474f83
cmp dword [ebp - 0x114], 5
jae 0x474f86
cmp dword [ebp - 0x114], 4
jne 0x474f83
cmp dword [ebp - 0x110], 0x5a
jae 0x474f86
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004971ea
mov esp, ebp
pop ebp
ret
Function at 0x475d96
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov esi, dword [eax + 0xc]
call fcn.0047f4e3
mov ecx, eax
call fcn.0047f40b
test esi, esi
js 0x475df5
push esi
push dword [edi + 0x450]
mov ecx, eax
call fcn.004682df
mov ecx, eax
call fcn.00467f94
test eax, eax
je 0x475df5
add eax, 4
lea ecx, [ebp + 0xc]
push eax
call fcn.0045e6a5
push 1
xor eax, eax
push eax
push eax
push dword [ebp + 0xc]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp + 0xc]
call fcn.0045e73f
pop edi
xor eax, eax
pop esi
pop ebp
ret 0xc

Function at 0x476580
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0047f4e3
mov ecx, eax
call fcn.0047f40b
xor esi, esi
mov dword [ebp - 8], eax
push esi
push esi
push 0x1004
push dword [ebx + 0x44]
or ecx, 0xffffffff
xor edi, edi
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x476631
push 2
push esi
push 0x102c
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4765d0
mov dword [ebp - 4], esi
inc edi
push 0
push 0
push 0x1004
push dword [ebx + 0x44]
inc esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, eax
jl 0x4765b7
cmp edi, 1
jne 0x476631
mov ecx, dword [ebp - 4]
push ecx
push dword [ebx + 0x450]
mov ecx, dword [ebp - 8]
call fcn.004682df
mov ecx, eax
call fcn.00467f94
test eax, eax
je 0x476631
add eax, 4
lea ecx, [ebp - 4]
push eax
call fcn.0045e6a5
push edi
xor eax, eax
push eax
push eax
push dword [ebp - 4]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 4]
call fcn.0045e73f
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x47821d
Capabilities:
Get graphical window text

Disassembly:
push 0x814
mov eax, 0x49b55c
call fcn.00497265
mov edi, ecx
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call sub.MSVCR120.dll_memset
mov eax, dword [0x4cb014]
add esp, 0xc
mov dword [ebp - 0x814], eax
and dword [ebp - 4], 0
mov dword [ebp - 0x818], eax
mov esi, dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x810]
mov ebx, 0x400
mov byte [ebp - 4], 1
push ebx
push eax
push dword [edi + 0x104]
call esi
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x814]
call fcn.0045e774
push ebx
lea eax, [ebp - 0x810]
push eax
push dword [edi + 0x10c]
call esi
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x818]
call fcn.0045e774
call fcn.0047f4e3
push ecx
mov esi, eax
mov dword [ebp - 0x81c], esp
lea eax, [ebp - 0x818]
mov ecx, esp
push eax
call fcn.0045e6a5
push ecx
lea eax, [ebp - 0x814]
mov dword [ebp - 0x820], esp
mov ecx, esp
mov byte [ebp - 4], 2
push eax
call fcn.0045e6a5
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0047f40b
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00469c31
lea ecx, [ebp - 0x818]
call fcn.0045e73f
lea ecx, [ebp - 0x814]
call fcn.0045e73f
xor eax, eax
call fcn.00497214
ret 0x10
Function at 0x478d59
Capabilities:
Get graphical window text

Disassembly:
push 0x81c
mov eax, 0x49b6ce
call fcn.00497265
mov edi, ecx
xor eax, eax
xor ebx, ebx
push 0x7fe
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push ebx
push eax
call sub.MSVCR120.dll_memset
mov eax, dword [0x4cb014]
add esp, 0xc
mov dword [ebp - 0x814], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x818], eax
mov esi, dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x810]
push 0x400
push eax
push dword [edi + 0x104]
mov byte [ebp - 4], 1
call esi
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x814]
call fcn.0045e774
push 0x400
lea eax, [ebp - 0x810]
push eax
push dword [edi + 0x10c]
call esi
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x818]
call fcn.0045e774
call fcn.0047f4e3
push ecx
mov esi, eax
mov dword [ebp - 0x824], esp
lea eax, [ebp - 0x818]
mov dword [ebp - 0x828], esi
mov ecx, esp
push eax
call fcn.0045e6a5
push ecx
lea eax, [ebp - 0x814]
mov dword [ebp - 0x820], esp
mov ecx, esp
mov byte [ebp - 4], 2
push eax
call fcn.0045e6a5
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0047f40b
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00469c31
test eax, eax
jne 0x478efd
push str.RTLReading
push str.Settings
lea eax, [ebp - 0x81c]
mov ecx, esi
push eax
call fcn.0047f521
push 0x4a0910
push dword [ebp - 0x81c]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCR120.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
mov ecx, 0x100000
push str.InvalidEmailCaption
push 0x4a0bc4
lea eax, [ebp - 0x824]
cmove ebx, ecx
push eax
mov ecx, esi
call fcn.0047f521
mov esi, eax
mov ecx, dword [ebp - 0x828]
lea eax, [ebp - 0x820]
push str.InvalidEmailText
push 0x4a0bc4
push eax
mov byte [ebp - 4], 5
call fcn.0047f521
push ebx
push dword [esi]
push dword [eax]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x820]
call fcn.0045e73f
lea ecx, [ebp - 0x824]
call fcn.0045e73f
push dword [edi + 0x104]
call dword [sym.imp.USER32.dll_SetFocus]
lea ecx, [ebp - 0x81c]
call fcn.0045e73f
jmp 0x478f28
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
mov ecx, edi
push 1
call fcn.00477605
push 1
push ebx
lea ecx, [edi + 0x1ac]
call fcn.0048d020
mov ecx, esi
call fcn.00480121
lea ecx, [ebp - 0x818]
call fcn.0045e73f
lea ecx, [ebp - 0x814]
call fcn.0045e73f
xor eax, eax
call fcn.00497214
ret 0x10

Function at 0x478f48
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
test ecx, ecx
je 0x478f55
lea edi, [ecx - 0x20]
jmp 0x478f57
xor edi, edi
cmp byte [ecx + 0x1c], 0
je 0x478f8b
push 0xe801
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x478f7c
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x478f91
cmp dword [ebp + 0xc], 0
jne 0x478f8b
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x478fa7
mov ecx, dword [ebp + 0x10]
mov eax, ecx
shr eax, 0x10
cwde
push eax
movsx eax, cx
lea ecx, [edi + 0x20]
push eax
call fcn.00477a8a
xor eax, eax
pop edi
pop ebp
ret 0x10