joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d9b3
Capabilities:
Move file

Disassembly:
push ebp
sub esp, 0x414
lea ebp, [esp - 4]
mov eax, dword [0x61dc40]
xor eax, ebp
mov dword [ebp + 0x414], eax
push 4
mov eax, 0x5bc083
call fcn.00598f2b
xor eax, eax
mov esi, ecx
mov dword [ebp - 0x10], eax
cmp esi, eax
je 0x42daac
cmp word [esi], ax
je 0x42daac
cmp ebx, eax
je 0x42daac
cmp word [ebx], ax
je 0x42daac
push 0x206
push eax
lea eax, [ebp + 0x20e]
xor ecx, ecx
push eax
mov word [ebp + 0x20c], cx
call fcn.00596530
push ebx
push str._s.backdb.tmp
mov ecx, 0x104
lea edi, [ebp + 0x20c]
call fcn.00405374
push esi
mov ecx, edi
call fcn.00476205
add esp, 0x18
test eax, eax
je 0x42daa7
xor edi, edi
cmp dword [ebp + 0x420], edi
je 0x42da80
lea esi, [ebp]
call fcn.0046ff87
lea eax, [ebp + 0x20c]
push eax
mov dword [ebp - 4], edi
call fcn.0046ffa6
push edi
mov eax, esi
push eax
call fcn.00470070
mov esi, eax
lea eax, [ebp]
call fcn.00470045
lea eax, [ebp]
call fcn.00470045
cmp esi, edi
jne 0x42da9c
mov ecx, ebx
call fcn.0047611f
push 1
push ebx
lea eax, [ebp + 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x10], eax
jmp 0x42daa7
lea ecx, [ebp + 0x20c]
call fcn.0047611f
mov eax, dword [ebp - 0x10]
jmp 0x42daae
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x414]
xor ecx, ebp
call fcn.0058f3cf
add ebp, 0x418
leave
ret

Function at 0x42de22
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x42de8a
cmp word [eax], bx
je 0x42de8a
push edi
push eax
call fcn.0042dc31
mov edi, eax
pop ecx
cmp edi, ebx
je 0x42de85
push esi
push 4
pop esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push str.extrnurlbtmsk
push str.Softwarehao123JuziBrowser
push 0x80000001
mov dword [ebp - 4], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42de79
cmp dword [ebp - 8], esi
je 0x42de7c
and dword [ebp - 4], ebx
pop esi
test dword [ebp - 4], edi
je 0x42de85
xor ebx, ebx
inc ebx
mov eax, ebx
pop edi
jmp 0x42de8c
xor eax, eax
pop ebx
leave
ret
Function at 0x42ded0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
push 4
pop esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push str.dfnvurltm
push str.Softwarehao123JuziBrowser
xor edi, edi
push 0x80000001
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42df13
cmp dword [ebp - 8], esi
je 0x42df16
mov dword [ebp - 4], edi
cmp dword [ebp - 4], edi
je 0x42df64
push ebx
push edi
call fcn.005901bf
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
xor ebx, ebx
mov dword [ebp - 0x14], edi
call fcn.005904c8
pop ecx
pop ecx
cmp eax, edi
je 0x42df41
mov ebx, dword [eax + 0xc]
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edi
call fcn.005904c8
pop ecx
cmp eax, edi
je 0x42df58
mov edi, dword [eax + 0xc]
cmp ebx, edi
pop ebx
jne 0x42df64
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
pop edi
pop esi
leave
ret

Function at 0x42df6b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push esi
push 4
pop esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push str.dfnvurlflag
push str.Softwarehao123JuziBrowser
push 0x80000001
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42dfa9
cmp dword [ebp - 8], esi
je 0x42dfad
and dword [ebp - 4], 0
cmp dword [ebp - 4], 2
pop esi
jne 0x42dfb9
xor eax, eax
inc eax
leave
ret
cmp dword [ebp - 4], 1
jne 0x42dfcb
call fcn.0042ded0
neg eax
sbb eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret
Function at 0x42dfcf
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x490
mov eax, dword [0x61dc40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
xor eax, eax
cmp ebx, edi
je 0x42e0df
mov esi, 0x206
push esi
mov word [ebp - 0x480], ax
lea eax, [ebp - 0x47e]
push edi
push eax
call fcn.00596530
xor eax, eax
push esi
push eax
mov word [ebp - 0x278], ax
lea eax, [ebp - 0x276]
push eax
call fcn.00596530
add esp, 0x18
lea eax, [ebp - 0x278]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x42e0dd
and dword [ebp - 0x490], edi
xor eax, eax
lea edi, [ebp - 0x48c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x490]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jne 0x42e0a0
push 0x62
push eax
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push eax
call fcn.00596530
add esp, 0xc
push 0x32
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x490]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x480]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
jmp 0x42e0c0
lea eax, [ebp - 0x480]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.jzrd
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x480]
push eax
push 0x5db9e0
push 0x102
push ebx
call fcn.0058f42f
xor edi, edi
add esp, 0x10
inc edi
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0058f3cf
leave
ret

