joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42de90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x49d578]
xor edx, edx
cmp eax, edx
jne 0x42deb6
xor eax, eax
mov byte [eax + 0x49d478], al
inc eax
cmp eax, 0x100
jl 0x42de9e
mov dword [0x49d578], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x49d478
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42df47
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x42df1a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x42dee8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42dfc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x42e013
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x42dffa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f230
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x468f18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00462e55
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0042ebd0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00462d83
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0045d8bf
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0045d8bf
push 1
push 0
push 0
mov ecx, esi
call fcn.0045d867
push 1
push 0
push 1
mov ecx, esi
call fcn.0045d867
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00462ec7
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x42f3b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x468f38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00462e55
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0042ebd0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00462d83
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x42f474
cmp dword [esp + 0x40], 1
jne 0x42f472
cmp ecx, eax
jge 0x42f474
mov eax, ecx
cmp eax, 0xc8
jge 0x42f480
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0042f230
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00462ec7
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x42fc00
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x468fa3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045bc98
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004630fd
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00464a9b
test eax, eax
je 0x42fd1c
mov ecx, dword [esp + 0x3c]
call fcn.0046312a
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x42fce0
push edi
mov ecx, esi
call fcn.0045f8fb
mov ecx, esi
call fcn.0042fe80
cmp dword [esp + 0x38], 1
jne 0x42fd15
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0045fa36
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x435c20
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4695a8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x435c59
inc eax
mov dword [esi + 0x10], eax
jmp 0x435d6c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x435c6d
mov eax, 0xffffffc7
jmp 0x435d6e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x435c7e
cmp dword [esi + 8], eax
jne 0x435c6d
cmp dword [esi + 8], eax
jne 0x435c97
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x435c97
mov eax, 0xffffffc7
jmp 0x435d6e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x435cab
push eax
mov ecx, ebx
call fcn.00435450
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00401060
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x435cdc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004010b0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00434bc0
test eax, eax
mov dword [esp + 0x38], eax
je 0x435d0f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46e408
call fcn.00401290
mov eax, dword [esp + 0x38]
jmp 0x435d6e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00435a80
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x435d53
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00435aa0
mov esi, eax
test esi, esi
jne 0x435d83
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00435a80
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x435d25
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46e408
call fcn.00401290
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46e408
call fcn.00401290
mov eax, esi
jmp 0x435d6e
Function at 0x439180
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4391b3
push esi
call fcn.0043c120
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4391ac
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x439239
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x439222
mov eax, dword [esi + 8]
test eax, eax
je 0x4391d7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43921e
cmp eax, 2
je 0x439222
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4391ca
cmp eax, 3
je 0x4391fd
cmp eax, 1
jne 0x4391ca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4391ca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4391ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00439260
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x439248
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00439260
add esp, 4
pop esi
ret
Function at 0x447140
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 0x447295
cmp di, 0x801
ja 0x447295
mov ebx, dword [esp + 0x28]
cmp bx, 1
jb 0x447295
cmp bx, 0xc
ja 0x447295
mov al, byte [esp + 0x30]
test al, al
je 0x447194
push edi
call fcn.004476d0
add esp, 4
cmp ax, bx
je 0x447194
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.004472a0
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.004470c0
add esp, 0x34
mov ebx, eax
xor eax, eax
inc eax
cmp eax, 0x64
mov dword [esp + 0x34], eax
jg 0x447295
test ebx, ebx
jne 0x447229
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x30]
cmp al, cl
je 0x44728b
test al, al
je 0x44721c
push 0xffffffffffffffe1
jmp 0x44721e
push 0x1f
push ebp
push edi
push esi
call fcn.00447070
add esp, 0x10
neg ebx
push ebx
push ebp
push edi
push esi
call fcn.00447070
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.004472a0
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.004470c0
mov ebx, eax
mov eax, dword [esp + 0x78]
add esp, 0x44
jmp 0x4471f6
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 0x448950
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x469ba8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push 0x49da60
lea ecx, [esp + 4]
call fcn.0045f2cd
push 0x48cc7c
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0
call fcn.0045f2cd
push 0x48cc78
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 1
call fcn.0045f2cd
push 0x48cc74
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call fcn.0045f2cd
push 0x48cc70
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 3
call fcn.0045f2cd
push 0x48cc6c
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 4
call fcn.0045f2cd
push 0x48cc68
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 5
call fcn.0045f2cd
push 0x48cc64
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 6
call fcn.0045f2cd
push 0x48cc60
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 7
call fcn.0045f2cd
push 0x48cc5c
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 8
call fcn.0045f2cd
push 0x48cc58
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 9
call fcn.0045f2cd
push 0x48cc54
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], 0xa
call fcn.0045f2cd
push 0x48cc50
lea ecx, [esp + 0x34]
mov byte [esp + 0x40], 0xb
call fcn.0045f2cd
mov eax, dword [esp + 0x44]
mov byte [esp + 0x3c], 0xc
cmp eax, 1
jge 0x448a80
cmp eax, 0xc
jle 0x448a80
mov ecx, dword [esp + 0x48]
push 0x49da60
call fcn.0045f39c
jmp 0x448a8e
mov ecx, dword [esp + 0x48]
lea eax, [esp + eax*4]
push eax
call fcn.0045f34c
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], 0xb
call fcn.0045f25f
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 0xa
call fcn.0045f25f
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 9
call fcn.0045f25f
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 8
call fcn.0045f25f
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 7
call fcn.0045f25f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 6
call fcn.0045f25f
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 5
call fcn.0045f25f
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 4
call fcn.0045f25f
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 3
call fcn.0045f25f
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 2
call fcn.0045f25f
lea ecx, [esp + 8]
mov byte [esp + 0x3c], 1
call fcn.0045f25f
lea ecx, [esp + 4]
mov byte [esp + 0x3c], 0
call fcn.0045f25f
lea ecx, [esp]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0045f25f
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x449460
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x469d75
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [esp + 8], edi
mov dword [edi], method.CWnd.virtual_0
mov dword [esp + 0x18], 0
lea esi, [edi + 0x84]
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x4dc]
mov byte [esp + 0x18], 7
call fcn.004649f4
lea ecx, [esi + 0x4a0]
mov byte [esp + 0x18], 6
call fcn.004649f4
lea ecx, [esi + 0x488]
mov byte [esp + 0x18], 5
call fcn.0045f25f
lea ecx, [esi + 0x484]
mov byte [esp + 0x18], 4
call fcn.0045f25f
lea ecx, [esi + 0x5c]
mov byte [esp + 0x18], 3
call fcn.004460a0
mov ecx, esi
mov byte [esp + 0x18], 2
call fcn.004600e0
lea ecx, [edi + 0x80]
mov byte [esp + 0x18], 1
call fcn.0045f25f
lea esi, [edi + 0x48]
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 0xc
call fcn.0045f25f
lea ecx, [esi + 0x2c]
mov byte [esp + 0x18], 0xb
call fcn.0045f25f
lea ecx, [esi + 0x28]
mov byte [esp + 0x18], 0xa
call fcn.0045f25f
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], 9
call fcn.0045f25f
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 8
call fcn.0045f25f
lea ecx, [esi + 0x1c]
mov byte [esp + 0x18], 0
call fcn.0045f25f
mov ecx, edi
mov dword [esp + 0x18], 0xffffffff
call fcn.0045c798
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x45cad5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45cb0d
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.0045f6ba
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045f692
jmp 0x45cb19
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45e1c7
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 0x45e209
call fcn.00465828
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45e209
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45e200
xor eax, eax
jmp 0x45e211
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045e217
pop edi
pop esi
pop ebx
ret 4

