joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439530
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x408
push ebx
push ebp
push esi
mov esi, dword [esp + 0x418]
push edi
mov ebx, ecx
movzx edi, word [ebx]
sub edi, dword [esi + 0x654]
mov dword [esp + 0x14], ebx
push edi
push esi
call fcn.004376e0
mov dl, byte [esi + 0xa6c]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 4]
sub eax, 6
lea ebp, [esp + 0x18]
xor ecx, ecx
lea ecx, [ecx]
movzx ebx, byte [eax + 6]
add eax, 6
cmp byte [ebx + esi + 0x66c], dl
je 0x439570
movzx ebx, byte [eax + 1]
mov dword [ebp], eax
add ecx, ebx
add ebp, 4
sub edi, 1
jne 0x439570
add dword [esi + 0x4a84], ecx
mov eax, dword [esi + 0x4a78]
xor edx, edx
div dword [esi + 0x4a84]
xor edx, edx
mov edi, eax
mov eax, dword [esi + 0x4a74]
sub eax, dword [esi + 0x4a70]
mov dword [esi + 0x4a78], edi
div edi
mov ebx, dword [esi + 0x4a84]
cmp eax, ebx
jl 0x4395d6
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x408
ret 4
cmp eax, ecx
mov edx, dword [esp + 0x18]
lea edi, [esp + 0x18]
jge 0x439653
movzx ecx, byte [edx + 1]
cmp ecx, eax
jg 0x439600
lea ebx, [ebx]
mov edx, dword [edi + 4]
movzx ebx, byte [edx + 1]
add edi, 4
add ecx, ebx
cmp ecx, eax
jle 0x4395f0
mov edi, dword [esp + 0x10]
mov dword [esi + 0x4a80], ecx
movzx eax, byte [edx + 1]
sub ecx, eax
mov dword [esi + 0x4a7c], ecx
mov cl, byte [edi + 2]
cmp cl, 7
jae 0x439639
add byte [edi + 3], 0xff
jne 0x439639
mov ax, word [edi]
add ax, ax
mov word [edi], ax
mov al, 3
shl al, cl
inc cl
mov byte [edi + 2], cl
mov byte [edi + 3], al
mov ecx, dword [esp + 0x14]
push edx
push esi
call fcn.004393a0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x408
ret 4
mov edi, dword [esp + 0x14]
mov dword [esi + 0x4a7c], ecx
mov dword [esi + 0x4a80], ebx
movzx ecx, word [edi]
sub ecx, dword [esi + 0x654]
lea eax, [esp + 0x18]
sub eax, 4
mov edx, dword [eax + 4]
movzx edx, byte [edx]
mov bl, byte [esi + 0xa6c]
add eax, 4
sub ecx, 1
mov byte [edx + esi + 0x66c], bl
jne 0x439673
mov cx, word [esi + 0x4a84]
mov eax, dword [esp + 0x10]
add word [eax], cx
movzx edx, word [edi]
pop edi
mov dword [esi + 0x654], edx
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x408
ret 4

Function at 0x43e556
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4537c0]
jne 0x43e560
repz ret
jmp fcn.00441b88
Function at 0x440c5f
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x14
push 0x44ff90
call fcn.00441970
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x440b5f
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x440b5f
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x440b5f
cmp dword [eax + 0x400074], 0xe
jbe 0x440b5f
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x440b63
and dword [ebp - 0x1c], 0
push 1
call fcn.00440ce8
pop ecx
test eax, eax
jne 0x440b77
push 0x1c
call fcn.00440ae9
pop ecx
call fcn.00443eaa
test eax, eax
jne 0x440b88
push 0x10
call fcn.00440ae9
pop ecx
call fcn.00445472
and dword [ebp - 4], 0
call fcn.0044633f
test eax, eax
jge 0x440ba2
push 0x1b
call fcn.0043fce2
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x464504], eax
call fcn.0044620a
mov dword [0x462938], eax
call fcn.00446151
test eax, eax
jge 0x440bc8
push 8
call fcn.0043fce2
pop ecx
call fcn.00445f0d
test eax, eax
jge 0x440bd9
push 9
call fcn.0043fce2
pop ecx
push 1
call fcn.0043fd8b
pop ecx
test eax, eax
je 0x440bec
push eax
call fcn.0043fce2
pop ecx
mov eax, dword [0x46290c]
mov dword [0x462910], eax
push eax
push dword [0x462904]
push dword [0x462900]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x440c1a
push eax
call fcn.0043ff49
call fcn.0043ff6b
jmp 0x440c4f
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004419b5
ret
call fcn.00446593
jmp 0x440b0d

