joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10036690
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push 0x100c0738
push edi
call fcn.100b08f7
add esp, 8
mov dword [esi + 0x44], eax
test eax, eax
jne 0x100366e3
push edi
push str.AVScanExe
push str.__s__LoadVLB__s_fail__not_found.
push 0x68
push str.D:_srcKVCloud_CmakeKVPAV2017AVE_KVEAVMakeLibFTLibCheck.cpp
push str.FTRecLib::InitLoadLib
push eax
push str.avsdk
call dword [sym.imp.avutil.dll_void___cdecl_avutil_ffl_log_char_const___int__char_const___char_const___unsigned_int__char_const__]
add esp, 0x20
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push ebx
push 2
push 0
push eax
call fcn.100b0bc8
push dword [esi + 0x44]
call fcn.100b1447
push 0
push 0
push dword [esi + 0x44]
mov ebx, eax
mov dword [ebp - 8], ebx
call fcn.100b0bc8
push dword [esi + 0x44]
push 0x40
push 1
push esi
call fcn.100b0dbf
mov dl, byte [esi + 0x2f]
add esp, 0x2c
movzx ecx, dl
inc ecx
shl ecx, 0xc
mov dword [ebp + 8], ecx
cmp eax, 0x40
jne 0x10036819
cmp dword [esi], 0x424c764b
jne 0x10036819
cmp dword [esi + 4], 0
je 0x10036819
lea eax, [ecx + 0x40]
cmp ebx, eax
jb 0x10036819
test dl, dl
jne 0x10036762
movzx eax, word [esi + 0x2c]
mov dl, 3
mov word [esi + 0x3e], ax
mov byte [esi + 0x2f], 3
jmp 0x10036766
movzx eax, word [esi + 0x3e]
movzx ebx, dl
inc ebx
mov dword [ebp - 4], eax
shl ebx, 0xc
push ebx
call fcn.100ad573
mov ecx, eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esi + 0x40], ecx
cmp ebx, eax
jbe 0x10036798
sub ebx, eax
add eax, ecx
push ebx
push 0
push eax
call fcn.100ae310
mov eax, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x10036800
push dword [esi + 0x44]
push eax
push 1
push ecx
call fcn.100b0dbf
add esp, 0x10
cmp eax, dword [ebp + 8]
jne 0x10036800
mov eax, dword [ebp - 4]
movzx edx, ax
mov eax, dword [esi + 0x40]
add edx, edx
mov ecx, dword [eax + edx*8 + 8]
add ecx, dword [eax + edx*8 + 4]
cmp dword [ebp - 8], ecx
jb 0x10036800
push edi
push str.AVScanExe
push str.__s__LoadVLB__s_OK.
push 0x90
push str.D:_srcKVCloud_CmakeKVPAV2017AVE_KVEAVMakeLibFTLibCheck.cpp
push str.FTRecLib::InitLoadLib
push 0
push str.avsdk
call dword [sym.imp.avutil.dll_void___cdecl_avutil_ffl_log_char_const___int__char_const___char_const___unsigned_int__char_const__]
add esp, 0x20
xor eax, eax
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
call fcn.10036610
push edi
push str.AVScanExe
push str.__s__LoadVLB__s_fail_2__Bad_file.
push 0x8d
jmp 0x1003682d
mov ecx, esi
call fcn.10036610
push edi
push str.AVScanExe
push str.__s_LoadVLB__s_fail__Bad_file._
push 0x76
push str.D:_srcKVCloud_CmakeKVPAV2017AVE_KVEAVMakeLibFTLibCheck.cpp
push str.FTRecLib::InitLoadLib
push 0
push str.avsdk
call dword [sym.imp.avutil.dll_void___cdecl_avutil_ffl_log_char_const___int__char_const___char_const___unsigned_int__char_const__]
add esp, 0x20
mov eax, 0xfffffffe
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10036860
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
call fcn.10036690
test eax, eax
je 0x1003687a
or eax, 0xffffffff
pop esi
pop ebp
ret 4
push dword [esi + 0xc]
call fcn.100ad573
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x40]
push 0
push dword [eax + 4]
push dword [esi + 0x44]
call fcn.100b0bc8
push dword [esi + 0x44]
push dword [esi + 0xc]
push 1
push dword [esi + 0x48]
call fcn.100b0dbf
push dword [esi + 0x44]
call fcn.100b07b6
add esp, 0x24
mov dword [esi + 0x44], 0
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x10037450
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x1017208c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
call dword [sym.imp.avutil.dll_void____stdcall_AVCreateLock_void_]
push 0x104
mov dword [0x10172b24], eax
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.100ae310
push 0x208
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.100ae310
push 0x5c
push edi
call fcn.100ae820
add esp, 0x20
test eax, eax
jne 0x100374bc
push 0x2f
push edi
call fcn.100ae820
add esp, 8
test eax, eax
mov eax, 0x100c0910
je 0x100374c1
mov eax, 0x100c090c
push str.FTSignBuild_0001.vlb
push eax
push edi
push str._s_s_s
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.10036a90
lea esi, [ebp - 0x108]
add esp, 0x18
lea ecx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x100374f0
sub esi, ecx
call dword [sym.imp.avutil.dll_class_IOSBase____stdcall_EnvGet_void_]
push 0x104
lea edx, [ebp - 0x310]
push edx
mov ecx, dword [eax]
lea edx, [ebp - 0x108]
push esi
push edx
push 0
push 0
push eax
call dword [ecx + 0x20]
lea eax, [ebp - 0x108]
push eax
call fcn.100364f0
add esp, 4
mov dword [0x10173d4c], 1
mov ecx, 0x10174128
mov dword [0x10173d50], 1
mov dword [0x10173e28], 1
mov dword [0x10173e2c], 1
push 1
push 0x10173d28
push edi
mov dword [0x10173e30], 1
mov dword [0x10173e34], 1
mov dword [0x10173e38], 1
mov dword [0x10173e3c], 1
mov dword [0x10173e4c], 1
mov dword [0x10173e68], 1
mov dword [0x10173e6c], 1
mov dword [0x10173e70], 1
mov dword [0x10173e74], 1
mov dword [0x10173e78], 1
mov dword [0x10173e7c], 1
mov dword [0x10173e8c], 1
mov dword [0x10173ea8], 1
mov dword [0x10173eac], 1
mov dword [0x10173eb0], 1
mov dword [0x10173eb4], 1
mov dword [0x10173ee4], 1
mov dword [0x10173d3c], 1
mov dword [0x10173d44], 1
mov dword [0x10173d48], 1
mov dword [0x10173d88], 1
mov dword [0x10173d64], 1
mov dword [0x10173d68], 1
mov dword [0x10173d30], 1
call fcn.10036930
test eax, eax
jne 0x100376fa
mov edx, 0x100e586e
lea esi, [eax + 0xc]
xor ecx, ecx
cmp byte [edx], cl
jbe 0x1003767d
nop dword [eax]
xor byte [edx + ecx + 1], 0x11
inc ecx
movzx eax, byte [edx]
cmp ecx, eax
jl 0x10037670
add edx, 0x73
sub esi, 1
jne 0x10037666
mov esi, 0x100e5ec6
mov edi, 0x505
nop
xor edx, edx
cmp byte [esi], dl
jbe 0x100376ae
lea ecx, [esi + 1]
nop dword [eax]
xor byte [ecx], 0x11
lea ecx, [ecx + 1]
movzx eax, byte [esi]
inc edx
cmp edx, eax
jl 0x100376a0
add esi, 0x73
sub edi, 1
jne 0x10037690
mov esi, 0x1010a006
mov edi, 0x9f
xor edx, edx
cmp byte [esi], dl
jbe 0x100376de
lea eax, [esi + 1]
nop dword [eax]
xor byte [eax], 0x11
lea eax, [eax + 1]
movzx ecx, byte [esi]
inc edx
cmp edx, ecx
jl 0x100376d0
add esi, 0x73
sub edi, 1
jne 0x100376c0
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ad37d
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
xor ecx, ebp
pop esi
call fcn.100ad37d
mov esp, ebp
pop ebp
ret 4
Function at 0x100b6017
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100b5e96