Function at 0x46011e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x460140
cmp dword [edi + 0x3c], 0
jne 0x460140
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00465828
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0046016d
pop edi
pop esi
pop ebx
ret 8
Function at 0x465ee6
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 0x465f14
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x465f32
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00465e4c
jmp 0x465f32
mov eax, dword [esi + 0x14]
test eax, eax
je 0x465f32
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00465e4c
test edi, edi
mov eax, edi
jne 0x465f1c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x405fcc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406032
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404618
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0040306c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40601c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406039
lea eax, [ebp - 0x10]
call fcn.004043a8
ret

Function at 0x40b130
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b169
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404498
jmp 0x40b172
mov eax, ebx
mov edx, esi
call fcn.004043fc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b17c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b19d
mov al, byte [esp]
jmp 0x40b19f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b834
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b69c
mov eax, dword [0x454064]
cmp byte [eax], 0
je 0x40b8b0
mov eax, dword [0x453e88]
call fcn.00402ed8
call fcn.00402bb4
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408920
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b8f8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b8e6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x453e38]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x455664]
call fcn.00405438
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40c154
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c22a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404440
lea eax, [ebp - 8]
call fcn.004048b8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404868
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c214
mov eax, ebx
call fcn.00402a28
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c20d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404868
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c1f7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c23c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c1f7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c214
mov eax, dword [ebp - 0x10]
call fcn.00402a58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c231
lea eax, [ebp - 8]
call fcn.004043a8
ret

Function at 0x40c704
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c768
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404618
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040840c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c76f
lea eax, [ebp - 0xc]
call fcn.004043a8
ret

Function at 0x40d410
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffc00
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.004043a8
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.00404868
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableA
mov ebx, eax
cmp ebx, 0x400
jge 0x40d455
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.00404498
jmp 0x40d46e
mov edx, ebx
dec edx
mov eax, esi
call fcn.004049f4
push ebx
mov eax, dword [esi]
call fcn.00404868
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableA
add esp, 0x400
pop ebp
pop edi
pop esi
pop ebx
ret