Function at 0x4427d9
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [0x4537c0]
xor eax, ebp
mov dword [ebp + 0x2a4], eax
and dword [ebp - 0x80], 0
push ebx
push 0x4c
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.0043ea70
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [ebp + 0x88], eax
mov dword [ebp + 0x84], ecx
mov dword [ebp + 0x80], edx
mov dword [ebp + 0x7c], ebx
mov dword [ebp + 0x78], esi
mov dword [ebp + 0x74], edi
mov word [ebp + 0xa0], ss
mov word [ebp + 0x94], cs
mov word [ebp + 0x70], ds
mov word [ebp + 0x6c], es
mov word [ebp + 0x68], fs
mov word [ebp + 0x64], gs
pushfd
pop dword [ebp + 0x98]
mov eax, dword [ebp + 0x2ac]
lea ecx, [ebp + 0x2ac]
mov dword [ebp - 0x28], 0x10001
mov dword [ebp + 0x90], eax
mov dword [ebp + 0x9c], ecx
mov ecx, dword [ecx - 4]
mov dword [ebp + 0x8c], ecx
mov dword [ebp - 0x80], 0xc0000417
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x74], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x4428b8
test ebx, ebx
jne 0x4428b8
push 2
call fcn.0044677b
pop ecx
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
xor ecx, ebp
pop ebx
call fcn.0043e556
add ebp, 0x2a8
leave
ret
Function at 0x4428e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push dword [0x462dcc]
call fcn.00443b1d
pop ecx
test eax, eax
je 0x4428f6
pop ebp
jmp eax
push 2
call fcn.0044677b
pop ecx
pop ebp
jmp fcn.004427d9

