joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ca20
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x14
mov eax, dword [0x4117d0]
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov eax, dword [0x4117cc]
mov dword [esp + 0xc], sym._ColumnsDialogWndProc_16
mov dword [esp + 4], 0x8f
mov dword [esp], eax
call dword [sym.imp.user32.dll_DialogBoxParamW]
sub esp, 0x14
cmp eax, 1
je 0x40ca70
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov eax, dword [0x41184c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov esi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 4], 0x1200
mov dword [esp], eax
call esi
sub esp, 0x10
dec eax
mov ebx, eax
js 0x40cac6
mov eax, dword [0x411850]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x101c
mov dword [esp], eax
call esi
sub esp, 0x10
sub ebx, 1
jae 0x40caa0
xor eax, eax
lea esi, [esi]
nop
mov dword [eax*4 + 0x4116a0], eax
inc eax
cmp eax, 0x19
jne 0x40cad0
mov dword [0x411704], 0x69
mov dword [0x411708], 0x32
mov dword [0x41170c], 0x6b
mov dword [0x411710], 0x46
mov dword [0x411714], 0x23
mov dword [0x411718], 0x46
mov dword [0x41171c], 0x46
mov dword [0x411720], 0x64
mov dword [0x411724], 0x46
mov dword [0x411728], 0x46
mov dword [0x41172c], 0x46
mov dword [0x411730], 0x46
mov dword [0x411734], 0x46
mov dword [0x411738], 0x46
mov dword [0x41173c], 0x3c
mov dword [0x411740], 0x3c
mov dword [0x411744], 0x3c
mov dword [0x411748], 0x3c
mov dword [0x41174c], 0x3c
mov dword [0x411750], 0x46
mov dword [0x411754], 0x46
mov dword [0x411758], 0x46
mov dword [0x41175c], 0x46
mov dword [0x411760], 0x46
mov dword [0x411764], 0x46
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
jmp sym._AddColumns
Function at 0x410790
Capabilities:
Access peb ldr_data
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_narrow_argv
call sym.__initialize_narrow_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___argv
mov edi, dword [eax]
call sym.__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._main
mov dword [esp], eax
call sym._exit
nop
nop
nop
nop
nop

