joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401d80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401d99
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401dd4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401dd0
lea ebx, [ebx]
cmp esi, eax
jae 0x401dd4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401dc0
cmp esi, eax
jb 0x401dda
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x403770
Capabilities:
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x4484c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x464664]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0041e3be
call fcn.0041e3be
mov eax, dword [eax + 0xc]
push 0x8e
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x198
mov dword [esi + 0xac], eax
mov dword [esi + 0x205], 0
call fcn.00414c30
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x18], 0
je 0x4037e5
push esi
mov ecx, eax
call fcn.00401510
jmp 0x4037e7
xor eax, eax
or edi, 0xffffffff
mov ecx, eax
mov dword [esp + 0x18], edi
mov dword [esi + 0x1f9], eax
call fcn.00414ca4
and dword [eax + 4], 0xffffffdf
add eax, 4
push 0x98
call fcn.00414c30
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x18], 1
je 0x403829
push esi
mov ecx, eax
call fcn.00402f60
jmp 0x40382b
xor eax, eax
mov ecx, eax
mov dword [esp + 0x18], edi
mov dword [esi + 0x1f5], eax
call fcn.00414ca4
and dword [eax + 4], 0xffffffdf
add eax, 4
push 0x18c
call fcn.00414c30
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x18], 2
je 0x40386a
push esi
mov ecx, eax
call fcn.00402500
jmp 0x40386c
xor eax, eax
mov ecx, eax
mov dword [esp + 0x18], edi
mov dword [esi + 0x1fd], eax
call fcn.00414ca4
and dword [eax + 4], 0xffffffdf
add eax, 4
push 0xf0
call fcn.00414c30
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x18], 3
je 0x4038ab
push esi
mov ecx, eax
call fcn.00404100
jmp 0x4038ad
xor eax, eax
mov ecx, eax
mov dword [esp + 0x18], edi
mov dword [esi + 0x201], eax
call fcn.00414ca4
and dword [eax + 4], 0xffffffdf
add eax, 4
mov eax, dword [esi + 0x201]
push eax
mov ecx, esi
call fcn.00416022
mov ecx, dword [esi + 0x1f5]
push ecx
mov ecx, esi
call fcn.00416022
mov edx, dword [esi + 0x1f9]
push edx
mov ecx, esi
call fcn.00416022
mov eax, dword [esi + 0x1fd]
push eax
mov ecx, esi
call fcn.00416022
mov ecx, dword [esi + 0x58]
and ecx, 0xfffffdff
or ecx, 0x20
mov dword [esi + 0x58], ecx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x406b00
Capabilities:
Set socket configuration

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x44]
mov ecx, dword [eax + 4]
push edi
lea edi, [esi + 0x44]
push str.Entering_CBeConfigLoaderMgr::Connect__
push edi
call ecx
add esp, 8
mov ecx, esi
mov ebx, 0x80004005
call fcn.004067a0
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x406ba2
mov edx, dword [esi + 0x5c]
push 0
push 0x3f
push 2
push edx
call fcn.00422842
test eax, eax
je 0x406ba2
mov ecx, dword [esi + 0x58]
push 4
lea eax, [esp + 0x10]
push eax
push 0x20
mov dword [esp + 0x18], 1
mov edx, dword [ecx + 4]
push 0xffff
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, dword [esi + 0x5c]
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push ecx
push str.Waiting_for_FIDME_message_on_port__d
push edi
call edx
add esp, 0xc
push 0x406a00
push 0xbb8
push 1
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [esi + 0x48]
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x58]
lea ecx, [eax + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push edx
call eax
jmp 0x406bbc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi + 0x5c]
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
push edx
push str.Failed_to_create_socket_on_port__d
push edi
call eax
add esp, 0xc
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push 0x44e2b0
push edi
call edx
add esp, 8
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret

