joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47c5a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x78], ebp
je 0x47c75d
push ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov eax, dword [esi + 0x90]
cmp eax, ebp
je 0x47c6d6
mov ecx, dword [esi + 0x94]
sub ecx, eax
mov eax, dword [esp + 0x14]
sar ecx, 4
cmp eax, ecx
jae 0x47c6d6
xor ebx, ebx
mov edx, dword [esi + 0x90]
mov eax, dword [esp + 0x10]
add eax, edx
mov ecx, dword [eax + 4]
cmp ecx, ebp
je 0x47c6bd
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
cmp ebx, edx
jae 0x47c6bd
mov eax, ecx
mov ecx, esi
mov edi, dword [eax + ebx*4]
push edi
call fcn.0047d810
mov ebp, eax
test ebp, ebp
je 0x47c6b5
push ebp
mov ecx, esi
call fcn.0047ed00
test eax, eax
je 0x47c6b5
mov edx, dword [esi + 0x74]
cmp edi, edx
je 0x47c6b5
mov eax, dword [esp + 0x10]
xor ecx, ecx
test ebx, ebx
sete cl
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x90]
add eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x47c676
xor eax, eax
jmp 0x47c67e
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
dec eax
xor ecx, ecx
cmp ebx, eax
lea eax, [edi + 1]
sete cl
mov dword [esp + 0x28], ecx
xor ecx, ecx
cmp eax, edx
sete cl
dec edi
mov dword [esp + 0x30], ecx
xor eax, eax
cmp edi, edx
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x18]
sete al
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x3c], eax
call fcn.0047f6a0
inc ebx
xor ebp, ebp
jmp 0x47c607
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ecx
add eax, 0x10
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp 0x47c5e0
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
call fcn.0047db20
test eax, eax
pop ebx
je 0x47c75d
mov ecx, dword [esi + 0x74]
push ecx
mov ecx, esi
call fcn.0047d810
mov edi, eax
cmp edi, ebp
je 0x47c75d
push edi
mov ecx, esi
call fcn.0047ed00
test eax, eax
je 0x47c75d
mov eax, 1
lea edx, [esi + 0x1f8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], edx
call fcn.0047dd60
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x20], eax
push ecx
mov ecx, esi
call fcn.0047ddd0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push eax
call fcn.0047f6a0
pop edi
pop esi
pop ebp
add esp, 0x28
ret 4
Function at 0x485450
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4c51a1
push eax
mov dword fs:[0], esp
sub esp, 0xec
push edi
mov edi, ecx
mov eax, dword [edi + 0x5c]
test eax, eax
jne 0x48548d
xor eax, eax
pop edi
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
add esp, 0xf8
ret
push esi
push 0x400
lea ecx, [esp + 0xc]
call fcn.004bb211
push 0
push 0x1000
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x10c], 0
call fcn.004ba559
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 1
push ecx
mov ecx, dword [edi + 0x5c]
call fcn.0047e120
lea ecx, [esp + 8]
call fcn.004bb480
lea ecx, [esp + 0x30]
call fcn.004ba6bd
mov edx, dword [esp + 8]
push 0
push 0
lea ecx, [esp + 0x10]
call dword [edx + 0x28]
push 0
push 0x1000
lea eax, [esp + 0x10]
push 1
push eax
lea ecx, [esp + 0x84]
call fcn.004ba559
lea ecx, [esp + 0x74]
lea esi, [edi + 0x60]
push ecx
mov ecx, esi
mov byte [esp + 0x100], 2
call fcn.0047e5c0
lea ecx, [esp + 0x74]
call fcn.004ba6bd
lea ecx, [esp + 8]
call fcn.004bb481
mov eax, dword [edi + 0x5c]
lea edx, [esp + 0xb8]
push edx
push 0x3c
mov eax, dword [eax + 0xc8]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea ecx, [esp + 0xb8]
push ecx
mov ecx, esi
call fcn.0047bd30
mov edx, dword [edi + 0x5c]
push 0xffffffffffffffff
mov ecx, esi
mov eax, dword [edx + 0xdc]
mov dword [esi + 0xdc], eax
call fcn.0047e030
mov ecx, esi
call fcn.0047ec40
mov eax, dword [edi + 0x5c]
push 0xffffffffffffffff
mov ecx, esi
mov eax, dword [eax + 0xe0]
mov dword [esi + 0xe0], eax
call fcn.0047e030
mov ecx, esi
call fcn.0047ec40
mov ecx, dword [edi + 0x5c]
push 0xffffffffffffffff
mov eax, dword [ecx + 0xe4]
mov ecx, esi
mov dword [esi + 0xe4], eax
call fcn.0047e030
mov ecx, esi
call fcn.0047ec40
mov ecx, dword [edi + 0x5c]
call fcn.0047b510
push eax
mov ecx, esi
call fcn.0047b520
mov ecx, dword [edi + 0x5c]
call fcn.0047bad0
push eax
mov ecx, esi
call fcn.0047ba70
mov ecx, dword [edi + 0x5c]
call fcn.0047bbf0
push eax
mov ecx, esi
call fcn.0047bba0
mov ecx, dword [edi + 0x5c]
push 0
call fcn.0047adf0
push eax
mov ecx, esi
call fcn.0047ae00
mov edx, dword [edi + 0x7c]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x74]
mov byte [esp + 0xfc], 1
call fcn.004ba635
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 0
call fcn.004ba635
lea ecx, [esp + 8]
mov dword [esp + 0xfc], 0xffffffff
call fcn.004bb29a
mov ecx, dword [esp + 0xf4]
pop esi
mov eax, 1
pop edi
mov dword fs:[0], ecx
add esp, 0xf8
ret
Function at 0x486b50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4c53c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], method.CMenu.virtual_0
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call fcn.004b132b
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.004b132b
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], method.CMenu.virtual_0
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.00487670
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x4876c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4c54a0
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.004bd204
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x4876f3
xor al, al
jmp 0x48781f
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x487715
xor al, al
jmp 0x48781f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x487728
xor al, al
jmp 0x48781f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x48773c
xor al, al
jmp 0x48781f
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.004b13f0
test eax, eax
jne 0x487770
xor al, al
jmp 0x48781f
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x4e55dc
mov dword [esp + 0x20], ebp
call fcn.004bd204
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.004ba20e
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.004ba265
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x487804
mov ax, word [ebx]
test ax, ax
je 0x4877f6
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.00487840
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x4877da
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.004ba265
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x487d80
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.004bb8be
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x487dc6
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.004a17c8
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x50961c
push ecx
call fcn.004a33fc
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x4900e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
cmp di, 0x76d
jb 0x490235
cmp di, 0x801
ja 0x490235
mov ebx, dword [esp + 0x28]
cmp bx, 1
jb 0x490235
cmp bx, 0xc
ja 0x490235
mov al, byte [esp + 0x30]
test al, al
je 0x490134
push edi
call fcn.00490670
add esp, 4
cmp ax, bx
je 0x490134
mov byte [esp + 0x30], 0
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
lea eax, [esp + 0x13]
lea ecx, [esp + 0x14]
mov word [esi], di
mov edi, dword [esp + 0x38]
push eax
lea edx, [esp + 0x1c]
mov word [edi], bx
mov ebx, dword [esp + 0x30]
push ecx
lea eax, [esp + 0x24]
mov word [ebp], bx
mov cx, word [edi]
push edx
mov dx, word [esi]
push eax
push ebx
push ecx
push edx
call fcn.00490240
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
push ebx
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
call fcn.00490060
add esp, 0x34
mov ebx, eax
xor eax, eax
inc eax
cmp eax, 0x64
mov dword [esp + 0x34], eax
jg 0x490235
test ebx, ebx
jne 0x4901c9
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x30]
cmp al, cl
je 0x49022b
test al, al
je 0x4901bc
push 0xffffffffffffffe1
jmp 0x4901be
push 0x1f
push ebp
push edi
push esi
call fcn.00490010
add esp, 0x10
neg ebx
push ebx
push ebp
push edi
push esi
call fcn.00490010
lea edx, [esp + 0x23]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x2c]
push eax
mov ax, word [ebp]
lea edx, [esp + 0x34]
push ecx
mov cx, word [edi]
push edx
mov dx, word [esi]
push eax
push ecx
push edx
call fcn.00490240
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x54]
push eax
push ecx
push edx
call fcn.00490060
mov ebx, eax
mov eax, dword [esp + 0x78]
add esp, 0x44
jmp 0x490196
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret
Function at 0x4918c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c6398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push 0x53b818
lea ecx, [esp + 4]
call fcn.004b3415
push 0x51032c
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0
call fcn.004b3415
push 0x510328
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 1
call fcn.004b3415
push 0x510324
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call fcn.004b3415
push 0x510320
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 3
call fcn.004b3415
push 0x51031c
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 4
call fcn.004b3415
push 0x510318
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 5
call fcn.004b3415
push 0x510314
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 6
call fcn.004b3415
push 0x510310
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 7
call fcn.004b3415
push 0x51030c
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 8
call fcn.004b3415
push 0x510308
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 9
call fcn.004b3415
push 0x510304
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], 0xa
call fcn.004b3415
push 0x510300
lea ecx, [esp + 0x34]
mov byte [esp + 0x40], 0xb
call fcn.004b3415
mov eax, dword [esp + 0x44]
mov byte [esp + 0x3c], 0xc
cmp eax, 1
jge 0x4919f0
cmp eax, 0xc
jle 0x4919f0
mov ecx, dword [esp + 0x48]
push 0x53b818
call fcn.004b34e4
jmp 0x4919fe
mov ecx, dword [esp + 0x48]
lea eax, [esp + eax*4]
push eax
call fcn.004b3494
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], 0xb
call fcn.004b33a7
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 0xa
call fcn.004b33a7
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 9
call fcn.004b33a7
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 8
call fcn.004b33a7
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 7
call fcn.004b33a7
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 6
call fcn.004b33a7
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 5
call fcn.004b33a7
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 4
call fcn.004b33a7
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 3
call fcn.004b33a7
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 2
call fcn.004b33a7
lea ecx, [esp + 8]
mov byte [esp + 0x3c], 1
call fcn.004b33a7
lea ecx, [esp + 4]
mov byte [esp + 0x3c], 0
call fcn.004b33a7
lea ecx, [esp]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004b33a7
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret

Function at 0x4b57d7
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4b580f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004b3802
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004b37da
jmp 0x4b581b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x4b6fd2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4b7014
call fcn.004bd204
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4b7014
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b700b
xor eax, eax
jmp 0x4b701c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b7022
pop edi
pop esi
pop ebx
ret 4

Function at 0x4bd733
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4bd761
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4bd77f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004bd699
jmp 0x4bd77f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4bd77f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004bd699
test edi, edi
mov eax, edi
jne 0x4bd769
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x407630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44c598
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
lea eax, [esi + 4]
mov dword [esp + 8], esi
lea ecx, [eax + 0x10]
mov dword [eax + 8], edi
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [ecx + 8], edi
mov dword [ecx + 4], edi
mov dword [ecx], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], edi
mov dword [esi], eax
mov dword [esi + 0x28], edi
push edi
push edi
push edi
lea ecx, [esi + 0x30]
mov dword [esp + 0x20], edi
call fcn.0042849d
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x2c], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x407646
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44c598
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
lea eax, [esi + 4]
mov dword [esp + 8], esi
lea ecx, [eax + 0x10]
mov dword [eax + 8], edi
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [ecx + 8], edi
mov dword [ecx + 4], edi
mov dword [ecx], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], edi
mov dword [esi], eax
mov dword [esi + 0x28], edi
push edi
push edi
push edi
lea ecx, [esi + 0x30]
mov dword [esp + 0x20], edi
call fcn.0042849d
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x2c], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40a350
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x4622cc]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x40a363
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp word [esp + 0x10c], 1
je 0x40a3a5
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x462374]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x40a3d7
mov bl, byte [esp + ecx + 0x4c]
jmp 0x40a3db
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x40a3cc
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x40a3f9
mov bl, byte [esp + ecx + 0x4c]
jmp 0x40a3fd
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x40a3ee
xor ecx, ecx
mov eax, 0x4622dc
xor ebx, ebx
mov bl, byte [ecx + 0x462384]
cmp byte [esp + ebx + 0x14], 0
je 0x40a428
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x46239c]
cmp byte [esp + ebx + 0x14], 0
je 0x40a43f
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x40a40f
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x40a397
lea edx, [esp + 0x84]
push edx
call fcn.0040a480
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x40e070
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x44cdd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push 0x40d930
push 0x40d960
lea ecx, [esp + 0x18]
call fcn.0041ab30
mov dword [esp + 0x58], 0
xor edi, edi
mov esi, 0x462c9c
mov eax, dword [esi]
push 0
push 1
push edi
push eax
lea ecx, [esp + 0x20]
call fcn.0041acf0
add esi, 4
inc edi
cmp esi, 0x462ccc
jl 0x40e0b0
push 0x462f54
push 0x88
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push 0
lea ecx, [esp + 0x18]
call fcn.0041ab70
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
lea esi, [ebx + 0x15c]
mov dword [0x4667c8], eax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x40e1a3
mov ebx, dword [esi]
mov ebp, dword [esi + 4]
cmp ebx, ebp
je 0x40e16b
mov ecx, dword [esi]
mov edi, ebx
lea eax, [ebx + 4]
cmp edi, ecx
mov ebx, dword [eax]
jne 0x40e13f
mov ecx, dword [ecx + 4]
mov dword [esi], ecx
mov dword [ecx], 0
jmp 0x40e14c
mov ecx, dword [edi]
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax]
mov ecx, dword [edi]
mov dword [eax], ecx
mov ecx, dword [esi + 0x10]
dec ecx
test edi, edi
mov dword [esi + 0x10], ecx
je 0x40e167
mov ecx, edi
call fcn.00411330
push edi
call fcn.00434c25
add esp, 4
cmp ebx, ebp
jne 0x40e125
mov eax, dword [esi]
cmp ebp, eax
jne 0x40e17e
mov eax, dword [eax + 4]
mov dword [esi], eax
mov dword [eax], 0
jmp 0x40e18f
mov edx, dword [ebp]
mov eax, dword [ebp + 4]
mov dword [edx + 4], eax
mov ecx, dword [ebp + 4]
mov edx, dword [ebp]
mov dword [ecx], edx
mov ecx, dword [esi + 0x10]
dec ecx
test ebp, ebp
mov dword [esi + 0x10], ecx
je 0x40e1a3
push 1
mov ecx, ebp
call fcn.00411770
lea ecx, [esp + 0x10]
mov dword [0x4667cc], 0
call fcn.0041ae30
push 0
push 0
push 1
mov ecx, esi
call fcn.00410950
lea ecx, [esp + 0x10]
mov dword [esp + 0x58], 0xffffffff
call fcn.0041ab90
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret

Function at 0x40f841
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x40f866
lea eax, [esp + 4]
push eax
push 0
push 0
push fcn.004123a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x64], eax
pop esi
pop ecx
ret

Function at 0x40f8a1
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x40f8c6
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x40f870
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
pop esi
pop ecx
ret
Function at 0x410110
Capabilities:
Create thread

Disassembly:
push ecx
mov al, byte [0x4656f8]
push ebx
test al, 1
mov ebx, ecx
jne 0x410145
or al, 1
push 0x40fda0
push 0x40f910
mov ecx, 0x4656b8
mov byte [0x4656f8], al
call fcn.0041ab30
push 0x4101b0
call fcn.00429423
add esp, 4
push esi
push edi
xor edi, edi
mov esi, 0x462ccc
mov eax, dword [esi]
push 0
push 1
push edi
push eax
mov ecx, 0x4656b8
call fcn.0041acf0
add esi, 4
inc edi
cmp esi, 0x462d18
jl 0x41014e
lea ecx, [esp + 0xc]
push ecx
push 0
push 0x4656b8
push 0x40fe60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
mov dword [0x467808], eax
test eax, eax
pop esi
je 0x4101ac
mov edx, dword [ebx + 8]
mov ecx, 0x4656b8
push edx
call fcn.0041b2a0
mov eax, dword [ebx + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop ebx
pop ecx
ret