Function at 0x4108a0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x58
call sym.___main
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov ebx, eax
movzx eax, byte [eax]
test al, al
je 0x41091d
cmp al, 9
je 0x410910
cmp al, 0x20
je 0x410910
mov dword [ebp - 0x54], 0
xor edi, edi
nop
cmp al, 0x5c
je 0x410970
cmp al, 0x22
je 0x410980
mov dword [ebp - 0x54], 0
movzx eax, byte [ebx + 1]
inc ebx
test al, al
je 0x41091d
cmp al, 9
sete cl
cmp al, 0x20
mov esi, ecx
sete cl
mov edx, esi
or dl, cl
je 0x4108d0
test edi, 1
jne 0x4108d0
lea esi, [esi]
movzx eax, byte [ebx + 1]
inc ebx
cmp al, 9
je 0x410910
cmp al, 0x20
je 0x410910
lea eax, [ebp - 0x50]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
sub esp, 4
test byte [ebp - 0x24], 1
jne 0x410938
mov word [ebp - 0x20], 1
movzx esi, word [ebp - 0x20]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._WinMain_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
inc dword [ebp - 0x54]
jmp 0x4108e7
and dword [ebp - 0x54], 1
jne 0x4108e0
xor edi, 1
jmp 0x4108e7
Function at 0x46d1f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3d000]
push edi
jmp 0x46d20a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x46d211
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46d200
mov eax, 1
add ebx, ebx
jne 0x46d223
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x46d234
jne 0x46d253
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46d253
dec eax
add ebx, ebx
jne 0x46d240
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x46d218
add ebx, ebx
jne 0x46d24f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x46d2a5
xor ecx, ecx
sub eax, 3
jb 0x46d26b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x46d2da
sar eax, 1
mov ebp, eax
jmp 0x46d276
add ebx, ebx
jne 0x46d276
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46d244
inc ecx
add ebx, ebx
jne 0x46d284
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46d244
add ebx, ebx
jne 0x46d291
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x46d286
jne 0x46d2a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x46d286
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x46d2c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x46d2b6
jmp 0x46d206
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x46d2c4
add edi, ecx
jmp 0x46d206
pop esi
mov edi, esi
mov ecx, 0xc5e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x46d2e2
cmp byte [edi], 9
jne 0x46d2e2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x46d2e7
lea edi, [esi + 0x6a000]
mov eax, dword [edi]
or eax, eax
je 0x46d356
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7571c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x75780]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46d314
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x75784]
or eax, eax
je 0x46d350
mov dword [ebx], eax
add ebx, 4
jmp 0x46d331
call dword [esi + 0x75794]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x46d387
cmp al, 0xef
ja 0x46d37a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x46d35c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x46d369
mov ebp, dword [esi + 0x75788]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x46d3bb
sub esp, 0xffffff80
jmp 0x40a3aa
Function at 0x430002
Capabilities:
Authenticate hmac
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x1e362c0b
nop
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
mov ecx, 0x2de06e9e
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x100051ef
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x100051fe
pop dword [ebp - 0x10]
mov eax, 0x649e5052
sub eax, 0x549dfe54
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x485c35a7
sub dword [ebp - 0x20], 0xfa09f05c
mov dword [ebp - 0x1c], 0x7aff3039
sub dword [ebp - 0x1c], 0x48cbe3f4
mov dword [ebp - 0x18], 0x96fdf0b3
sub dword [ebp - 0x18], 0x4ab1ac85
mov dword [ebp - 0x14], 0x97fa7744
add dword [ebp - 0x14], 0x680588bc
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x93874727
sub dword [ebp - 0x20], 0x1f14ddd1
mov dword [ebp - 0x1c], 0x991b5958
sub dword [ebp - 0x1c], 0x57aef7e3
mov dword [ebp - 0x18], 0x8f7a4cb2
sub dword [ebp - 0x18], 0x2c0ae046
mov dword [ebp - 0x14], 0x6569e407
add dword [ebp - 0x14], 0x9a961bf9
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x68991ff
sub eax, 0xf688e1d3
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3867d
push 0
call eax
mov ecx, 0x7f2804c0
add ecx, 0x80d84724
xor edx, edx
add edx, eax
mov esi, 0x16d5cb28
sub esi, 0x6d16928
add esi, dword [ebp - 0x10]
mov ebx, 0x4736388c
sub ebx, 0x4c91514d
xor dword [ebp - 4], 0x55041c52
mov edi, dword [esi]
sub dword [ebp - 4], 0xae2f5607
sub edi, ebx
xor dword [ebp - 4], 0x28d0fb37
mov dword [edx], edi
xor dword [ebp - 0xc], ebx
add edx, 0x5dc59d62
sub edx, 0x5dc59d5e
add esi, 4
loop 0x1000531d
add eax, 0x12263
xor ebx, ebx
add ebx, eax
add eax, 0x17058356
add eax, 0xe8fa7caf
mov ecx, 0x49f7d5f0
add ecx, 0xc6082a10
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, reloc.imm32.dll_ImmGetCompositionStringW
nop
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x430002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x40433e
Capabilities:
Check if file exists

Disassembly:
push 0x68
mov eax, 0x635f24
call fcn.0040eae7
mov edi, dword [ebp + 8]
xor edx, edx
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov esi, dword [ebp + 0x10]
push 7
pop ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x71]
mov byte [ebp - 4], 1
call fcn.004037b1
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0040407c
cmp dword [ebp - 0x30], 0
jbe 0x40446d
lea eax, [ebp - 0x70]
push eax
call fcn.0040471e
mov ecx, eax
call fcn.004b3e12
push eax
lea ecx, [ebp - 0x28]
call fcn.0040377a
lea ecx, [ebp - 0x70]
call fcn.0040199e
push 0x6b92e8
lea ecx, [ebp - 0x28]
call fcn.00401918
push 0x6b9320
lea ecx, [ebp - 0x28]
call fcn.00401918
push 8
pop esi
cmp dword [ebp - 0x2c], esi
lea eax, [ebp - 0x40]
push 0x2f
cmovae eax, dword [ebp - 0x40]
push 0xffffffffffffffff
push dword [ebp - 0x30]
push eax
call fcn.00404823
add esp, 0x10
lea ecx, [ebp - 0x72]
inc eax
push ecx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004047ba
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x28]
call fcn.0040479d
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.0040199e
cmp dword [ebp - 0x14], esi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x404458
cmp dword [ebp - 0x14], esi
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], esi
push 0
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call fcn.004046a8
mov ecx, eax
call fcn.004c67a0
cmp dword [ebp - 0x14], esi
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x71]
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
push edi
call fcn.004b37b6
lea ecx, [ebp - 0x71]
call fcn.004015c0
lea ecx, [ebp - 0x40]
call fcn.0040199e
lea ecx, [ebp - 0x28]
call fcn.0040199e
call fcn.0040ea91
ret 0xc
Function at 0x404f7c
Capabilities:
Accept command line arguments