Function at 0x4a3760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x85000]
push edi
or ebp, 0xffffffff
jmp 0x4a3782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a3789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a3778
mov eax, 1
add ebx, ebx
jne 0x4a379b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a37ac
jne 0x4a37cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a37cb
dec eax
add ebx, ebx
jne 0x4a37b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4a3790
add ebx, ebx
jne 0x4a37c7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4a381d
xor ecx, ecx
sub eax, 3
jb 0x4a37e3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a3852
sar eax, 1
mov ebp, eax
jmp 0x4a37ee
add ebx, ebx
jne 0x4a37ee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a37bc
inc ecx
add ebx, ebx
jne 0x4a37fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a37bc
add ebx, ebx
jne 0x4a3809
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a37fe
jne 0x4a381a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a37fe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a383c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a382e
jmp 0x4a377e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a383c
add edi, ecx
jmp 0x4a377e
pop esi
mov edi, esi
mov ecx, 0x26a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a385a
cmp byte [edi], 8
jne 0x4a385a
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 0x4a385f
lea edi, [esi + 0xa1000]
mov eax, dword [edi]
or eax, eax
je 0x4a38d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa8bb8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa8bf4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a388c
mov ecx, edi
jns 0x4a38bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa8bf8]
or eax, eax
je 0x4a38d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4a38a9
call dword [esi + 0xa8c08]
popal
jmp 0x402584
Function at 0x4018d0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call sym.___acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call sym.___acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401930
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x405058]
test esi, esi
jle 0x401a50
mov eax, dword [0x40505c]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x401964
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x4019e7
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x401950
mov dword [esp], ebx
call sym.___mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x401a77
mov eax, dword [0x40505c]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call sym.__GetPEImageBase
mov edx, dword [0x40505c]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401a57
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x4019e0
lea edx, [eax - 0x40]
and edx, 0xffffffbf
jne 0x4019f0
add dword [0x405058], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
add ebx, dword [0x40505c]
mov edx, dword [esp + 0x14]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x4019e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call sym.___report_error
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x40196e
mov eax, dword [0x40505c]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call sym.___report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call sym.___report_error
lea esi, [esi]
nop
Function at 0x401f90
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x405074
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x40506c]
sub esp, 4
test ebx, ebx
je 0x401fe5
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
mov esi, eax
sub esp, 4
call edi
test esi, esi
je 0x401fde
test eax, eax
jne 0x401fde
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401fc0
mov dword [esp], 0x405074
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x402320
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x402345
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x402350
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x402345
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test si, si
je 0x402398
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x40238e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x40239a
add ecx, 1
add eax, 0x28
cmp esi, ecx
jne 0x402380
xor eax, eax
pop ebx
pop esi
ret
Function at 0x4df970
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x47a000
lea edi, [esi - 0x89000]
push edi
jmp 0x4df98a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4df991
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4df980
mov eax, 1
add ebx, ebx
jne 0x4df9a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4df9b4
jne 0x4df9d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4df9d3
dec eax
add ebx, ebx
jne 0x4df9c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4df998
add ebx, ebx
jne 0x4df9cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4dfa25
xor ecx, ecx
sub eax, 3
jb 0x4df9eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4dfa5a
sar eax, 1
mov ebp, eax
jmp 0x4df9f6
add ebx, ebx
jne 0x4df9f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4df9c4
inc ecx
add ebx, ebx
jne 0x4dfa04
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4df9c4
add ebx, ebx
jne 0x4dfa11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4dfa06
jne 0x4dfa22
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4dfa06
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4dfa44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4dfa36
jmp 0x4df986
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4dfa44
add edi, ecx
jmp 0x4df986
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4dfa62
cmp byte [edi], 0x11
jne 0x4dfa62
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 0x4dfa67
lea edi, [esi + 0xd8000]
mov eax, dword [edi]
or eax, eax
je 0x4dfadf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe5f30]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe60ac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4dfa94
mov ecx, edi
jns 0x4dfac3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xe60b0]
or eax, eax
je 0x4dfad9
mov dword [ebx], eax
add ebx, 4
jmp 0x4dfab1
call dword [esi + 0xe60c0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4dfb10
cmp al, 0xef
ja 0x4dfb03
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4dfae5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4dfaf2
mov ebp, dword [esi + 0xe60b4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x4dfb44
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x40d2db
Capabilities:
Get common file path
Parse url

Disassembly:
push ebp
lea ebp, [esp - 0x5cc]
sub esp, 0x64c
mov eax, dword [0x47162c]
xor eax, ebp
mov dword [ebp + 0x5c8], eax
mov eax, dword [ebp + 0x5d4]
push ebx
push esi
push edi
push 0x3c
pop edi
xor ebx, ebx
push edi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x80]
push ebx
push eax
mov esi, ecx
mov byte [ebp + 0x3c4], bl
call fcn.004360a0
lea eax, [ebp - 0x3c]
add esp, 0xc
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x80]
push eax
push ebx
push esi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x50], 0x400
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov edi, 0x104
cmp eax, ebx
je 0x40d383
push pe_nt_image_headers32
lea eax, [ebp + 0x3c4]
push eax
push edi
lea eax, [ebp + 0x4c4]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.00439206
lea eax, [ebp + 0x4c4]
push 0x45ed44
push eax
call fcn.00435be0
add esp, 0x2c
test eax, eax
je 0x40d3cc
mov eax, esi
mov dword [ebp - 0x40], ebx
cmp byte [esi], bl
je 0x40d3b4
mov cl, byte [eax]
cmp cl, 0x20
je 0x40d398
cmp cl, 9
jne 0x40d3a1
push eax
call dword [sym.imp.USER32.dll_CharNextA]
jmp 0x40d38c
mov ecx, dword [ebp - 0x40]
movsx edx, byte [eax]
imul ecx, ecx, 0x1f
add ecx, edx
inc eax
mov dword [ebp - 0x40], ecx
cmp byte [eax], bl
jne 0x40d38c
push dword [ebp - 0x40]
lea eax, [ebp + 0x4c4]
push str.jupdate__x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push dword [ebp - 0x44]
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp + 0x4c4]
push eax
push dword [ebp - 0x44]
call esi
lea eax, [ebp + 0x3c4]
push eax
push dword [ebp - 0x44]
call esi
mov ecx, dword [ebp + 0x5c8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434c4e
add ebp, 0x5cc
leave
ret
Function at 0x410b07
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x394]
sub esp, 0x414
mov eax, dword [0x47162c]
xor eax, ebp
mov dword [ebp + 0x390], eax
mov eax, dword [ebp + 0x39c]
push esi
push edi
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x7c]
push eax
push 1
push 0
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push 0x80000002
mov dword [ebp - 0x78], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x410be9
mov byte [ebp - 0x70], al
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push str.TransferJobID
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x78], 0
jbe 0x410be9
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x70]
push eax
call esi
test eax, eax
je 0x410be9
lea eax, [ebp - 0x70]
push eax
call esi
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x410ba7
xor eax, eax
jmp 0x410bbd
lea eax, [edi + edi]
call fcn.00449670
mov esi, esp
push 3
push edi
lea eax, [ebp - 0x70]
push eax
call fcn.00401098
push dword [ebp - 0x74]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
push 0x10
push 0x457598
push dword [ebp - 0x74]
call fcn.004368f8
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
jmp 0x410bee
mov eax, 0x80004005
lea esp, [ebp - 0x88]
pop edi
pop esi
mov ecx, dword [ebp + 0x390]
xor ecx, ebp
call fcn.00434c4e
add ebp, 0x394
leave
ret