Function at 0x406d30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x448a9b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x464664]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x28]
add edi, 0xfffffff0
push edi
mov dword [esp + 0x24], 2
call fcn.004012f0
add eax, 0x10
mov dword [esi], eax
mov ebp, dword [esp + 0x30]
add ebp, 0xfffffff0
push ebp
mov byte [esp + 0x28], 3
call fcn.004012f0
add eax, 0x10
mov dword [esi + 4], eax
mov ebx, dword [esp + 0x38]
add ebx, 0xfffffff0
push ebx
mov byte [esp + 0x2c], 4
call fcn.004012f0
add eax, 0x10
mov dword [esi + 8], eax
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
add esp, 0xc
mov byte [esp + 0x20], 1
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x406dce
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov byte [esp + 0x20], 0
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406ded
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov dword [esp + 0x20], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x406e0e
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
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 0xc
Function at 0x40cc10
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x1c
mov eax, dword [0x464664]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
mov esi, ecx
mov edx, dword [esi + 0x78]
push edi
mov edi, dword [esi + 0x82]
lea ebx, [esi + 0x8a]
mov eax, ebx
mov byte [eax], 0
mov byte [eax + 1], 3
movzx ecx, byte [esi + 0x81]
add eax, 1
add eax, 1
mov byte [eax], cl
movzx ecx, byte [esi + 0x80]
add eax, 1
mov byte [eax], cl
mov ecx, dword [esi + 0x82]
add eax, 1
sub edi, 1
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x74]
shl ecx, 9
shl edi, 9
cmp ecx, eax
mov dword [esp + 0x14], 1
mov ebp, 0x200
jbe 0x40cc8f
sub eax, ecx
add eax, ebp
mov ebp, eax
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x10]
push ebp
add edx, edi
push edx
push eax
call fcn.00433e00
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x70]
add esp, 0xc
lea ecx, [ebp + 4]
add edi, ebp
test eax, eax
mov dword [esp + 0x10], ecx
mov word [esp + 0x18], 2
je 0x40ccce
mov eax, dword [eax + 0x11]
jmp 0x40ccd0
xor eax, eax
movzx edx, word [esi + 0x7c]
push edx
mov dword [esp + 0x20], eax
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x70]
push 0x10
mov word [esp + 0x1e], ax
lea eax, [esp + 0x1c]
push eax
movzx eax, word [edx + 0x49]
push ecx
push ebx
push eax
mov ecx, esi
call fcn.0040ca10
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x6c], 3
call ebx
mov dword [esi + 0x492], eax
mov dword [esi + 0x48e], 1
call ebx
sub eax, dword [esi + 0x496]
mov ebp, dword [sym.imp.USER32.dll_PostMessageW]
cmp eax, 0x1f4
jbe 0x40cd64
call ebx
mov ecx, dword [esi + 0x48]
push ecx
mov dword [esi + 0x496], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40cd64
mov edx, dword [esi + 0x70]
mov eax, dword [edx + 0x53]
push edi
push eax
mov eax, dword [esi + 0x48]
push 0x8002
push eax
call ebp
test eax, eax
jne 0x40cd64
mov dword [esi + 0x48], eax
cmp dword [esp + 0x14], 0
jne 0x40cdb5
mov ecx, dword [esi + 0x48]
push ecx
mov dword [esi + 0x48a], 1
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40cd9d
mov edx, dword [esi + 0x70]
mov eax, dword [edx + 0x53]
push edi
push eax
mov eax, dword [esi + 0x48]
push 0x8002
push eax
call ebp
test eax, eax
jne 0x40cd9d
mov dword [esi + 0x48], eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00433125
add esp, 0x1c
ret
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00433125
add esp, 0x1c
ret
Function at 0x40e3f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4494d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x464664]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.Entering_CBeImageLoaderMgr::FireOnTargetAdded__
push esi
mov dword [esp + 0x1c], 0
call fcn.0040e0a0
mov ecx, dword [esi + 0x78]
add esp, 8
test ecx, ecx
je 0x40e437
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
sub esp, 0x14
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0040dec0
mov edx, dword [esi + 0x48]
mov eax, dword [edx + 0x10]
lea ecx, [esi + 0x48]
call eax
push str.Leaving_CBeImageLoaderMgr::FireOnTargetAdded__
push esi
call fcn.0040e0a0
add esp, 8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.00406cc0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x14