Function at 0x42e174
Capabilities:
Accept command line arguments

Disassembly:
push 0x30
mov eax, 0x5b6ea2
call fcn.00598f2b
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x18], edi
cmp esi, edi
je 0x42e233
cmp word [esi], di
je 0x42e233
mov eax, 0x5d02b0
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x42e1a0
sub eax, edx
sar eax, 1
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x10]
push eax
push esi
mov dword [ebp - 0x10], edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x42e22e
xor ebx, ebx
cmp dword [ebp - 0x10], edi
jle 0x42e225
cmp ebx, edi
je 0x42e21f
mov eax, dword [ebp - 0x14]
mov esi, dword [eax + ebx*4]
cmp esi, edi
je 0x42e21f
cmp word [esi], di
je 0x42e21f
push dword [ebp - 0x1c]
push 0x5d02b0
push esi
call fcn.00590d27
add esp, 0xc
test eax, eax
je 0x42e21f
push esi
lea esi, [ebp - 0x38]
call fcn.0040863b
mov eax, esi
push eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], edi
call fcn.00408726
or dword [ebp - 4], 0xffffffff
push edi
push 1
call fcn.00404eaf
mov dword [ebp - 0x18], 1
inc ebx
cmp ebx, dword [ebp - 0x10]
jl 0x42e1cd
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x18]
jmp 0x42e235
xor eax, eax
call fcn.00599003
ret
Function at 0x42e250
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x90
mov eax, dword [0x61dc40]
xor eax, ebp
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x78]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x42e349
push ebx
push esi
push edi
push 0x7e
pop esi
xor eax, eax
push esi
push eax
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x12]
push eax
call fcn.00596530
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov ebx, 0x5d0918
push ebx
mov edi, str.Softwarehao123JuziBrowser
push edi
mov dword [ebp - 0x1c], esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 0x80000001
mov dword [ebp - 0x18], 1
call esi
test eax, eax
jne 0x42e2c6
cmp word [ebp - 0x14], ax
jne 0x42e306
push 0x80
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00596530
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push edi
push 0x80000002
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], 0x7e
call esi
test eax, eax
jne 0x42e32e
cmp word [ebp - 0x14], ax
je 0x42e32e
lea eax, [ebp - 0x14]
push 0x20
push eax
call fcn.0059289e
pop ecx
pop ecx
test eax, eax
jne 0x42e32e
lea eax, [ebp - 0x14]
push 9
push eax
call fcn.0059289e
pop ecx
pop ecx
test eax, eax
jne 0x42e32e
lea eax, [ebp - 0x14]
push eax
jmp 0x42e333
push 0x5dd7f4
push 0x5db9e0
push dword [ebp + 0x7c]
push dword [ebp - 0x20]
call fcn.0058f42f
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x6c]
xor eax, eax
xor ecx, ebp
inc eax
call fcn.0058f3cf
add ebp, 0x70
leave
ret
Function at 0x42e494
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0x250
mov eax, 0x5ba6c8
call fcn.00598f94
mov eax, dword [ebp + 8]
mov dword [ebp - 0x22c], eax
test eax, eax
je 0x42e5ca
mov ecx, 0x80000001
mov edx, str.hao123JuziBrowser.exe
lea eax, [ecx + 1]
mov dword [ebp - 0x25c], ecx
mov dword [ebp - 0x258], edx
mov dword [ebp - 0x250], edx
mov dword [ebp - 0x24c], ecx
mov edx, str.JuziBrowser.exe
mov dword [ebp - 0x23c], ecx
mov ecx, str.QingyunBrowser.exe
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], ecx
xor edi, edi
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths_
lea eax, [ebp - 0x220]
push eax
call fcn.00407b16
and dword [ebp - 4], 0
push dword [ebp + edi*8 - 0x258]
lea eax, [ebp - 0x220]
push eax
call fcn.0040a5b1
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.00596530
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push dword [ebp - 0x220]
mov dword [ebp - 0x224], 1
push dword [ebp + edi*8 - 0x25c]
mov dword [ebp - 0x228], 0x206
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42e5ae
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42e5d2
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
call fcn.00407b6b
inc edi
cmp edi, 6
jl 0x42e515
xor eax, eax
call fcn.00599017
ret
mov edx, dword [ebp - 0x22c]
lea eax, [ebp - 0x21c]
push eax
mov ecx, 0x103
call fcn.004054f9
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
call fcn.00407b6b
xor eax, eax
inc eax
jmp 0x42e5cc
Function at 0x431eb7
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x5ac]
sub esp, 0x62c
mov eax, dword [0x61dc40]
xor eax, ebp
mov dword [ebp + 0x5a8], eax
mov eax, dword [ebp + 0x5b8]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x5bc]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x5c4]
push ebx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x5cc]
push esi
push edi
mov dword [ebp - 0x74], eax
xor eax, eax
mov ebx, 0x206
push ebx
mov word [ebp + 0x198], ax
xor edi, edi
lea eax, [ebp + 0x19a]
push edi
push eax
call fcn.00596530
movzx eax, byte [ebp + 0x5c0]
add esp, 0xc
sub eax, 0x20
mov esi, 0x104
je 0x431f74
dec eax
jne 0x431fd2
push ebx
mov word [ebp + 0x3a0], ax
lea eax, [ebp + 0x3a2]
push edi
push eax
call fcn.00596530
mov eax, dword [0x63cc90]
add esp, 0xc
cmp eax, edi
mov ecx, esi
lea edi, [ebp + 0x3a0]
jne 0x431f6c
push str.Default
push str.Cookies
push 0x5dfc14
jmp 0x431fb6
push eax
push str.Cookies
jmp 0x431fb1
xor eax, eax
push ebx
mov word [ebp + 0x3a0], ax
lea eax, [ebp + 0x3a2]
push edi
push eax
call fcn.00596530
mov eax, dword [0x63cc90]
add esp, 0xc
cmp eax, edi
mov ecx, esi
lea edi, [ebp + 0x3a0]
jne 0x431fab
push str.Default
push str.Temporary
jmp 0x431f65
push eax
push str.Temporary
push 0x5e58f0
call fcn.00405374
add esp, 0xc
lea eax, [ebp + 0x3a0]
push eax
lea eax, [ebp + 0x198]
call fcn.00404119
xor edi, edi
xor eax, eax
cmp ax, word [ebp + 0x198]
je 0x4320bd
push ebx
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push edi
push eax
call fcn.00596530
xor eax, eax
push ebx
mov word [ebp + 0x3a0], ax
lea eax, [ebp + 0x3a2]
push edi
push eax
call fcn.00596530
add esp, 0x18
push esi
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x198]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x70]
push eax
push 0x63c268
lea eax, [ebp + 0x3a0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp + 0x3a0]
call fcn.00475d38
lea ebx, [ebp + 0x3a0]
call fcn.0047601e
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov eax, ebx
push eax
call esi
xor ecx, ecx
mov word [ebp + eax*2 + 0x39e], cx
mov eax, ebx
push eax
cmp dword [ebp + 0x5b4], edi
je 0x43207c
mov edi, dword [ebp - 0x74]
push 0x5db9e0
mov ecx, 0x103
call fcn.00405374
jmp 0x4320b7
call esi
inc eax
cmp eax, 0x3fffffff
jle 0x43208a
xor eax, eax
jmp 0x4320a4
lea ebx, [eax + eax]
mov eax, ebx
call fcn.00598a40
mov esi, esp
push edi
push ebx
lea eax, [ebp + 0x3a0]
push eax
call fcn.0040914d
mov edi, dword [ebp - 0x74]
push eax
push 0x5deb9c
mov ecx, 0x103
call fcn.00418afe
pop ecx
pop ecx
xor eax, eax
jmp 0x4320e1
cmp dword [ebp - 0x78], edi
je 0x4320dc
push dword [ebp - 0x74]
push dword [ebp + 0x5c8]
push dword [ebp - 0x80]
push dword [ebp + 0x5c0]
push dword [ebp - 0x7c]
call dword [ebp - 0x78]
jmp 0x4320e1
mov eax, 0x80070057
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x5a8]
xor ecx, ebp
call fcn.0058f3cf
add ebp, 0x5ac
leave
ret 0x1c
Function at 0x433acf
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, eax
mov eax, dword [ebp + 0x18]
and dword [esi], 0
mov byte [eax], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x433b44
cmp word [ebx + 8], 2
jne 0x433b24
cmp word [ebx + 0xa], 4
jne 0x433b24
mov edi, dword [ebx + 0xc]
jmp 0x433b1e
push dword [eax]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00433d0b
mov dword [esi], eax
test eax, eax
je 0x433b3f
lea esi, [eax + 0x1c]
add edi, 4
mov eax, dword [edi]
test eax, eax
jne 0x433b02
push 0x400
push dword [ebx]
push 0x401
push dword [ebp + 0x18]
call fcn.00594689
add esp, 0x10
xor eax, eax
jmp 0x433b6a
push 8
pop eax
jmp 0x433b6a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
mov eax, 0x2af9
sub ecx, eax
je 0x433b6a
dec ecx
je 0x433b65
dec ecx
je 0x433b5e
dec ecx
jmp 0x433b6a
mov eax, 0x2afb
jmp 0x433b6a
mov eax, 0x2afa
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x434237
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x61dc40]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x63fc44], 0
push ebx
push esi
push edi
mov dword [ebp - 0x238], str.getaddrinfo
mov dword [ebp - 0x234], 0x433d72
mov dword [ebp - 0x230], str.getnameinfo
mov dword [ebp - 0x22c], 0x434033
mov dword [ebp - 0x228], str.freeaddrinfo
mov dword [ebp - 0x224], fcn.004341fe
jne 0x4343b6
push 0x104
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x4343ac
lea eax, [ebp - 0x220]
push eax
mov esi, 0x10c
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.00594586
push str.ws2_32
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.005949c4
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0x18
lea eax, [ebp - 0x118]
push eax
call ebx
mov edi, eax
test edi, edi
je 0x434310
push str.getaddrinfo
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x43430c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
test edi, edi
jne 0x434365
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.00594586
push str.wship6
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.005949c4
add esp, 0x18
lea eax, [ebp - 0x118]
push eax
call ebx
mov edi, eax
test edi, edi
je 0x4343ac
push str.getaddrinfo
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x434361
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
test edi, edi
je 0x4343ac
xor esi, esi
push dword [ebp + esi*8 - 0x238]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp + esi*8 - 0x234], eax
test eax, eax
je 0x434388
inc esi
cmp esi, 3
jl 0x434367
jmp 0x434391
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
test edi, edi
je 0x4343ac
xor eax, eax
mov ecx, dword [ebp + eax - 0x234]
mov dword [eax + 0x633ed4], ecx
add eax, 8
cmp eax, 0x18
jl 0x434397
mov dword [0x63fc44], 1
movzx eax, word [ebp + 8]
mov ecx, dword [ebp - 4]
mov eax, dword [eax*8 + 0x633ed4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058f3cf
leave
ret 4
Function at 0x435932
Capabilities:
Allocate thread local storage

Disassembly:
push 0x38
mov eax, 0x5c15f2
call fcn.00598f2b
mov esi, ecx
mov edi, edx
xor ebx, ebx
cmp byte [0x633ee8], bl
je 0x435968
mov byte [0x633ee8], bl
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push str.jscript9.dll
mov dword [0x63c04c], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [ebp + 8], ebx
jne 0x435982
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
push ebx
call fcn.00435b26
add esp, 0x10
jmp 0x435b20
lea eax, [ebp - 0x10]
push eax
push edi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x10]
push ebx
push 0x100040
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [0x639450], eax
cmp eax, ebx
je 0x435b20
xor eax, eax
inc eax
cmp dword [ebp + 8], eax
jne 0x435ae6
mov dword [0x639454], eax
call fcn.00435c44
test byte [ebp + 0x10], 0x20
jne 0x4359d9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
push 1
call fcn.00435b26
add esp, 0x10
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x40]
mov dword [ebp - 0x44], ebx
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
jmp 0x435a7c
call fcn.0040544b
cmp eax, dword [ebp - 0x40]
jne 0x435a15
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x435a15
mov eax, dword [ebp - 0x38]
shr eax, 0x10
mov ecx, 0x205
cmp cx, ax
je 0x435acf
call fcn.00414d84
cmp eax, dword [ebp - 0x40]
jne 0x435ab9
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x435ab9
mov dword [ebp - 0x24], 0x5eb080
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x24]
call fcn.0045e869
cmp eax, ebx
je 0x435a70
cmp dword [eax], 0x226
jne 0x435a70
push dword [eax + 0x14]
mov esi, dword [eax + 0x10]
push dword [eax + 0xc]
push dword [eax + 8]
push 1
call fcn.00435b26
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0045e784
push 1
push ebx
push ebx
push ebx
lea eax, [ebp - 0x44]
push eax
call edi
test eax, eax
jne 0x4359f1
push 0xff
push 0xffffffffffffffff
push ebx
push 0x639450
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, ebx
je 0x435aad
cmp eax, 0xffffffff
jne 0x435a7c
mov dword [0x639454], 2
jmp 0x435b20
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x435a7c
push 0x7d0
mov dword [0x639454], 2
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x435b20
push 2
pop eax
cmp dword [ebp + 8], eax
jne 0x435b14
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], eax
call fcn.00435c44
lea eax, [ebp - 0x28]
push eax
call fcn.00435b99
push dword [0x639450]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00599003
ret
Function at 0x435b26
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x18
call fcn.0058f82d
pop ecx
test eax, eax
je 0x435b97
mov ecx, dword [ebp + 0xc]
and dword [ebp - 4], 0
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x14], ecx
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push fcn.00435b99
push 0x200000
push 0
mov dword [eax], 1
mov dword [eax + 0xc], esi
call fcn.005905f0
add esp, 0x18
test eax, eax
je 0x435b81
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
jne 0x435b97
cmp dword [0x63a5e0], 0
jne 0x435b97
mov eax, dword [ebp - 4]
mov dword [0x63a5e0], eax
leave
ret
Function at 0x437727
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
lea ebp, [esp - 0x1070]
mov eax, 0x1070
call fcn.005a41d0
push 0xffffffffffffffff
push 0x5bbddf
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x61dc40]
xor eax, ebp
mov dword [ebp + 0x106c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x1078]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x18], eax
cmp byte [0x63fc54], bl
jne 0x437811
mov byte [0x63fc54], 1
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x331c]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
cmp eax, ebx
je 0x4377b2
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x5e7538
push eax
call dword [ecx]
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4377df
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x5e7518
push 0x5cd610
push eax
call dword [ecx + 0xc]
neg eax
sbb al, al
inc al
mov byte [0x63fc55], al
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x4377f0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x437800
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x437811
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x1068
lea eax, [ebp + 4]
push ebx
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp], ebx
call fcn.00596530
add esp, 0xc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
xor edx, edx
inc ecx
shr eax, 8
movzx edi, al
mov eax, dword [esi + 0x64ec]
cmp eax, ecx
sete dl
mov dword [ebp + 0x10], edx
cmp eax, ecx
je 0x43785d
cmp edi, ebx
jne 0x43785d
mov dword [ebp + 0x14], ebx
cmp dword [0x6b444c], ebx
jne 0x437860
mov dword [ebp + 0x14], ecx
cmp dword [ebp - 0x18], ebx
je 0x43787c
push dword [ebp - 0x18]
mov ecx, 0x824
push 0x5db9e0
lea edi, [ebp + 0x20]
call fcn.00405374
pop ecx
pop ecx
cmp dword [esi + 0x6550], ebx
jne 0x43789b
lea ecx, [esi + 0x12ac]
push ecx
call fcn.004e11e2
pop ecx
mov dword [ebp + 0x1068], ebx
test eax, eax
je 0x4378a5
mov dword [ebp + 0x1068], 1
lea eax, [ebp]
push eax
push dword [esi + 4]
mov ecx, esi
call fcn.0041226f
mov dword [ebp - 0x34], 0x5eb080
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 3
mov eax, dword [ebp + 0x18]
lea ecx, [ebp - 0x34]
call fcn.0045e869
cmp eax, ebx
je 0x4378ea
push dword [ebp + 0x1c]
lea edi, [ebp - 0x20]
push eax
call fcn.00425ee9
pop ecx
pop ecx
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x34]
call fcn.0045e784
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x106c]
xor ecx, ebp
call fcn.0058f3cf
add ebp, 0x1070
leave
ret 4