Function at 0x442904
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x453ac8]
je 0x44291f
inc edi
cmp edi, 0x17
jb 0x442910
cmp edi, 0x17
jae 0x442a9f
push ebp
push 3
call fcn.004475b0
pop ecx
cmp eax, 1
je 0x442a6b
push 3
call fcn.004475b0
pop ecx
test eax, eax
jne 0x442953
cmp dword [0x453820], 1
je 0x442a6b
cmp ebx, 0xfc
je 0x442a9e
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x462dd0
push ebp
call fcn.00444f80
add esp, 0xc
test eax, eax
je 0x442989
push esi
push esi
push esi
push esi
push esi
call fcn.004427d9
add esp, 0x14
push 0x104
mov esi, 0x462de9
push esi
push 0
mov byte [0x462eed], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4429cd
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00444f80
add esp, 0xc
test eax, eax
je 0x4429cd
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004427d9
add esp, 0x14
push esi
call fcn.00444e60
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x442a12
push esi
call fcn.00444e60
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4630e4
push 0x44d334
sub ecx, eax
push ecx
push eax
call fcn.004474fd
add esp, 0x14
test eax, eax
je 0x442a12
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004427d9
add esp, 0x14
jmp 0x442a14
xor esi, esi
push 0x44d330
push ebx
push ebp
call fcn.0044748c
add esp, 0xc
test eax, eax
je 0x442a34
push esi
push esi
push esi
push esi
push esi
call fcn.004427d9
add esp, 0x14
push dword [edi*8 + 0x453acc]
push ebx
push ebp
call fcn.0044748c
add esp, 0xc
test eax, eax
je 0x442a56
push esi
push esi
push esi
push esi
push esi
call fcn.004427d9
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00447325
add esp, 0xc
jmp 0x442a9e
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x442a9e
cmp ebp, 0xffffffff
je 0x442a9e
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x453acc]
push dword [esi]
call fcn.00444e60
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x443eaa
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push esi
push edi
mov esi, str.KERNEL32.DLL
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x443ec3
push esi
call fcn.0043fc7d
pop ecx
mov edi, eax
test edi, edi
je 0x44402b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.FlsAlloc
push edi
call esi
push str.FlsGetValue
push edi
mov dword [0x4630e4], eax
call esi
push str.FlsSetValue
push edi
mov dword [0x4630e8], eax
call esi
push str.FlsFree
push edi
mov dword [0x4630ec], eax
call esi
cmp dword [0x4630e4], 0
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [0x4630f0], eax
je 0x443f2c
cmp dword [0x4630e8], 0
je 0x443f2c
cmp dword [0x4630ec], 0
je 0x443f2c
test eax, eax
jne 0x443f50
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [0x4630e8], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [0x4630e4], 0x443b8c
mov dword [0x4630ec], esi
mov dword [0x4630f0], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x453ba8], eax
cmp eax, 0xffffffff
je 0x444030
push dword [0x4630e8]
push eax
call esi
test eax, eax
je 0x444030
call fcn.0043ff89
push dword [0x4630e4]
call fcn.00443aa5
push dword [0x4630e8]
mov dword [0x4630e4], eax
call fcn.00443aa5
push dword [0x4630ec]
mov dword [0x4630e8], eax
call fcn.00443aa5
push dword [0x4630f0]
mov dword [0x4630ec], eax
call fcn.00443aa5
add esp, 0x10
mov dword [0x4630f0], eax
call fcn.00440d12
test eax, eax
je 0x44402b
push 0x443d7a
push dword [0x4630e4]
call fcn.00443b1d
pop ecx
call eax
mov dword [0x453ba4], eax
cmp eax, 0xffffffff
je 0x44402b
push 0x214
push 1
call fcn.004452ec
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x44402b
push esi
push dword [0x453ba4]
push dword [0x4630ec]
call fcn.00443b1d
pop ecx
call eax
test eax, eax
je 0x44402b
push 0
push esi
call fcn.00443c04
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
or dword [esi + 4], 0xffffffff
mov dword [esi], eax
xor eax, eax
inc eax
jmp 0x444032
call fcn.00443bc7
xor eax, eax
pop edi
pop esi
ret

Function at 0x4454e0
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x4454f1
xor eax, eax
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4454ee
xor edx, edx
mov ecx, 0x10b
cmp word [eax + 0x18], cx
sete dl
mov eax, edx
ret