Function at 0x40f770
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x2da]
test eax, eax
je 0x40f7bf
mov ecx, dword [esi + 0x2b6]
mov edx, dword [esi + 0x2ba]
push 8
mov dword [esp + 8], ecx
lea ecx, [esp + 8]
push ecx
push 0xb
push 0
push str.AutoconfigurationNextMacAddress
push eax
mov dword [esp + 0x20], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x40f7c9
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push str.Failed_to_set_AutoconfigurationNextMacAddress_in_registry
push esi
call eax
add esp, 8
mov eax, 0x80004005
pop esi
add esp, 8
ret
xor eax, eax
pop esi
add esp, 8
ret

Function at 0x40f773
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x2da]
test eax, eax
je 0x40f7bf
mov ecx, dword [esi + 0x2b6]
mov edx, dword [esi + 0x2ba]
push 8
mov dword [esp + 8], ecx
lea ecx, [esp + 8]
push ecx
push 0xb
push 0
push str.AutoconfigurationNextMacAddress
push eax
mov dword [esp + 0x20], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x40f7c9
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push str.Failed_to_set_AutoconfigurationNextMacAddress_in_registry
push esi
call eax
add esp, 8
mov eax, 0x80004005
pop esi
add esp, 8
ret
xor eax, eax
pop esi
add esp, 8
ret
Function at 0x40f7d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x2da]
xor ecx, ecx
cmp eax, ecx
jne 0x40f7fc
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push str.Registry_key_no_defined__not_able_to_read_mac_address_from_registry
push esi
call ecx
add esp, 8
mov eax, 0x80004005
pop esi
add esp, 0x10
ret
lea edx, [esp + 4]
push edx
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x10]
push edx
push ecx
push str.AutoconfigurationNextMacAddress
push eax
mov dword [esp + 0x20], 0xb
mov dword [esp + 0x1c], 8
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40f84e
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
push str.Failed_to_read_AutoconfigurationNextMacAddress_from_registry
push esi
call ecx
add esp, 8
mov eax, 0x80004005
pop esi
add esp, 0x10
ret
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push edx
push eax
mov ecx, esi
call fcn.0040f270
xor eax, eax
pop esi
add esp, 0x10
ret

Function at 0x40fb80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
call fcn.0041e3be
mov esi, dword [eax + 8]
test esi, esi
jne 0x40fb93
xor eax, eax
pop esi
ret 0xc
movzx eax, word [esp + 8]
push edi
push 0x45014c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x40fbb1
pop edi
pop esi
ret 0xc
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, dword [esp + 0x18]
push edi
push esi
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x40fbd4
pop ebx
pop edi
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebx]
add ecx, 1
push ecx
mov edi, eax
call fcn.00414c60
mov edx, dword [esp + 0x18]
mov dword [edx], eax
mov ecx, dword [ebx]
push ecx
push edi
push eax
call fcn.00433e00
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop edi
mov eax, 1
pop esi
ret 0xc
Function at 0x410a20
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x449868
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x464664]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x354]
xor edi, edi
cmp eax, edi
je 0x410ac8
lea eax, [esp + 0x10]
push eax
mov dword [esi + 0x354], edi
call fcn.004109f0
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x24], edi
call fcn.004106d0
mov ebx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
call esi
mov edi, dword [esp + 0x14]
push edi
call esi
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410aa4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410ac8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x412360
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x449bcb
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x464664]
xor eax, esp
mov dword [esp + 0x414], eax
push esi
push edi
mov eax, dword [0x464664]
xor eax, esp
push eax
lea eax, [esp + 0x424]
mov dword fs:[0], eax
mov edi, dword [esp + 0x434]
mov dword [esp + 0xc], 0
call fcn.0041cc69
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4123c2
push 0x80004005
call fcn.00401020
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0xc], esi
lea ecx, [esp + 0x218]
push ecx
push 0x104
mov dword [esp + 0x434], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 0x104
jbe 0x412432
add esi, 0xfffffff0
push esi
call fcn.004012f0
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov dword [esp + 0x42c], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4124aa
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x4124aa
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x45059c
lea edx, [esp + 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x412453
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.00402180
mov esi, dword [esp + 0xc]
add esi, 0xfffffff0
push esi
call fcn.004012f0
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov dword [esp + 0x42c], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4124aa
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
mov ecx, dword [esp + 0x424]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.00433125
add esp, 0x424
ret 4
Function at 0x4124e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x449c10
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x464664]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0040fb80
test eax, eax
je 0x4125c2
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.00412360
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
mov dword [esp + 0x2c], 0
call fcn.004022b0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41257c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
call fcn.00423d61
mov esi, dword [esi]
push 0
push 0x9011
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 1
call fcn.00424190
test eax, eax
jne 0x4125d7
mov ecx, dword [esp + 8]
push ecx
call fcn.00414c5b
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.00423e6e
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 8
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 8]
push edx
push esi
lea ecx, [esp + 0x18]
call fcn.00423aaf
lea ecx, [esp + 0x10]
call fcn.00423cff
push esi
call fcn.00414c5b
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.00423e6e
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 8