Disassembly:
push 0x1b0
mov eax, 0x636247
call fcn.0040eae7
mov ebx, ecx
mov dword [ebp - 0x1bc], ebx
mov edi, dword [ebp + 0x20]
mov esi, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x2c]
and dword [ebp - 4], 0
push eax
push edx
push esi
push edi
lea eax, [ebp - 0x58]
push str._bid_:_d__type_:_d__fid_:_d__lineMode_:_d
push eax
call fcn.004b257b
add esp, 0x18
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 1
call fcn.004bb7c5
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x1b4]
call fcn.004bbde5
push str.10681241
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x1b4]
call fcn.004bb849
push 8
pop edi
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], edi
jb 0x405002
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004bc1cc
pop ecx
pop ecx
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], edi
jb 0x405019
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x1b4]
call fcn.004bbe70
lea ecx, [ebp - 0x70]
call fcn.0040199e
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.0040199e
mov esi, str.91474361
lea eax, [ebp - 0x40]
push esi
push eax
lea ecx, [ebp - 0x1b4]
call fcn.004bb849
mov byte [ebp - 4], 5
lea edx, [ebp + 8]
cmp dword [ebp + 0x1c], edi
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x40]
cmovae edx, dword [ebp + 8]
cmp dword [ebp - 0x44], edi
push edx
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x2c], edi
push str.13120011
cmovae eax, dword [ebp - 0x40]
push ecx
push str.41201514
push eax
push esi
push str.80812412
lea eax, [ebp - 0x28]
push str._s__s_s__s_s__s_s
push eax
call fcn.004b257b
add esp, 0x24
mov byte [ebp - 4], 6
call fcn.004bd722
test al, al
je 0x405174
mov eax, dword [0x6dea08]
test eax, eax
je 0x405174
cmp dword [eax + 4], 4
jl 0x405174
lea eax, [ebx + 4]
mov dword [ebp - 0x1ac], eax
cmp dword [eax + 0x14], edi
jb 0x4050d5
mov eax, dword [eax]
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
push str.1200
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x1b8], eax
call fcn.004bd534
pop ecx
push 0
push 0
push 0x6b9278
push 0x28
push str.CTransferCMD::StartShadowProcess
push 4
lea ecx, [ebp - 0x1a8]
mov esi, eax
call fcn.00407530
mov ebx, eax
lea edi, [ebx + 0x30]
mov byte [ebp - 4], 7
push esi
push edi
call fcn.0040595b
push 0x6b95b0
push edi
call fcn.0040595b
push dword [ebp - 0x1b8]
push edi
call fcn.0040595b
push 0x6b95c0
push edi
call fcn.0040595b
push dword [ebp - 0x1ac]
push edi
call fcn.0040595b
mov ecx, dword [0x6dea08]
add esp, 0x28
push ebx
call fcn.00407614
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 6
call fcn.00405978
mov ebx, dword [ebp - 0x1bc]
push 8
pop edi
lea ecx, [ebx + 4]
cmp dword [ecx + 0x14], edi
jb 0x40517e
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0xffffffffffffffff
push 0
push ecx
push eax
call fcn.004bc29e
add esp, 0x14
lea ecx, [ebp - 0x28]
call fcn.0040199e
lea ecx, [ebp - 0x40]
call fcn.0040199e
lea ecx, [ebp - 0x1b4]
call fcn.004bb818
lea ecx, [ebp - 0x58]
call fcn.0040199e
lea ecx, [ebp + 8]
call fcn.0040199e
call fcn.0040ea91
ret 0x28
Function at 0x4051cb
Capabilities:
Accept command line arguments

