joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420808
Capabilities:
Parse url

Disassembly:
push ebp
sub esp, 0x70
lea ebp, [esp - 4]
mov eax, dword [0x47362c]
xor eax, ebp
mov dword [ebp + 0x70], eax
push 0x44
mov eax, 0x4527a9
call fcn.0043deaf
xor edi, edi
push 0x38
lea eax, [ebp - 0x4c]
push edi
push eax
mov esi, ecx
mov dword [ebp - 0x14], edi
call fcn.00437840
xor ebx, ebx
inc ebx
add esp, 0xc
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x3c], ebx
jb 0x420851
mov esi, dword [esi]
lea eax, [ebp - 0x50]
push eax
push edi
push edi
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x420869
xor al, al
jmp 0x420941
cmp dword [ebp - 0x44], 3
je 0x420875
cmp dword [ebp - 0x44], 4
jne 0x420862
push dword [ebp - 0x3c]
lea esi, [ebp + 0x54]
push dword [ebp - 0x40]
call fcn.0040b109
push str.sun.com
lea ecx, [ebp]
mov dword [ebp - 4], edi
call fcn.00405ba6
mov byte [ebp - 4], bl
lea edx, [ebp]
mov ecx, esi
mov dword [ebp - 0x14], ebx
call fcn.004143f2
test al, al
jne 0x4208fa
push str.java.com
lea ecx, [ebp + 0x1c]
call fcn.00405ba6
push 3
pop esi
mov dword [ebp - 4], 2
lea edx, [ebp + 0x1c]
lea ecx, [ebp + 0x54]
mov dword [ebp - 0x14], esi
call fcn.004143f2
test al, al
jne 0x4208fa
push str.oracle.com
lea ecx, [ebp + 0x38]
call fcn.00405ba6
mov dword [ebp - 4], esi
lea edx, [ebp + 0x38]
lea ecx, [ebp + 0x54]
mov dword [ebp - 0x14], 7
call fcn.004143f2
mov byte [ebp - 0xd], 0
test al, al
je 0x4208fd
mov byte [ebp - 0xd], bl
test byte [ebp - 0x14], 4
je 0x420911
and dword [ebp - 0x14], 0xfffffffb
push edi
push ebx
lea ecx, [ebp + 0x38]
call fcn.00405db8
test byte [ebp - 0x14], 2
je 0x420925
and dword [ebp - 0x14], 0xfffffffd
push edi
push ebx
lea ecx, [ebp + 0x1c]
call fcn.00405db8
test byte [ebp - 0x14], bl
je 0x420934
push edi
push ebx
lea ecx, [ebp]
call fcn.00405db8
push edi
push ebx
lea ecx, [ebp + 0x54]
call fcn.00405db8
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
call fcn.004363ed
add ebp, 0x74
leave
ret

Function at 0x420c0a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [eax + 0x14], 0x10
jb 0x420c12
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne al
ret