Function at 0x414540
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
xor ecx, ecx
test edx, edx
mov eax, 0xffff
jle 0x414582
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
jmp 0x414560
movzx edi, byte [ecx + esi]
movzx ebx, al
movzx ax, ah
xor edi, ebx
xor ax, word [edi*2 + 0x462df8]
add ecx, 1
cmp ecx, edx
movzx eax, ax
jl 0x414560
pop edi
pop esi
pop ebx
ret 8
Function at 0x414773
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1c
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0xffffffff
mov cl, 0xff
mov al, 0xfe
mov byte [esp + 4], cl
mov byte [esp + 5], al
mov byte [esp + 6], cl
mov byte [esp + 7], al
je 0x414857
mov eax, dword [esp + 0x28]
push ebx
push ebp
mov bp, word [esp + 0x34]
push edi
movzx edi, bp
push edi
push eax
mov ecx, esi
call fcn.00414540
movzx ecx, ax
xor eax, eax
push eax
push eax
push 1
push eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
lea ebx, [esi + 0x10033]
push edi
mov dword [ebx], edx
mov dword [esp + 0x2c], eax
mov ax, word [esp + 0x34]
push ecx
lea edx, [esi + 0x1003b]
push edx
mov word [esi + 0x10037], ax
mov word [esi + 0x10039], bp
call fcn.00433e00
movzx eax, word [esp + 0x44]
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
mov word [edi + esi + 0x1003b], ax
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x18]
push edx
add edi, 0xa
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
pop edi
pop ebp
pop ebx
jne 0x41483f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x1c]
push 0x64
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 0x1c
ret 0xc

Function at 0x415e3a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x415e50
mov edi, dword [esi + 0xc]
jmp 0x415e90
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x415e69
call fcn.0042138c
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x415e7e
call fcn.0042138c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x415e90
call fcn.0042138c
call fcn.0041e3be
cmp dword [eax + 0x3c], 0
je 0x415ea5
push edi
mov ecx, ebx
call fcn.00414d0d
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00415d54
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x415ec3
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x415ecf
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x419d6e
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x419da7
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00419d31
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00406e30
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x41b98a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x41b9cd
call fcn.0041e3be
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41b9cd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41b9e8
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0041b544
test ebx, ebx
mov esi, eax
je 0x41b9e6
test edi, edi
je 0x41b9e6
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4207e8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x42082e
call fcn.0041e3be
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42082e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x420871
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x42085a
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x42085a
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x42086e
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x433125
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x464664]
jne 0x43312f
repz ret
jmp fcn.0043ad6c