Disassembly:
push 0x1b0
mov eax, 0x636247
call fcn.0040eae7
mov ebx, ecx
mov dword [ebp - 0x1bc], ebx
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
xor ecx, ecx
push ecx
push ecx
push eax
push edx
lea eax, [ebp - 0x58]
mov dword [ebp - 4], ecx
push str._bid_:_d__type_:_d__fid_:_d__lineMode_:_d
push eax
call fcn.004b257b
add esp, 0x18
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 1
call fcn.004bb7c5
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x1b4]
call fcn.004bbde5
push str.10681241
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x1b4]
call fcn.004bb849
push 8
pop edi
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], edi
jb 0x40524c
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004bc1cc
pop ecx
pop ecx
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], edi
jb 0x405263
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x1b4]
call fcn.004bbe70
lea ecx, [ebp - 0x70]
call fcn.0040199e
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.0040199e
mov esi, str.91474361
lea eax, [ebp - 0x40]
push esi
push eax
lea ecx, [ebp - 0x1b4]
call fcn.004bb849
mov byte [ebp - 4], 5
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], edi
lea ecx, [ebp - 0x40]
lea eax, [ebp + 8]
cmovae edx, dword [ebp - 0x58]
cmp dword [ebp - 0x2c], edi
push edx
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp + 0x1c], edi
push str.41201514
cmovae eax, dword [ebp + 8]
push ecx
push esi
push eax
push str.84101210
lea eax, [ebp - 0x28]
push 0x6b95c8
push eax
call fcn.004b257b
add esp, 0x20
mov byte [ebp - 4], 6
call fcn.004bd722
test al, al
je 0x4053b9
mov eax, dword [0x6dea08]
test eax, eax
je 0x4053b9
cmp dword [eax + 4], 4
jl 0x4053b9
lea eax, [ebx + 4]
mov dword [ebp - 0x1ac], eax
cmp dword [eax + 0x14], edi
jb 0x40531a
mov eax, dword [eax]
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
push str.1200
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x1b8], eax
call fcn.004bd534
pop ecx
push 0
push 0
push 0x6b9278
push 0x43
push str.CTransferCMD::StartRealProcessAndWait
push 4
lea ecx, [ebp - 0x1a8]
mov esi, eax
call fcn.00407530
mov ebx, eax
lea edi, [ebx + 0x30]
mov byte [ebp - 4], 7
push esi
push edi
call fcn.0040595b
push 0x6b95b0
push edi
call fcn.0040595b
push dword [ebp - 0x1b8]
push edi
call fcn.0040595b
push 0x6b95c0
push edi
call fcn.0040595b
push dword [ebp - 0x1ac]
push edi
call fcn.0040595b
mov ecx, dword [0x6dea08]
add esp, 0x28
push ebx
call fcn.00407614
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 6
call fcn.00405978
mov ebx, dword [ebp - 0x1bc]
push 8
pop edi
lea ecx, [ebx + 4]
cmp dword [ecx + 0x14], edi
jb 0x4053c3
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0xffffffffffffffff
push 1
push ecx
push eax
call fcn.004bc29e
add esp, 0x14
lea ecx, [ebp - 0x28]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
call fcn.0040199e
lea ecx, [ebp - 0x40]
call fcn.0040199e
lea ecx, [ebp - 0x1b4]
call fcn.004bb818
lea ecx, [ebp - 0x58]
call fcn.0040199e
lea ecx, [ebp + 8]
call fcn.0040199e
mov al, bl
call fcn.0040ea91
ret 0x20
Function at 0x407d36
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x6cf06c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x214]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x407dad
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x407dad
push 4
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 1
push eax
push 4
push 0
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e185
leave
ret

Function at 0x4086d8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
mov esi, ecx
mov ecx, dword [esi + 0x2c]
call fcn.00420120
test al, al
je 0x40871c
mov eax, dword [ebp + 0x1c]
or ecx, 0xffffffff
mov byte [esi + 0x39], 1
push 0
mov eax, dword [eax]
mov word [eax], cx
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0xf060
push 0x112
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
pop ebp
ret 0x18
Function at 0x413660
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x413681
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x413699
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x4136b1
mov edx, dword [ebp - 4]
or edx, 2
mov dword [ebp - 4], edx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x4136c7
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x4136df
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x41a9c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0xa8]
je 0x41a9fe
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x108]
je 0x41a9fe
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x108]
jne 0x41aa11
jmp 0x41ab85
mov edx, dword [ebp - 4]
cmp dword [edx + 0x108], 0
je 0x41aaa3
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], 0x17
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x108]
mov edx, dword [eax + 0x14c]
call edx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x41aa96
push 0
push 0
push 0
push str.killfocus
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x108]
push edx
mov ecx, dword [ebp - 4]
call fcn.0041a420
mov eax, dword [ebp - 4]
mov dword [eax + 0x108], 0
cmp dword [ebp + 8], 0
jne 0x41aaae
jmp 0x41ab85
cmp dword [ebp + 8], 0
je 0x41ab85
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
call eax
cmp eax, dword [ebp - 4]
jne 0x41ab85
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x108]
call eax
movzx ecx, al
test ecx, ecx
je 0x41ab85
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x114]
call edx
movzx eax, al
test eax, eax
je 0x41ab85
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x108], edx
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x48], 0x18
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x44], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x108]
mov edx, dword [eax + 0x14c]
call edx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x41ab85
push 0
push 0
push 0
push str.setfocus
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x108]
push edx
mov ecx, dword [ebp - 4]
call fcn.0041a420
mov esp, ebp
pop ebp
ret 8