Function at 0x4120fa
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x60
mov eax, 0x44fe01
call fcn.0043c7da
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x5c], eax
xor eax, eax
dec ecx
push 4
neg ecx
sbb ecx, ecx
mov esi, edx
pop edx
and ecx, 0xfffffffc
mov dword [ebp - 0x54], ebx
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
add ecx, edx
lea eax, [ebp - 0x54]
push eax
or ecx, 1
push ecx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x60], edx
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
jne 0x412187
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x30]
call fcn.00412094
push eax
lea eax, [ebp - 0x4c]
push str.encryption_failed__sysError
push eax
mov dword [ebp - 4], ebx
call fcn.00406055
add esp, 0x14
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.0040c515
push 0x466b00
mov eax, esi
push eax
call fcn.0043c341
mov edi, dword [ebp - 0x58]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov esi, dword [ebp - 0x54]
mov eax, edi
call fcn.0040d4f9
push dword [ebp - 0x54]
mov eax, dword [edi]
push dword [ebp - 0x50]
push eax
call fcn.00434c60
add esp, 0xc
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
call fcn.0043c85d
ret
Function at 0x4121be
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x60
mov eax, 0x44fe01
call fcn.0043c7da
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x54], ebx
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
push eax
push 1
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x60]
mov esi, edx
push eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x60], ecx
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x41223c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x30]
call fcn.00412094
push eax
lea eax, [ebp - 0x4c]
push str.decryption_failed__sysError
push eax
mov dword [ebp - 4], ebx
call fcn.00406055
add esp, 0x14
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.0040c515
push 0x466b00
mov eax, esi
push eax
call fcn.0043c341
mov edi, dword [ebp - 0x58]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov esi, dword [ebp - 0x54]
mov eax, edi
call fcn.0040d4f9
push dword [ebp - 0x54]
mov eax, dword [edi]
push dword [ebp - 0x50]
push eax
call fcn.00434c60
add esp, 0xc
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
call fcn.0043c85d
ret

