joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433d60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67993c
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x76c12c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov dword [esi + 4], 0x70f100
mov dword [esi + 0x2c], vtable.CefBase.0
mov dword [esp + 0x18], ecx
mov eax, dword [esi + 4]
mov dword [esi], vtable.CefTask.0
mov edx, dword [eax + 4]
mov dword [esp + 0xc], 1
mov dword [edx + esi + 4], vtable.CefTask.1.0
mov dword [esp + 0x18], ecx
mov eax, dword [esi + 4]
mov dword [esi], vtable.._AV__CefRunnableMethod_VClientDownloadHandler__P81_AEXXZUTuple0____.0
mov edx, dword [eax + 4]
mov dword [edx + esi + 4], vtable.._AV__CefRunnableMethod_VClientDownloadHandler__P81_AEXXZUTuple0____.1.0
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea edx, [eax - 0x28]
mov dword [eax + esi], edx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x30]
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], edx
mov dword [esi + 0x20], ecx
mov edi, dword [esi + 8]
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + edi + 4]
mov eax, dword [edx]
lea ecx, [ecx + edi + 4]
call eax
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 4]
mov eax, dword [edx + edi + 4]
lea ecx, [edx + edi + 4]
mov edx, dword [eax + 4]
call edx
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + edi + 4]
mov eax, dword [edx]
lea ecx, [ecx + edi + 4]
call eax
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x14

Function at 0x43a220
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6796e3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x76c12c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0
cmp dword [esi + 0x30], 8
jb 0x43a262
mov eax, dword [esi + 0x1c]
push eax
call fcn.0058d051
add esp, 4
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], 0
xor eax, eax
mov word [esi + 0x1c], ax
mov dword [esp + 0x14], 0xffffffff
cmp dword [esi + 0x14], 8
jb 0x43a28f
mov ecx, dword [esi]
push ecx
call fcn.0058d051
add esp, 4
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], dx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4403d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x6853af
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x76c12c]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov eax, dword [0x76c12c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0xc], ebx
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00404c90
mov dword [esp + 0x38], 1
lea eax, [esp + 0x10]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.0041b440
mov byte [esp + 0x38], 2
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx]
mov dword [esi + 0x1c], eax
cmp eax, ebx
je 0x440470
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov edx, dword [ecx + eax + 4]
lea eax, [ecx + eax + 4]
mov ecx, eax
mov eax, dword [edx]
call eax
mov byte [esp + 0x38], 1
mov dword [esp + 8], 1
mov byte [esp + 0x38], bl
cmp dword [esp + 0x24], 0x10
jb 0x440495
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0058d051
add esp, 4
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0058cf08
add esp, 0x34
ret