Function at 0x445510
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x44554a
mov edi, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x445542
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x44554c
inc edx
add eax, 0x28
cmp edx, esi
jb 0x445532
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x44620a
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
mov eax, dword [0x463278]
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebx, ebx
xor esi, esi
push 2
pop ebp
cmp eax, ebx
jne 0x446253
call edi
mov esi, eax
cmp esi, ebx
je 0x44623a
mov dword [0x463278], 1
jmp 0x44625c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x44624e
mov eax, ebp
mov dword [0x463278], eax
jmp 0x446253
mov eax, dword [0x463278]
cmp eax, 1
jne 0x4462e0
cmp esi, ebx
jne 0x44626f
call edi
mov esi, eax
cmp esi, ebx
jne 0x44626f
xor eax, eax
jmp 0x446338
mov eax, esi
cmp word [esi], bx
je 0x446284
add eax, ebp
cmp word [eax], bx
jne 0x446276
add eax, ebp
cmp word [eax], bx
jne 0x446276
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
sub eax, esi
push ebx
sar eax, 1
inc eax
push eax
push esi
push ebx
push ebx
mov dword [esp + 0x34], eax
call edi
mov ebp, eax
cmp ebp, ebx
je 0x4462d5
push ebp
call fcn.004452ac
pop ecx
mov dword [esp + 0x10], eax
cmp eax, ebx
je 0x4462d5
push ebx
push ebx
push ebp
push eax
push dword [esp + 0x24]
push esi
push ebx
push ebx
call edi
test eax, eax
jne 0x4462d1
push dword [esp + 0x10]
call fcn.0043e2ad
pop ecx
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
jmp 0x446338
cmp eax, ebp
je 0x4462e8
cmp eax, ebx
jne 0x446268
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov esi, eax
cmp esi, ebx
je 0x446268
cmp byte [esi], bl
je 0x446306
inc eax
cmp byte [eax], bl
jne 0x4462fc
inc eax
cmp byte [eax], bl
jne 0x4462fc
sub eax, esi
inc eax
mov ebp, eax
push ebp
call fcn.004452ac
mov edi, eax
pop ecx
cmp edi, ebx
jne 0x446324
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
jmp 0x446268
push ebp
push esi
push edi
call fcn.0043e700
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x447325
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00443b14
and dword [ebp - 4], 0
cmp dword [0x463280], 0
mov ebx, eax
jne 0x4473d4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x447485
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x447485
push eax
call fcn.00443aa5
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x463280], eax
call esi
push eax
call fcn.00443aa5
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x463284], eax
call esi
push eax
call fcn.00443aa5
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x463288], eax
call esi
push eax
call fcn.00443aa5
pop ecx
mov dword [0x463290], eax
test eax, eax
je 0x4473d4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00443aa5
pop ecx
mov dword [0x46328c], eax
mov eax, dword [0x46328c]
cmp eax, ebx
je 0x44742c
cmp dword [0x463290], ebx
je 0x44742c
push eax
call fcn.00443b1d
push dword [0x463290]
mov esi, eax
call fcn.00443b1d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44742c
test edi, edi
je 0x44742c
call esi
test eax, eax
je 0x447423
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x447423
test byte [ebp - 0xc], 1
jne 0x44742c
or dword [ebp + 0x10], 0x200000
jmp 0x447465
mov eax, dword [0x463284]
cmp eax, ebx
je 0x447465
push eax
call fcn.00443b1d
pop ecx
test eax, eax
je 0x447465
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x447465
mov eax, dword [0x463288]
cmp eax, ebx
je 0x447465
push eax
call fcn.00443b1d
pop ecx
test eax, eax
je 0x447465
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x463280]
call fcn.00443b1d
pop ecx
test eax, eax
je 0x447485
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x447487
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x3000af88
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ecx + 0x218]
call fcn.3001d759
test eax, eax
jne 0x3000afa1
leave
ret
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x3000b028
cmp dword [ebp - 8], 5
jl 0x3000b028
push ebx
mov ebx, dword [eax + 0x10]
push esi
push edi
push dword [eax + 8]
mov edi, dword [eax + 0xc]
push dword [eax + 4]
call dword [sym.imp.MSO.dll_Ordinal_8700]
mov esi, dword [sym.imp.MSO.dll_Ordinal_639]
push 1
push 0x30002b28
push edi
call esi
test eax, eax
je 0x3000b007
call dword [sym.imp.MSO.dll_Ordinal_5365]
cmp eax, 2
je 0x3000affe
push 3
mov ecx, 0x30025df0
call fcn.3000a86b
jmp 0x3000b025
push ebx
call dword [sym.imp.MSO.dll_Ordinal_902]
jmp 0x3000b01c
push 1
push 0x30002c70
push edi
call esi
test eax, eax
je 0x3000b025
push ebx
call dword [sym.imp.MSO.dll_Ordinal_9196]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c0], eax
pop edi
pop esi
pop ebx
xor eax, eax
inc eax
leave
ret

