joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437320
Capabilities:
Access the windows event log

Disassembly:
push 0xffffffffffffffff
push 0x48e120
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push 0x49923c
lea ecx, [esp + 4]
call fcn.00437280
cmp word [0x4b0e48], 0
mov dword [esp + 0x1c], 0
jne 0x437371
push 0x493004
push 0x40
push 0x4b0e48
push 0x498bd4
call fcn.00437c20
add esp, 0x10
push esi
push edi
push 0x4b0e48
lea ecx, [esp + 0x18]
call fcn.00407f90
mov esi, eax
cmp word [0x4b0ec8], 0
mov byte [esp + 0x24], 1
jne 0x4373ab
push str.Cyberlink
push 0x40
push 0x4b0ec8
push str.CompanyName
call fcn.00437c20
add esp, 0x10
push 0x4b0ec8
lea ecx, [esp + 0x14]
call fcn.00407f90
lea ecx, [esp + 8]
push ecx
push eax
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x30], 2
call fcn.004371d0
push esi
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x3c], 3
call fcn.004371d0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x18
mov byte [esp + 0x24], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437405
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x24], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437428
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43744b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437471
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x18]
push edi
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
jne 0x4374b4
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43749e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
mov eax, 0x80004005
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
push 0
push eax
mov eax, dword [esp + 0x44]
push 0
push ecx
push 0
push edx
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4374f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x4384a0
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x492eb4
push esi
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
push 1
push 0x23
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4384f8
push edi
call fcn.00434440
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
push esi
call edi
push esi
call fcn.004355b0
add esp, 4
call fcn.00434410
push eax
push esi
call edi
push esi
call fcn.004355b0
add esp, 4
pop edi
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x4395b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa8
mov eax, dword [0x4aff10]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov dword [esp + 0xac], eax
xor eax, eax
mov ecx, 0x26
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x9c
call esi
test eax, eax
jne 0x4395ff
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0x94
call esi
cmp dword [esp + 0x18], 2
jne 0x43963b
mov eax, dword [esp + 0xc]
cmp eax, 5
ja 0x439624
jne 0x43963b
mov eax, dword [esp + 0x10]
test eax, eax
ja 0x439624
jne 0x43963b
cmp word [esp + 0x14], 0x893
jbe 0x43963b
mov eax, 1
mov ecx, dword [esp + 0xac]
call fcn.004877c7
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xac]
xor eax, eax
call fcn.004877c7
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x439bb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48e1db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
push ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
push 1
lea edx, [esp + 0x40]
mov dword [esp + 0x20], eax
movzx ecx, bl
push edx
mov dword [esp + 0x28], eax
push 0x4995bc
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], 0x440d
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0x849
mov dword [esp + 0x48], 1
call fcn.00437a10
mov eax, dword [esp + 0x48]
add esp, 0xc
cmp eax, 1
jne 0x439c45
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x40]
push 0x1c
lea ecx, [esp + 0x18]
push ecx
push 0x1c
mov edx, ecx
push edx
push 1
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
jmp 0x439c97
mov ecx, dword [0x4b0d74]
test ecx, ecx
jne 0x439c91
push 0x1764
call fcn.004876fc
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x30], 0
je 0x439c7b
push 1
push 0
push 0
mov ecx, eax
call fcn.00487ec0
jmp 0x439c7d
xor eax, eax
test eax, eax
mov ecx, eax
mov dword [esp + 0x30], 0xffffffff
mov dword [0x4b0d74], ecx
je 0x439cb7
push ebx
call fcn.00488430
test eax, eax
je 0x439cb7
test byte [esp + 0x24], 1
jne 0x439cb7
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
mov ecx, dword [esp + 0x28]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x43aaa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48e350
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push esi
lea ecx, [esp + 8]
call fcn.0043a3e0
mov eax, dword [esp + 0xc]
test eax, eax
mov dword [esp + 0x3c], 0
je 0x43abd5
push str.Write
lea ecx, [esp + 8]
call fcn.00407f90
mov esi, dword [esp + 0x44]
test esi, esi
mov byte [esp + 0x3c], 1
jne 0x43aaf5
xor eax, eax
jmp 0x43aaff
push esi
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
push eax
push esi
lea ecx, [esp + 0xc]
call fcn.004077c0
mov eax, dword [esp + 0x48]
mov word [esp + 0x24], 0x13
mov dword [esp + 0x2c], eax
mov word [esp + 0x14], 3
mov dword [esp + 0x1c], 0x80004005
mov eax, dword [esp + 4]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x18]
call fcn.0043a140
test eax, eax
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
jl 0x43aba4
push edi
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
call esi
lea edx, [esp + 0x28]
push edx
call esi
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x40], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ab80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0xffffffff
call fcn.0043a240
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
lea eax, [esp + 0x14]
push eax
call esi
lea ecx, [esp + 0x24]
push ecx
call esi
mov eax, dword [esp + 4]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43abd5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 8]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0043a240
mov ecx, dword [esp + 0x34]
mov eax, 0x80004005
pop esi
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x43c3e0
Capabilities:
Clear file content
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
mov eax, dword [0x4aff10]
push ebx
push esi
push edi
xor esi, esi
push esi
push 0x80
push 4
push esi
push 2
mov ebx, ecx
push 0x40000000
push ebx
mov dword [esp + 0x448], eax
call dword [0x4affec]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x43c43c
push esi
push esi
call fcn.00435ab0
add esp, 8
mov ecx, dword [esp + 0x42c]
call fcn.004877c7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov word [esp + 0x18], si
mov ecx, 0x103
xor eax, eax
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [0x4b0140]
mov dword [esp + 0x14], esi
lea ebx, [ebx]
mov ecx, dword [ebx + 0x414]
test ecx, ecx
jne 0x43c46e
xor eax, eax
jmp 0x43c479
mov eax, dword [ebx + 0x418]
sub eax, ecx
sar eax, 2
cmp esi, eax
jge 0x43c4d4
mov eax, dword [ebx + 0x414]
lea eax, [eax + esi*4]
mov eax, dword [eax]
mov edx, dword [eax + 0x418]
xor ecx, ecx
cmp edx, 1
setne cl
lea edx, [esp + 0x18]
dec ecx
and ecx, eax
push ecx
push str._s_r_n
push edx
call edi
add esp, 0xc
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
shl eax, 1
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
inc esi
jmp 0x43c460
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x42c]
call fcn.004877c7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43d000
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc34
mov eax, dword [0x4aff10]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0xc34], ecx
xor esi, esi
xor eax, eax
mov word [ebp - 0x41c], si
mov ecx, 0x103
lea edi, [ebp - 0x41a]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
push esi
stosw word es:[edi], ax
lea eax, [ebp - 0x41c]
push eax
push 0x208
push esi
push ecx
push esi
call dword [0x4b0050]
test eax, eax
je 0x43d229
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
lea edx, [ebp - 0x41c]
push edx
call dword [0x4affec]
mov edi, eax
cmp edi, 0xffffffff
je 0x43d229
push esi
push edi
mov dword [ebp - 0xc30], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.00487721
add esp, 4
push 0
lea ecx, [ebp - 0xc30]
push ecx
push esi
mov ebx, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43d0be
push ebx
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
xor ebx, ebx
jmp 0x43d0c8
mov edx, dword [ebp - 0xc30]
mov byte [ebx + edx], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x43d229
lea eax, [ebp - 0xa2c]
push eax
mov eax, dword [ebp + 8]
push 0
lea ecx, [ebp - 0xc2c]
push ecx
lea edx, [ebp - 0xc]
push edx
push eax
call dword [sym.imp.MSVCR71.dll__wsplitpath]
lea ecx, [ebp - 0xa2c]
push str..m3u
push ecx
call dword [sym.imp.MSVCR71.dll__wcsicmp]
neg eax
sbb eax, eax
inc eax
lea edx, [ebp - 0xc]
mov dword [ebp + 8], eax
push edx
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.MSVCR71.dll_wcscpy]
lea ecx, [ebp - 0xc2c]
push ecx
lea edx, [ebp - 0x41c]
push edx
call dword [sym.imp.MSVCR71.dll_wcscat]
xor eax, eax
mov word [ebp - 0x82c], 0
mov ecx, 0x103
lea edi, [ebp - 0x82a]
rep stosd dword es:[edi], eax
add esp, 0x2c
stosw word es:[edi], ax
mov eax, dword [ebp - 0xc30]
push 0
push eax
push ebx
call dword [0x4aff88]
test eax, eax
je 0x43d16d
push 0x49675c
push ebx
jmp 0x43d19e
call dword [0x4ad2e0]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and eax, 0xfffffffc
call fcn.004877e0
mov eax, esp
push edi
push esi
push ebx
push eax
call fcn.00401060
push 0x49675c
push eax
call dword [sym.imp.MSVCR71.dll_wcstok]
mov esi, eax
add esp, 8
test esi, esi
je 0x43d220
lea ecx, [ecx]
mov eax, dword [ebp + 8]
test eax, eax
je 0x43d1bd
cmp word [esi], 0x23
je 0x43d20a
mov edi, dword [0x4b0050]
push 0
lea ecx, [ebp - 0x82c]
push ecx
push 0x208
push 0
push esi
push 0
call edi
test eax, eax
jne 0x43d1f8
push eax
lea edx, [ebp - 0x82c]
push edx
push 0x208
push eax
push esi
lea eax, [ebp - 0x41c]
push eax
call edi
test eax, eax
je 0x43d20a
lea ecx, [ebp - 0x82c]
push ecx
mov ecx, dword [ebp - 0xc34]
call fcn.0043cdb0
push 0x49675c
push 0
call dword [sym.imp.MSVCR71.dll_wcstok]
mov esi, eax
add esp, 8
test esi, esi
jne 0x43d1b0
push ebx
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
lea esp, [ebp - 0xc40]
mov ecx, dword [ebp - 4]
call fcn.004877c7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44a2e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x48e9ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x88]
cmp eax, dword [ebp + 0x8c]
mov ebx, 0x80004005
mov dword [esp + 8], eax
je 0x44a4bd
push esi
push edi
jmp 0x44a320
mov eax, dword [esp + 0x10]
nop
mov esi, dword [eax]
mov ecx, esi
call fcn.00463950
mov edi, eax
cmp edi, 0xffffffff
je 0x44a41d
cmp edi, 0x4e53
jne 0x44a3fe
mov ebx, dword [esp + 0x70]
test ebx, ebx
je 0x44a3fe
mov ecx, esi
call fcn.00463840
mov eax, dword [eax]
mov esi, dword [eax + 8]
lea ecx, [esp + 0x30]
xor edi, edi
push ecx
mov word [esp + 0x34], di
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push esi
mov word [esp + 0x34], 8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, edi
mov dword [esp + 0x38], eax
jne 0x44a393
cmp esi, edi
je 0x44a393
mov word [esp + 0x30], 0xa
mov dword [esp + 0x38], 0x8007000e
mov eax, dword [ebx]
mov esi, 3
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 4]
mov word [esp + 0x40], si
mov word [esp + 0x50], si
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0xb0]
lea edx, [esp + 0x30]
mov dword [esp + 0x20], edx
lea edx, [esp + 0x20]
push edx
push 0x4e53
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
mov ecx, dword [eax]
push eax
mov dword [esp + 0x74], edi
call dword [ecx + 0x20]
push 0x403980
push esi
mov ebx, eax
push 0x10
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x78], 0xffffffff
call fcn.00487894
jmp 0x44a489
mov ecx, dword [ebp + 0xb0]
mov ebx, dword [ecx]
mov ecx, esi
call fcn.00463840
mov edx, dword [ebp + 0xb0]
push eax
push edi
push edx
call dword [ebx + 0x20]
mov ebx, eax
jmp 0x44a489
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.00445fd0
mov edi, dword [esp + 0x14]
mov eax, dword [edi - 0xc]
test eax, eax
mov dword [esp + 0x68], 1
je 0x44a467
mov ecx, dword [edi - 8]
mov ebx, dword [ebp + 0xb0]
mov eax, dword [ebx]
mov dword [esp + 0x18], ecx
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.00463840
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
push edx
push edi
push ebx
call dword [eax + 0x24]
mov ebx, eax
add edi, 0xfffffff0
mov dword [esp + 0x68], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44a489
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
test ebx, ebx
jl 0x44a4a6
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x8c]
add eax, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jne 0x44a31b
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret 4
mov ecx, dword [esp + 0x58]
pop ebp
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret 4
Function at 0x452920
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48ede0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x4b1dec]
push esi
mov esi, ecx
mov ecx, 0x4b1dec
mov dword [esp + 4], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0x24], 0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edx, dword [esp + 0x28]
push 8
push 0
push edx
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x30], 1
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
jge 0x452987
push eax
call fcn.004010e0
mov eax, dword [esp + 0x10]
test eax, eax
push edi
mov edi, eax
je 0x45299c
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
push eax
push edi
mov ecx, esi
call fcn.00407240
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x45f2b0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x14c]
test eax, eax
je 0x45f2ce
mov eax, dword [esi]
push 1
mov dword [esi + 0x14c], 0
call dword [eax + 0x50]
mov eax, dword [esi + 0x124]
test eax, eax
je 0x45f2f8
push 0x1388
push eax
mov dword [esi + 0x128], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esi + 0x124], 0
mov eax, dword [esi + 0x120]
test eax, eax
je 0x45f308
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x50]
push esi
push 0
push 0x45e720
mov dword [esi + 0x128], 1
call dword [sym.imp.MSVCR71.dll__beginthread]
add esp, 0xc
mov dword [esi + 0x124], eax
xor eax, eax
pop esi
ret
Function at 0x461340
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48f7d8
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x18
push ebp
xor ebp, ebp
cmp eax, ebp
push edi
mov edi, ecx
jne 0x46137e
pop edi
mov eax, 0x80004003
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
push ebx
push esi
mov dword [edi + 0x120], eax
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [edi + 0x120]
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov esi, eax
lea ebx, [edi + 0x150]
mov ecx, ebx
mov dword [esp + 0x10], esi
call fcn.0045ffc0
cmp esi, ebp
mov dword [esp + 0x38], ebp
jbe 0x461477
jmp 0x4613c0
mov eax, dword [0x4b1dec]
mov ecx, 0x4b1dec
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x410
or eax, ecx
mov dword [esp + 0x30], ebp
jge 0x461400
push 0x410
lea ecx, [esp + 0x18]
call fcn.004047c0
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
mov eax, dword [edi + 0x120]
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x20]
cmp esi, ebp
jne 0x46141a
xor eax, eax
jmp 0x461428
push esi
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
cmp eax, ebp
jl 0x4614a2
cmp eax, dword [esi - 8]
jg 0x4614a2
mov dword [esi - 0xc], eax
mov word [esi + eax*2], bp
lea eax, [esp + 0x14]
push eax
mov ecx, ebx
call fcn.00461290
lea eax, [esi - 0x10]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x461462
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x38], eax
jb 0x4613c0
mov ecx, edi
mov dword [edi + 0x138], ebp
mov dword [edi + 0x13c], ebp
call fcn.0045e4e0
mov eax, dword [edi + 0x58]
mov edx, dword [edi + 0x50]
mov ecx, dword [edi + 0x148]
sub eax, edx
cmp ecx, eax
mov ecx, edi
jle 0x4614ac
push 1
jmp 0x4614ad
push 0x80070057
call fcn.004010e0
push ebp
call fcn.0045f420
mov ecx, dword [edi + 0x148]
push ecx
mov ecx, edi
call fcn.0045f570
mov edx, dword [edi + 0x14c]
push edx
mov ecx, edi
call fcn.0045f6d0
mov eax, dword [edi + 0xb0]
mov ecx, dword [eax]
push ebp
push 1
push eax
call dword [ecx + 0x48]
push edi
push ebp
push 0x45e720
mov dword [edi + 0x128], 1
call dword [sym.imp.MSVCR71.dll__beginthread]
add esp, 0xc
push 0x64
mov dword [edi + 0x124], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, edi
call fcn.0045e230
mov ecx, dword [esp + 0x28]
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x465430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48fad2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x10]
xor ebp, ebp
mov dword [esi], 0x49d6b8
mov dword [esi + 4], 0x49d678
mov dword [esi + 8], 0x49d65c
mov dword [esp + 0x10], esi
mov dword [edi], ebp
lea ebx, [esi + 0x14]
mov dword [esp + 0x1c], ebp
mov dword [ebx], ebp
mov eax, dword [0x4b1dec]
mov ecx, 0x4b1dec
mov byte [esp + 0x1c], 1
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x18], eax
mov edx, dword [0x4b1dec]
mov ecx, 0x4b1dec
mov byte [esp + 0x1c], 2
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov eax, dword [0x4b1dec]
mov ecx, 0x4b1dec
mov byte [esp + 0x1c], 3
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x20], eax
mov edx, dword [0x4b1dec]
mov ecx, 0x4b1dec
mov byte [esp + 0x1c], 4
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x30], eax
cmp edi, ebp
mov byte [esp + 0x1c], 5
mov dword [esi + 0xc], ebp
je 0x4654f0
mov eax, dword [edi]
cmp eax, ebp
je 0x4654ee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], ebp
cmp ebx, ebp
je 0x465502
mov eax, dword [ebx]
cmp eax, ebp
je 0x465500
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [ebx], ebp
mov edi, dword [esp + 0x24]
cmp edi, ebp
jne 0x46550e
xor eax, eax
jmp 0x465518
push edi
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
push eax
push edi
lea ecx, [esi + 0x1c]
call fcn.00407240
mov ecx, dword [esp + 0x14]
pop edi
mov dword [esi + 0x24], ebp
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], ebp
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x466310
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
sub esp, 8
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
push eax
push ecx
push edi
mov esi, 0x80004005
call dword [0x4b0004]
mov ebp, eax
test ebp, ebp
je 0x4663ee
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4663ee
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [esp + 0xc], eax
je 0x4663ee
push ebx
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4663ed
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
mov dword [esp + 0x14], eax
je 0x4663e6
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edi, dword [esp + 0x28]
push edi
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov esi, eax
test esi, esi
jl 0x4663e6
cmp dword [edi], 0
je 0x4663ed
mov eax, dword [esp + 0x1c]
push ebp
push eax
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [edi]
mov edx, dword [ecx]
push ebx
push eax
push ecx
call dword [edx + 0x18]
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 8
ret
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 8
ret