Function at 0x4468c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x685039
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x76c12c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ebx
mov esi, dword [esp + 0x28]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
mov dword [esp + 0x20], ebx
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x10]
mov eax, ebp
mov dword [esp + 0x14], 1
lea edi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x446920
sub eax, edi
mov edi, dword [esi + 0x10]
sar eax, 1
add eax, edx
cmp edi, eax
ja 0x446960
cmp dword [esi + 0x14], eax
je 0x446960
push 1
push eax
mov ecx, esi
call fcn.00401df0
test al, al
je 0x446960
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], edi
jb 0x446958
mov eax, dword [esi]
jmp 0x44695a
mov eax, esi
xor edx, edx
mov word [eax + edi*2], dx
mov eax, dword [esp + 0x2c]
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.004013e0
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x446974
sub eax, edx
sar eax, 1
push eax
push ebp
mov ecx, esi
call fcn.00401290
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x45ac90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67bafb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x76c12c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 1
cmp dword [esi + 0x30], 0x10
jb 0x45acd2
mov eax, dword [esi + 0x1c]
push eax
call fcn.0058d051
add esp, 4
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], 0
mov byte [esi + 0x1c], 0
mov dword [esp + 0x14], 0xffffffff
cmp dword [esi + 0x14], 0x10
jb 0x45acfd
mov eax, dword [esi]
push eax
call fcn.0058d051
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x461c20
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x68aa9e
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x76c12c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
mov eax, 7
xor ebx, ebx
xor ecx, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], ebx
mov word [esi], cx
mov dword [esp + 0x1c], ebx
xor edx, edx
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], ebx
mov word [esi + 0x1c], dx
mov byte [esp + 0x1c], 1
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], ebx
mov word [esi + 0x38], cx
mov byte [esp + 0x1c], 2
mov dword [esi + 0x68], eax
mov dword [esi + 0x64], ebx
mov word [esi + 0x54], dx
mov byte [esp + 0x1c], 3
mov dword [esi + 0x84], eax
mov dword [esi + 0x80], ebx
mov word [esi + 0x70], cx
mov byte [esp + 0x1c], 4
mov dword [esi + 0xa0], eax
mov dword [esi + 0x9c], ebx
mov word [esi + 0x8c], dx
mov byte [esp + 0x1c], 5
mov dword [esi + 0xbc], eax
xor eax, eax
mov dword [esi + 0xb8], ebx
mov word [esi + 0xa8], ax
mov byte [esp + 0x1c], 6
lea ecx, [esi + 0xc4]
call fcn.00461b20
mov byte [esp + 0x1c], 7
push ebx
push 0x70c3cc
mov ecx, esi
call fcn.00401f00
push ebx
push 0x70c3cc
lea ecx, [esi + 0x1c]
call fcn.00401f00
push ebx
push 0x70c3cc
lea ecx, [esi + 0x54]
call fcn.00401f00
push ebx
push 0x70c3cc
lea ecx, [esi + 0x70]
call fcn.00401f00
push ebx
push 0x70c3cc
lea ecx, [esi + 0x8c]
call fcn.00401f00
push ebx
push 0x70c3cc
lea ecx, [esi + 0xa8]
call fcn.00401f00
mov dword [esi + 0xf4], ebx
mov word [esi + 0xf0], bx
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x46fad0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67b571
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x76c12c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor ebx, ebx
push 1
mov dword [esi], ebx
call fcn.00464990
add esp, 4
push eax
lea ecx, [ebp - 0x18]
mov dword [esi], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.00464b00
mov eax, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], 2
lea edi, [esi + 0x18]
push 1
mov dword [ebp - 0x14], edi
mov dword [edi], ebx
call fcn.00464990
add esp, 4
push eax
lea ecx, [ebp - 0x20]
mov dword [edi], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.00464b00
mov ecx, dword [edi]
mov dword [ecx], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 4
call fcn.00409870
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 5
call fcn.00409870
mov byte [ebp - 4], 6
mov word [esi + 0x7c], 1
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x479570
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67420b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x76c12c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.005bf91e
push 4
mov dword [ebp - 4], 0
call fcn.0058d3f0
mov edi, eax
add esp, 4
test edi, edi
je 0x4795d4
call fcn.005bfeda
mov dword [edi], eax
call fcn.005bfc1b
mov ecx, eax
call fcn.00436010
jmp 0x4795d6
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x497fd0
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x76c12c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xd0], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
movzx edx, ax
push 0x59
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
sub esp, 0x1c
lea eax, [ebp - 0xcc]
mov ecx, esp
mov dword [ebp - 0xd0], esp
push eax
call fcn.00402050
push esi
call fcn.00560f20
mov ecx, dword [ebp - 4]
add esp, 0x20
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0058cf08
mov esp, ebp
pop ebp
ret 4
Function at 0x49a680
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67b048
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x76c12c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004316f0
xor ecx, ecx
mov dword [ebp - 4], ecx
lea edx, [esi + 0x18]
mov dword [esi + 0x20], edx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [esi + 0x50], cl
mov byte [esi + 0x4a], cl
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea edx, [esi + 0x28]
mov dword [esi + 0x30], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
mov dword [eax], ecx
mov edx, dword [esi + 0x34]
mov dword [edx], ecx
mov eax, dword [esi + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 0x20]
mov dword [edx], ecx
mov eax, dword [esi + 0x30]
mov edx, dword [ebp + 8]
mov dword [eax], ecx
mov dword [esi + 0x54], edx
mov eax, dword [0x7772b8]
mov dword [esi + 0x4c], eax
mov dword [esi + 0x44], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x49a950
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67f1d8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x76c12c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x49aa98
cmp byte [edi + 0x4a], bl
je 0x49aa98
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffff
call edx
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x49aa85
mov ecx, 0xf
mov dword [ebp - 0x18], ecx
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x49a9d3
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x49a9eb
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
mov edx, dword [esi + 0x18]
push eax
lea eax, [edi + 0x4c]
push eax
call edx
sub eax, 0
je 0x49aa1b
dec eax
je 0x49aa1f
sub eax, 2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
jne 0x49aa80
jmp 0x49aa93
mov byte [edi + 0x4a], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x49aa2f
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x49aa58
cmp ebx, 0x10
jae 0x49aa3e
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.0058ed44
add esp, 0x10
cmp esi, eax
jne 0x49aa76
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x4a], 0
je 0x49aa89
test esi, esi
jne 0x49a9df
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00432a80
jmp 0x49a9d9
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00404b20
xor al, al
jmp 0x49aa9a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00404b20
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058cf08
mov esp, ebp
pop ebp
ret
Function at 0x49bea0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x683b68
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x76c12c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push eax
movzx eax, word [ebp + 0xc]
mov esi, ecx
mov ecx, dword [esi + 4]
push eax
push ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x49bf06
push 0x70c3cc
mov ecx, edi
call fcn.00402050
mov eax, edi
jmp 0x49bf8d
mov edx, dword [esi + 4]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov eax, dword [esi + 4]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0058e970
add esp, 4
push edi
mov esi, eax
push esi
push edi
push ebx
push 8
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov word [esi + eax*2], cx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00402050
push esi
mov dword [ebp - 4], 0
call fcn.0058f0e9
mov esi, dword [ebp - 0x30]
add esp, 4
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.00401720
lea ecx, [ebp - 0x2c]
call fcn.00401750
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 - 0x10]
xor ecx, ebp
call fcn.0058cf08
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49c620
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6780d8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x76c12c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x49c743
push ecx
movzx ecx, word [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x49c743
mov edx, dword [edi + 4]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x49c743
mov eax, dword [edi + 4]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x49c743
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x49c743
cmp dword [ebp + 0x24], 8
mov eax, dword [ebp + 0x10]
jae 0x49c6be
lea eax, [ebp + 0x10]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x49c73c
cmp esi, 0xffffffff
je 0x49c73c
mov edx, dword [ebp - 0x10]
push 0
lea ecx, [ebp - 0x14]
push ecx
push edx
push ebx
push esi
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x49c743
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x14], eax
jne 0x49c743
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.00401750
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.00401750
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
Function at 0x49ca50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68ca4e
mov eax, dword fs:[0]
push eax
sub esp, 0x330
mov eax, dword [0x76c12c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x330]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x32c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49cbcc
lea ecx, [ebp - 0x328]
push ecx
call fcn.00461c20
push 4
push str.MSIE
lea ecx, [ebp - 0x280]
mov dword [ebp - 4], ebx
call fcn.00401f00
push 0x1b
push str.Microsoft_Internet_Explorer
lea ecx, [ebp - 0x328]
call fcn.00401f00
lea edx, [ebp - 0x32c]
push edx
mov edx, dword [ebp - 0x330]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x338]
push ecx
push ebx
push str.Version
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x49cbb9
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00402050
push eax
lea ecx, [ebp - 0x30c]
mov byte [ebp - 4], 1
call fcn.00401690
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], bl
call fcn.00401750
call fcn.00401050
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x334], esp
push str.Applicationsiexplore.exe_shellopencommand
mov esi, eax
call fcn.00402050
mov byte [ebp - 4], 2
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ebx
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, esi
mov byte [ebp - 4], bl
call edx
push eax
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 3
call fcn.00401690
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], bl
call fcn.00401750
lea ebx, [edi + 4]
lea ecx, [ebp - 0x328]
call fcn.0049d6c0
lea eax, [ebp - 0x328]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.004625a0
mov al, 1
jmp 0x49cbce
lea ecx, [ebp - 0x328]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.004625a0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058cf08
mov esp, ebp
pop ebp
ret

Function at 0x4a1240
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x76c12c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4a1290
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x4a128a
shr eax, 8
cmp al, 2
jne 0x4a128a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058cf08
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 2
call fcn.0058cf08
mov esp, ebp
pop ebp
ret