Function at 0x4122e5
Capabilities:
Encode data using base64 via winapi

Disassembly:
push 0x6c
mov eax, 0x44fdcc
call fcn.0043c7da
mov eax, dword [ebp + 8]
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], ecx
cmp dword [ebp + 0xc], ecx
jne 0x412314
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ecx
mov byte [edi], cl
jmp 0x41240d
mov esi, dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
lea edx, [ebp - 0x68]
push edx
push ecx
mov ebx, 0x40000001
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x68], ecx
push eax
call esi
test eax, eax
jne 0x412372
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
lea esi, [ebp - 0x64]
call fcn.00412094
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x48]
push str.binary2string__phase1__failed__sysError
push eax
call fcn.00406055
add esp, 0x14
mov byte [ebp - 4], 1
lea esi, [ebp - 0x78]
call fcn.0040c515
push 0x466b00
mov eax, esi
push eax
call fcn.0043c341
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x2c]
call fcn.00412690
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x41239f
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x68]
push ecx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x6c]
call esi
test eax, eax
jne 0x4123e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
lea esi, [ebp - 0x48]
call fcn.00412094
push eax
lea eax, [ebp - 0x64]
push str.binary2string__phase2__failed__sysError
push eax
mov byte [ebp - 4], 3
call fcn.00406055
add esp, 0x14
mov byte [ebp - 4], 4
jmp 0x41235d
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x2c]
call fcn.00412690
and dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea esi, [ebp - 0x2c]
mov byte [edi], 0
call fcn.00405ca7
push 0
push 1
mov ecx, esi
call fcn.00405e00
mov eax, edi
call fcn.0043c85d
ret