Function at 0x420c22
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [eax + 0x14], 0x10
jb 0x420c2a
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x420c3e
test al, 0x10
je 0x420c3e
xor eax, eax
inc eax
ret
xor eax, eax
ret
Function at 0x42207d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x455119
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x47362c]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push esi
push edi
mov eax, dword [0x47362c]
xor eax, esp
push eax
lea eax, [esp + 0x198]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [esp + 0x14], ecx
mov ecx, esi
lea ebx, [esp + 0xec]
call fcn.004212bf
xor edi, edi
mov dword [esp + 0x1a0], edi
cmp dword [esp + 0xfc], edi
je 0x422138
mov eax, ebx
mov ebx, dword [esp + 0x14]
push 1
push eax
lea edi, [esp + 0x148]
call fcn.00421571
mov byte [esp + 0x1a0], 1
push dword [ebp + 0xc]
lea ecx, [esp + 0x10c]
push ecx
mov ecx, eax
call fcn.0042207d
xor ebx, ebx
mov esi, edi
mov byte [esp + 0x1a0], bl
call fcn.004215f5
push ebx
push 1
lea ecx, [esp + 0x110]
call fcn.00405db8
push ebx
jmp 0x4222ba
cmp dword [esi + 0x14], 0x10
jb 0x422142
mov ecx, dword [esi]
jmp 0x422144
mov ecx, esi
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea edx, [ebp + 0xc]
push edx
push 4
push edi
push ecx
push eax
call ebx
mov dword [esp + 0x18], eax
cmp eax, edi
je 0x422236
push str.set_dword_value
lea ecx, [esp + 0x128]
call fcn.00405ba6
mov dword [esp + 0xe4], 0xf
mov dword [esp + 0xe0], edi
mov byte [esp + 0xd0], 0
push esi
lea eax, [esp + 0x128]
push eax
lea eax, [esp + 0x148]
push eax
push dword [esp + 0x20]
lea ecx, [esp + 0xe0]
mov byte [esp + 0x1b0], 3
call fcn.00422aa5
mov edi, eax
lea esi, [esp + 0x34]
mov byte [esp + 0x1a0], 4
call fcn.00418c95
push str.System_error
push dword [esp + 0x1c]
mov eax, esi
push eax
mov ecx, ebx
lea edi, [esp + 0x34]
mov byte [esp + 0x1ac], 5
call fcn.00425e12
lea ecx, [esp + 0x168]
mov byte [esp + 0x1a0], 6
push ecx
lea esi, [esp + 0x20]
mov ecx, eax
mov dword [esp + 0x20], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u102_6817.nc_install_src_windows_common_Registry.cpp
mov dword [esp + 0x24], str.Registry::setDword
mov dword [esp + 0x28], 0x178
call fcn.00419a1a
lea eax, [esp + 0x16c]
mov dword [esp], 0x467ffc
push eax
call fcn.0043da7f
cmp dword [0x4774c0], edi
jg 0x4222aa
mov eax, dword [esp + 0x14]
mov ecx, esi
lea esi, [esp + 0xd0]
call fcn.0042182d
lea ecx, [ebp + 0xc]
push ecx
push eax
lea eax, [esp + 0x12c]
push eax
mov byte [esp + 0x1ac], 7
call fcn.00422c32
add esp, 0xc
push str.Registry::setDword
push 0x17b
push str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u102_6817.nc_install_src_windows_common_Registry.cpp
push edi
mov edx, eax
mov ecx, 0x4774c0
mov byte [esp + 0x1b0], 8
call fcn.00412978
push edi
push 1
lea ecx, [esp + 0x12c]
call fcn.00405db8
push edi
push 1
mov ecx, esi
call fcn.00405db8
push edi
push 1
lea ecx, [esp + 0x110]
call fcn.00405db8
push edi
push 1
lea ecx, [esp + 0xf4]
call fcn.00405db8
mov ecx, dword [esp + 0x198]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x180]
xor ecx, esp
call fcn.004363ed
mov esp, ebp
pop ebp
ret 8
Function at 0x422929
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x47362c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, esi
lea ebx, [ebp - 0x3c]
call fcn.004212bf
xor ebx, ebx
cmp dword [ebp - 0x2c], ebx
je 0x422a08
mov ecx, dword [edi + 8]
mov eax, dword [edi]
push ebx
or ecx, 0x2001f
push ecx
lea ecx, [ebp - 0x3c]
push ecx
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00421390
mov esi, dword [ebp - 0x70]
add esp, 0x14
cmp esi, ebx
je 0x4229b8
cmp byte [ebp - 0x74], bl
je 0x42298f
push dword [ebp - 0x78]
mov byte [ebp - 0x74], bl
call fcn.0041ee03
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.00405db8
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.00405db8
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004363ed
leave
ret 8
push 0x476269
lea eax, [ebp - 0x20]
push eax
push ecx
push ecx
mov ecx, dword [ebp - 0x78]
mov eax, esp
mov dword [eax], ecx
mov cl, byte [ebp - 0x74]
mov dword [ebp - 0x68], esp
mov byte [eax + 4], cl
push edi
lea ecx, [ebp - 0x3c]
lea edi, [ebp - 0x64]
mov byte [ebp - 0x74], bl
call fcn.004214ee
mov ecx, eax
call fcn.00422929
lea esi, [ebp - 0x64]
mov edi, eax
call fcn.004215f5
cmp byte [ebp - 0x74], bl
je 0x422a04
push dword [ebp - 0x78]
mov byte [ebp - 0x74], bl
call fcn.0041ee03
pop ecx
mov esi, edi
jmp 0x42298f
cmp dword [esi + 0x14], 0x10
jb 0x422a12
mov ecx, dword [esi]
jmp 0x422a14
mov ecx, esi
mov eax, dword [edi]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [ebp - 0x68], eax
cmp eax, ebx
jne 0x422a9d
cmp dword [0x4774c0], ebx
jg 0x422a9d
lea eax, [ebp - 0x118]
push eax
call fcn.00409bf4
lea eax, [ebp - 0x118]
push str.Deleted__
push eax
call fcn.0040bad1
sub esp, 0x14
mov ecx, esi
mov esi, esp
mov eax, edi
mov dword [ebp - 0x7c], esp
call fcn.0042182d
lea esi, [ebp - 0x118]
call fcn.0040b7cc
mov esi, eax
push str.__value
push esi
call fcn.0040bad1
pop ecx
pop ecx
push esi
push 0x1c8
push ebx
mov ebx, str.Registry::deleteValue
mov edi, str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u102_6817.nc_install_src_windows_common_Registry.cpp
mov esi, 0x4774c0
call fcn.004078c1
lea eax, [ebp - 0x118]
call fcn.004078a7
xor ebx, ebx
mov esi, dword [ebp - 0x68]
jmp 0x42298f
Function at 0x4269da
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x120
mov eax, 0x454781
call fcn.0043df18
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x78], eax
mov eax, esi
call fcn.004269bc
mov edi, eax
test edi, edi
jne 0x426a92
push str.cannot_find_resource
lea ecx, [ebp - 0x30]
call fcn.00405ba6
and dword [ebp - 4], edi
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x30]
mov ecx, esi
call fcn.00426907
mov edi, eax
lea esi, [ebp - 0x12c]
mov byte [ebp - 4], 1
call fcn.00418c95
push str.System_error
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
mov eax, esi
push eax
lea edi, [ebp - 0x90]
call fcn.00425e12
mov byte [ebp - 4], 3
mov dword [ebp - 0x84], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u102_6817.nc_install_src_windows_common_Resources.cpp
mov dword [ebp - 0x80], str.Resource::getPtr
mov dword [ebp - 0x7c], 0x41
lea ecx, [ebp - 0x58]
push ecx
lea esi, [ebp - 0x84]
mov ecx, eax
call fcn.00419a1a
lea eax, [ebp - 0x58]
mov dword [esp], 0x467ffc
push eax
call fcn.0043da7f
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
push dword [esi + 0x40]
call ebx
test eax, eax
jne 0x426b16
push str.cannot_load_resource
lea ecx, [ebp - 0x30]
call fcn.00405ba6
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x30]
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.00426907
mov edi, eax
lea esi, [ebp - 0x12c]
mov byte [ebp - 4], 5
call fcn.00418c95
push str.System_error
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, esi
push eax
mov ecx, ebx
lea edi, [ebp - 0x90]
call fcn.00425e12
mov byte [ebp - 4], 7
mov dword [ebp - 0x84], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u102_6817.nc_install_src_windows_common_Resources.cpp
mov dword [ebp - 0x80], str.Resource::getPtr
mov dword [ebp - 0x7c], 0x46
jmp 0x426a71
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp dword [esi + 0x3c], 6
mov ebx, eax
jne 0x426b46
mov esi, dword [esi + 0x1c]
and esi, 0xf
jbe 0x426b37
dec esi
movzx ecx, word [eax]
lea eax, [eax + ecx*2 + 2]
jne 0x426b2d
movzx ecx, word [eax]
mov edx, dword [ebp - 0x78]
add ecx, ecx
mov dword [edx], ecx
lea ebx, [eax + 2]
jmp 0x426b55
push edi
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x78]
mov dword [ecx], eax
mov eax, ebx
call fcn.0043df9b
ret 4
Function at 0x42ba9f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4537f4
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x47362c]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x47362c]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], esi
cmp byte [ecx + 0x38], bl
je 0x42baff
push esi
mov ebx, ecx
call fcn.0042b7a2
mov eax, esi
jmp 0x42bcea
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
lea edx, [esp + 0x14]
mov dword [esp + 0xc0], ebx
call fcn.0042b8d9
test al, al
jne 0x42bbce
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
lea ebx, [esp + 0x58]
mov byte [esp + 0xc0], 1
call fcn.0042ec3f
push 0xc8
lea edx, [esp + 0x28]
mov ecx, eax
mov byte [esp + 0xc4], 2
call fcn.0042b8d9
movzx eax, al
push eax
mov al, 1
call fcn.0042bfa5
pop ecx
pop ecx
push 0
push 1
mov ecx, ebx
mov byte [esp + 0xc8], 1
call fcn.00405db8
push dword [esp + 0x34]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
push esi
push ebx
push dword [esp + 0x34]
lea ecx, [esp + 0x34]
call fcn.0042c017
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], esi
lea esi, [esp + 0x24]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], eax
mov byte [esp + 0xc0], 0
call fcn.004199a3
xor ebx, ebx
mov edi, dword [esp + 0x14]
mov esi, edi
cmp edi, dword [esp + 0x18]
je 0x42bc34
push 0x4625cc
call fcn.00415767
pop ecx
test al, al
jne 0x42bbf2
add esi, 0x1c
cmp esi, dword [esp + 0x18]
jne 0x42bbda
cmp dword [esp + 0x18], esi
je 0x42bc30
cmp edi, esi
je 0x42bc15
lea eax, [esi + 0x1c]
push eax
add esi, 0xffffffe4
push esi
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004199c5
jmp 0x42bbce
push 0x137
lea esi, [esp + 0x28]
call fcn.004257f3
push 0x46830c
mov eax, esi
push eax
call fcn.0043da7f
cmp edi, dword [esp + 0x18]
sete al
movzx eax, al
push eax
call fcn.0042bf7d
pop ecx
push dword [esp + 0x14]
lea esi, [esp + 0x40]
add edi, 0x1c
call fcn.00406f46
mov byte [esp + 0xc0], 4
jmp 0x42bc99
lea eax, [esp + 0x58]
push 0x462258
push eax
call fcn.00410c22
pop ecx
pop ecx
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x44]
mov byte [esp + 0xc8], 5
call fcn.004062a5
push ebx
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0xc8], 4
call fcn.00405db8
add edi, 0x1c
cmp edi, dword [esp + 0x18]
jne 0x42bc5b
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0042b759
push dword [esp + 0x38]
mov byte [esp + 0xc4], 6
lea ebx, [esp + 0x78]
mov byte [esp + 0xb0], 1
call fcn.0042b7a2
call fcn.00428013
push 0
push 1
lea ecx, [esp + 0x44]
call fcn.00405db8
lea esi, [esp + 0x14]
call fcn.004199a3
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.004363ed
mov esp, ebp
pop ebp
ret
Function at 0x42c437
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x451256
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x47362c]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x47362c]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
push ecx
lea esi, [esp + 0x24]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
call fcn.00406f46
mov byte [esp + 0x3c], bl
mov dword [esp + 0x70], ebx
jmp 0x42c4e4
lea edx, [esp + 0x20]
add edi, 0xfffffffc
mov ecx, dword [edi]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x20], edi
call dword [eax + 4]
mov esi, eax
lea edi, [esp + 0x20]
mov byte [esp + 0x70], 1
call fcn.00405cd5
mov al, byte [esi + 0x1c]
push ebx
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x44], al
mov byte [esp + 0x78], bl
call fcn.00405db8
cmp byte [esp + 0x3c], bl
jne 0x42c4ea
mov edi, dword [esp + 0x18]
cmp edi, dword [esp + 0x14]
jne 0x42c49b
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
call fcn.00406f46
push ebx
push 1
lea ecx, [esp + 0x28]
call fcn.00405db8
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.004363ed
mov esp, ebp
pop ebp
ret 8
Function at 0x42f9c5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x452b7a
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x47362c]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor ebx, ebx
lea esi, [esp + 0x14]
mov dword [esp + 0x14], ebx
call fcn.0042bd51
mov cl, byte [eax + 4]
mov edi, dword [eax]
mov byte [esp + 0x10], cl
mov dword [esp + 0x1c], edi
mov byte [eax + 4], bl
mov dword [esp + 0x2c], edi
mov byte [esp + 0x30], cl
mov dword [esp + 0x50], ebx
cmp byte [esp + 0x18], bl
je 0x42fa30
push dword [esp + 0x14]
mov byte [esp + 0x1c], bl
call fcn.00434d6e
pop ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov esi, 0x100001
lea eax, [esp + 0x34]
mov byte [esp + 0x50], 1
call fcn.0041408a
push edi
mov edi, dword [esp + 0x38]
dec esi
push esi
push 1
push edi
call fcn.0043d784
add esp, 0x10
mov dword [esp + 0x14], eax
cmp eax, esi
jbe 0x42fa84
push 0xc8
lea esi, [esp + 0x20]
call fcn.004257f3
push 0x46830c
mov eax, esi
push eax
call fcn.0043da7f
push dword [esp + 0x1c]
call fcn.0043d512
pop ecx
test eax, eax
je 0x42faa9
push 0x133
lea esi, [esp + 0x20]
call fcn.004257f3
push 0x46830c
mov eax, esi
jmp 0x42fa7e
push dword [esp + 0x1c]
call fcn.0043d4ea
pop ecx
test eax, eax
jne 0x42face
push 0x13b
lea esi, [esp + 0x20]
call fcn.004257f3
push 0x46830c
mov eax, esi
jmp 0x42fa7e
mov esi, dword [esp + 0x14]
mov ecx, esi
mov eax, edi
call fcn.0042f991
lea eax, [edi + esi]
mov esi, dword [ebp + 8]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp edi, eax
je 0x42fafc
sub eax, edi
push eax
push edi
mov ecx, esi
call fcn.00405e1b
cmp edi, ebx
je 0x42fb07
push edi
call fcn.004363e2
pop ecx
cmp byte [esp + 0x10], bl
je 0x42fb17
push dword [esp + 0x1c]
call fcn.00434d6e
pop ecx
mov eax, esi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42fd6f
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x240
lea ebp, [esp - 4]
mov eax, dword [0x47362c]
xor eax, ebp
mov dword [ebp + 0x240], eax
push 0x14
mov eax, 0x4523d7
call fcn.0043deaf
xor esi, esi
lea eax, [ebp + 0x38]
push eax
push esi
push esi
push 0x23
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, esi
je 0x42fdc5
push 0xc8
lea esi, [ebp - 0x20]
call fcn.004257f3
push 0x46830c
mov eax, esi
push eax
call fcn.0043da7f
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp]
call fcn.00412f38
push 0x463ed8
push eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 4], esi
call fcn.0042576a
push ebx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0042e5cf
add esp, 0xc
push 1
xor edi, edi
lea esi, [ebp + 0x1c]
call fcn.0041300a
push 1
lea esi, [ebp]
call fcn.0041300a
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x240]
xor ecx, ebp
call fcn.004363ed
add ebp, 0x244
leave
ret
Function at 0x43106e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, eax
xor ecx, ecx
cmp dword [ebp + 0x14], ecx
jl 0x4310ee
jg 0x43109a
cmp esi, ecx
jbe 0x4310ee
cmp dword [ebp + 0x14], ecx
jg 0x43109a
jl 0x431096
cmp esi, 0x7fffffff
jae 0x43109a
mov eax, esi
jmp 0x43109f
mov eax, 0x7fffffff
cmp dword [ebp + 8], 0xffffffff
mov dword [ebp - 4], ecx
je 0x4310df
push ecx
lea ecx, [ebp - 4]
push ecx
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4310c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x4310e9
jmp 0x4310df
mov eax, dword [ebp - 4]
test eax, eax
jle 0x4310da
add ebx, eax
cdq
sub esi, eax
sbb dword [ebp + 0x14], edx
jmp 0x43107a
cmp eax, 0xffffffff
jne 0x4310e9
call fcn.0043c6b3
cmp dword [eax], 4
je 0x43107a
or eax, 0xffffffff
jmp 0x4310f0
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x4363ed
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47362c]
jne 0x4363f7
repz ret
jmp fcn.00440912