Function at 0x3000d03c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
push edi
mov ebx, ecx
jne 0x3000d055
push 0x80004005
call fcn.300084ca
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x3000d057
push edi
push dword [ebp + 0xc]
push 7
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x3000d5e4
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x30005dc8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x2001f
mov ebx, ecx
push eax
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x208], esi
call fcn.3000cfaf
mov edi, eax
cmp edi, esi
je 0x3000d644
lea ecx, [ebp - 0x208]
call fcn.3000cf4a
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.3001f470
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x3000d662
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x208]
call fcn.3000d5e4
cmp eax, esi
jne 0x3000d6aa
lea eax, [ebp - 0x218]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x208]
mov dword [ebp - 0x20c], 0x100
call edi
test eax, eax
je 0x3000d64c
lea ecx, [ebp - 0x208]
call fcn.3000cf4a
push dword [ebp - 0x210]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x208]
mov esi, eax
call fcn.3000cf4a
mov eax, esi
jmp 0x3000d633
Function at 0x3000e611
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x30020e13
call fcn.3001ff90
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
call dword [0x30026d00]
xor esi, esi
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x42c], edi
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x428], ebx
jne 0x3000e680
call fcn.3000ce63
mov esi, eax
jmp 0x3000e782
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x3000e6a3
call fcn.3000ce63
jmp 0x3000e774
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
mov dword [ebp - 0x420], eax
je 0x3000e699
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
cmp eax, edi
mov dword [ebp - 0x41c], edi
jae 0x3000e6ff
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x3000e6e5
lea ecx, [ebp - 0x418]
call fcn.3000d592
mov esi, 0x8007000e
lea ecx, [ebp - 0x424]
call fcn.3000d4c2
mov eax, esi
call fcn.3001ffe9
ret 0x10
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.3000da36
mov dword [ebp - 4], 1
jmp 0x3000e726
mov ebx, dword [ebp - 0x418]
cmp ebx, esi
jne 0x3000e737
mov esi, 0x8007000e
jmp 0x3000e776
call dword [0x30026d00]
push edi
push ebx
push edi
push dword [ebp - 0x420]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x3000e699
mov ecx, dword [ebp - 0x418]
push dword [ebp + 0x14]
mov word [ecx + eax*2], si
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.3000e4d4
mov esi, eax
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x3000e6ea
lea ecx, [ebp - 0x418]
call fcn.3000d592
jmp 0x3000e6ea

Function at 0x3000f62c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
push 1
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call dword [sym.imp.MSO.dll_Ordinal_403]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x3000f660
mov edi, 0x80004005
jmp 0x3000f68e
push esi
mov esi, dword [ebp + 0x10]
push ebx
lea ecx, [ebp - 4]
push ecx
push esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x3000f67f
xor edi, edi
cmp esi, dword [ebp - 4]
je 0x3000f684
mov edi, 0x80004005
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
cmp edi, ebx
pop edi
setge al
pop ebx
leave
ret 0xc
Function at 0x3000f9d7
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x3000fa41
cmp word [ebx], 0
je 0x3000fa41
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x3000fa3b
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
call dword [sym.imp.MSO.dll_Ordinal_295]
lea esi, [eax + eax + 2]
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x3000fa39
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push ebx
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
pop edi
pop esi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop ebx
pop ebp
ret 8

Function at 0x30010612
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x30005dc8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
add ebx, 0x618
cmp word [ebx], 0
push esi
push edi
jne 0x300106c3
mov edi, 0x824
mov dword [ebp - 0x830], edi
call dword [0x30026d00]
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x828]
push eax
push 0
call sub.urlmon.dll_ObtainUserAgentString
test eax, eax
jl 0x300106b6
lea eax, [ebp - 0x828]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x30010686
xor eax, eax
jmp 0x300106a4
lea eax, [esi + esi]
call fcn.30020155
mov eax, esp
push dword [ebp - 0x82c]
lea ecx, [ebp - 0x828]
push esi
push ecx
push eax
call fcn.3001016e
push eax
push 0x300039d0
push edi
push ebx
call fcn.3000fcae
add esp, 0x10
jmp 0x300106c3
push edi
push ebx
push 0x30003940
call dword [sym.imp.MSO.dll_Ordinal_6877]
mov eax, ebx
lea esp, [ebp - 0x83c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.3001f470
leave
ret

Function at 0x30011285
Capabilities:
Create thread

Disassembly:
push ebx
xor ebx, ebx
cmp byte [0x30027030], bl
je 0x30011294
mov al, 1
pop ebx
ret
mov ecx, dword [0x30026004]
call fcn.30016637
cmp eax, 1
je 0x30011290
push ebx
push ebx
push ebx
push 0x30010e7b
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
setne al
mov byte [0x30027030], al
pop ebx
ret