Function at 0x44c23c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x47362c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00442f12
and dword [ebp - 0x14], 0
cmp dword [0x4771b8], 0
mov dword [ebp - 0x18], eax
jne 0x44c2ef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x44c397
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x44c397
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4771b8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4771bc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4771c0], eax
call edi
push eax
call esi
mov dword [0x4771c8], eax
test eax, eax
je 0x44c2ef
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4771c4], eax
mov eax, dword [0x4771c4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x44c348
cmp dword [0x4771c8], ecx
je 0x44c348
push eax
call esi
push dword [0x4771c8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x44c348
test ebx, ebx
je 0x44c348
call edi
test eax, eax
je 0x44c33f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x44c33f
test byte [ebp - 8], 1
jne 0x44c348
or dword [ebp + 0x10], 0x200000
jmp 0x44c37b
mov eax, dword [0x4771bc]
cmp eax, dword [ebp - 0x18]
je 0x44c37b
push eax
call esi
test eax, eax
je 0x44c37b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x44c37b
mov eax, dword [0x4771c0]
cmp eax, dword [ebp - 0x18]
je 0x44c37b
push eax
call esi
test eax, eax
je 0x44c37b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4771b8]
call esi
test eax, eax
je 0x44c397
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x44c399
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004363ed
leave
ret

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x1bf6045e
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x27e14c5
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4b7334
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x401000
call 0x4b7334
lcall 0x5de5, 0x8b10c483
jmp loc.00a97040