joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446f45
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x100
push ebx
push esi
mov esi, dword [esp + 0x10c]
test eax, 0x200
je 0x446f63
or dword [esi + 0x10], 8
test eax, 0x400
je 0x446f6e
or dword [esi + 0x10], 1
test eax, 0x100
je 0x446f79
or dword [esi + 0x10], 2
mov eax, dword [esi + 0x10]
test al, 8
je 0x446f8d
test eax, 0x800
je 0x446f8d
xor eax, 8
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
test al, 1
je 0x446fa1
test eax, 0x100
je 0x446fa1
xor eax, 1
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
test al, 2
je 0x446fb5
test eax, 0x200
je 0x446fb5
xor eax, 2
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
test al, 0x10
je 0x446fc9
test eax, 0x1000
je 0x446fc9
xor eax, 0x10
mov dword [esi + 0x10], eax
xor ebx, ebx
cmp dword [esi + 0x14], ebx
je 0x447027
lea eax, [esp + 8]
push eax
call dword [0x4835b8]
mov eax, dword [esi + 0x10]
test eax, 0x800
jne 0x446fe9
mov byte [esp + 0x19], bl
test eax, 0x100
jne 0x446ff4
mov byte [esp + 0x1a], bl
test eax, 0x200
jne 0x447006
mov ecx, dword [esi + 0x20]
mov byte [esp + 0x18], bl
mov byte [esp + ecx + 8], bl
test eax, 0x1000
jne 0x447011
mov byte [esp + 0x63], bl
lea edx, [esp + 8]
push edx
call dword [0x4835b4]
pop esi
pop ebx
add esp, 0x100
ret 8
push ebp
push edi
mov edi, dword [0x483710]
push 0x11
call edi
mov ebp, dword [0x4835bc]
mov ecx, 0x8000
test cx, ax
jne 0x447051
push 0x11
call ebp
mov edx, 0x8000
test dx, ax
je 0x447063
test dword [esi + 0x10], 0x800
jne 0x447063
push ebx
push 0x11
push esi
call fcn.004468e0
push 0x12
call edi
mov ecx, 0x8000
test cx, ax
jne 0x44707f
push 0x12
call ebp
mov edx, 0x8000
test dx, ax
je 0x447091
test dword [esi + 0x10], 0x100
jne 0x447091
push ebx
push 0x12
push esi
call fcn.004468e0
mov eax, dword [esi + 0x20]
push eax
call edi
mov ecx, 0x8000
test cx, ax
jne 0x4470b1
mov edx, dword [esi + 0x20]
push edx
call ebp
mov ecx, 0x8000
test cx, ax
je 0x4470c5
test dword [esi + 0x10], 0x200
jne 0x4470c5
mov edx, dword [esi + 0x20]
push ebx
push edx
push esi
call fcn.004468e0
push 0xa1
call edi
mov ecx, 0x8000
test cx, ax
jne 0x4470e7
push 0xa1
call ebp
mov edx, 0x8000
test dx, ax
je 0x4470fc
test dword [esi + 0x10], 0x400
jne 0x4470fc
push ebx
push 0xa1
push esi
call fcn.004468e0
push 0x5b
call edi
mov ecx, 0x8000
test cx, ax
jne 0x447118
push 0x5b
call ebp
mov edx, 0x8000
test dx, ax
je 0x44712a
test dword [esi + 0x10], 0x1000
jne 0x44712a
push ebx
push 0x5b
push esi
call fcn.004468e0
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x100
ret 8
Function at 0x447178
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push esi
call dword [0x4835bc]
mov bx, ax
and bl, 1
cmp byte [esp + 0x14], bl
je 0x4471df
push ebp
push edi
mov edi, dword [0x483654]
push 0
push esi
call edi
mov ebp, dword [0x4835c0]
push 0
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x20]
push 0
push eax
push esi
call ebp
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0043975d
push 0
push esi
call edi
push 0
mov byte [esp + 0x20], al
mov edx, dword [esp + 0x20]
push 2
push edx
push esi
call ebp
mov eax, dword [esp + 0x14]
push eax
call fcn.00439774
pop edi
pop ebp
pop esi
mov al, bl
pop ebx
ret 0xc

Function at 0x44724d
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
lea ecx, [eax + 4]
push edi
mov edi, dword [eax + edx]
mov dword [esi], ecx
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00412c3a
mov ebx, eax
mov eax, dword [esi]
add eax, dword [esp + 0x18]
lea ebp, [edi + edi]
push ebp
push eax
push ebx
call fcn.00412490
add dword [esi], ebp
xor ecx, ecx
add esp, 0x10
xor eax, eax
mov word [ebx + ebp], cx
test edi, edi
jle 0x4472a9
xor word [ebx + eax*2], di
inc eax
cmp eax, edi
jl 0x4472a0
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 8

Function at 0x44786c
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push ebx
call dword [0x483618]
test eax, eax
jne 0x447888
mov eax, dword [esp + 0x10]
cmp byte [eax + 5], 1
jne 0x4478e0
push 0
push 0
push 0xe
push ebx
call dword [0x483650]
mov edi, eax
test edi, edi
jne 0x4478a0
mov edi, 0x7fff
push ebp
xor ecx, ecx
lea ebp, [edi + 1]
mov eax, ebp
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00412c3a
add esp, 4
mov esi, eax
push esi
push ebp
push 0xd
push ebx
call dword [0x483650]
xor ecx, ecx
mov word [esi + edi*2], cx
pop ebp
test eax, eax
jg 0x4478eb
push esi
call fcn.0041294d
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
ret 8
mov edi, dword [esp + 0x10]
cmp byte [edi + 0xc], 0
jne 0x447906
push esi
call fcn.004127f5
add esp, 4
push eax
push esi
call dword [0x483640]
mov eax, dword [edi + 0x24]
push eax
push esi
call fcn.00414c82
add esp, 8
push esi
test eax, eax
je 0x4478d8
mov byte [edi + 0xf0], 1
call fcn.0041294d
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
Function at 0x44aed3
Capabilities:
Hide graphical window

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0xc
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
push edx
push 0x4a5e00
call fcn.00443fe7
test al, al
je case.0x44af5c.8
mov eax, dword [esp + 0x20]
mov ecx, dword [0x4a5e60]
mov edx, dword [ecx + eax*4]
mov eax, dword [esp + 0x14]
mov ebx, dword [edx]
mov ecx, dword [0x4a5e74]
mov edx, dword [ecx + eax*4]
mov esi, dword [edx]
mov al, byte [esi + 0x88]
mov edi, dword [esi]
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x24], al
call fcn.0043774f
mov eax, dword [esi + 0x44]
add esp, 4
test eax, eax
jl 0x44af43
push eax
call fcn.00443899
movzx eax, byte [esp + 0x20]
cmp eax, 0x1b
ja case.0x44af5c.8
movzx edx, byte [eax + 0x44b103]
mov ebp, dword [esp + 0x24]
jmp dword [edx*4 + 0x44b0df]
mov ebp, dword [esp + 0x24]
cmp ebp, 0xfffffffe
je case.0x44af5c.8
cmp ebp, 0xfe000000
jne 0x44af88
push 1
push ebp
mov dword [esi + 0x44], ebp
call fcn.00443926
jmp 0x44b0a7
mov ebx, dword [0x483650]
push ebp
push 0
push 0x1001
push edi
call ebx
push ebp
push 0
push 0x1026
push edi
call ebx
mov eax, dword [esp + 0x18]
push 1
push esi
push eax
call fcn.00435c24
jmp 0x44b0a7
mov eax, dword [esp + 0x24]
test eax, eax
jl case.0x44af5c.8
push 1
push eax
mov dword [esi + 0x44], eax
call fcn.00443926
jmp 0x44b0a7
mov eax, dword [esp + 0x24]
test eax, eax
jl case.0x44af5c.8
push eax
push 0
push 0x2001
push edi
call dword [0x483650]
jmp 0x44b0a7
mov eax, dword [esp + 0x24]
test eax, eax
jl case.0x44af5c.8
push eax
push 0
push 0x111d
push edi
call dword [0x483650]
jmp 0x44b0a7
mov eax, dword [esp + 0x24]
test eax, eax
jl case.0x44af5c.8
push 1
push eax
mov dword [esi + 0x44], eax
call fcn.00443926
mov ecx, dword [esi + 0x30]
push 1
push 0
push ecx
call dword [0x483620]
jmp 0x44b0a7
test ebp, ebp
jl case.0x44af5c.8
push 0xfffffffffffffff0
push edi
call dword [0x483718]
or eax, 0xb
push eax
push 0xfffffffffffffff0
push edi
call dword [0x4834d8]
push 1
push ebp
mov dword [esi + 0x44], ebp
call fcn.00443926
push 1
push esi
push ebx
call fcn.00435c24
jmp 0x44b0a7
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
jl case.0x44af5c.8
push 1
push eax
mov dword [esi + 0x44], eax
call fcn.00443926
test byte [esi + 0x8a], 0x20
jne 0x44b0a7
mov edx, dword [esi]
mov edi, dword [0x4836e0]
push 0
push edx
call edi
mov eax, dword [esi]
push 5
push eax
call edi
mov ecx, dword [esi]
push ecx
call dword [0x4836c8]
cmp dword [0x494ce4], 0
je 0x44b0c4
cmp byte [esp + 0x20], 8
jne 0x44b0c4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 8
Function at 0x44d402
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
sub dword [0x49323c], 1
jne 0x44d411
call fcn.004451ff
mov ecx, dword [0x4a4d04]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4a4d04], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov edx, eax
shr edx, 0x12
xor edx, eax
mov dword [esp], edx
fild dword [esp]
test edx, edx
jge 0x44d45a
fadd qword [0x48d260]
fmul qword [0x48d268]
pop ecx
ret

Function at 0x4508c0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x430
push ebx
push ebp
push esi
mov esi, dword [esp + 0x440]
push edi
xor ebp, ebp
mov eax, dword [esi]
push eax
push 4
lea ecx, [esp + 0x1c]
push 1
push ecx
call fcn.004167f9
add esp, 0x10
push 0x18ee
push 4
lea edx, [esp + 0x1c]
push edx
call fcn.0044d0f5
lea eax, [esp + 0x14]
push str.FILE
push eax
mov byte [esp + 0x20], 0
call fcn.004154c0
add esp, 8
test eax, eax
jne 0x450a54
mov ecx, dword [esi]
push ecx
push 1
lea edx, [esp + 0x18]
push 4
push edx
inc ebp
call fcn.004167f9
mov edi, dword [esp + 0x20]
mov eax, dword [esi]
push eax
xor edi, 0xadbc
lea ebx, [edi + edi]
push ebx
lea ecx, [esp + 0x38]
push 1
push ecx
call fcn.004167f9
add esp, 0x20
add edi, 0xb33f
push edi
push ebx
lea edx, [esp + 0x28]
push edx
call fcn.0044d0f5
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x234]
xor eax, eax
push edx
mov word [esp + ebx + 0x28], ax
call fcn.00412bb1
mov eax, dword [esi]
push eax
push 1
lea ecx, [esp + 0x20]
push 4
push ecx
call fcn.004167f9
mov edi, dword [esp + 0x28]
mov edx, dword [esi]
push edx
xor edi, 0xf820
lea ebx, [edi + edi]
push ebx
lea eax, [esp + 0x40]
push 1
push eax
call fcn.004167f9
add esp, 0x28
add edi, 0xf479
push edi
push ebx
lea ecx, [esp + 0x28]
push ecx
call fcn.0044d0f5
mov ecx, dword [esp + 0x44c]
lea eax, [esp + 0x20]
push eax
xor edx, edx
push ecx
mov word [esp + ebx + 0x28], dx
call fcn.00412bb1
mov edi, dword [esp + 0x450]
lea edx, [esp + 0x238]
push edi
push edx
call fcn.00414904
add esp, 0x10
test eax, eax
je 0x450a45
push 0x488464
push edi
call fcn.00414904
add esp, 8
test eax, eax
jne 0x450a02
test ebp, ebp
je 0x450a45
mov eax, dword [esi]
push 1
push 1
push eax
call fcn.00416abd
mov ecx, dword [esi]
add esp, 0xc
push ecx
push 1
lea edx, [esp + 0x24]
push 4
push edx
call fcn.004167f9
mov eax, dword [esp + 0x2c]
xor eax, 0x87bc
mov dword [esp + 0x2c], eax
add eax, 0x18
push 1
push eax
mov eax, dword [esi]
push eax
call fcn.00416abd
add esp, 0x1c
jmp 0x4508d3
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x430
ret 0xc
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 0x430
ret 0xc
Function at 0x4541b7
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esi]
lea eax, [esp + 0x10]
push eax
call dword [0x483584]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push edi
mov dword [esi + 0x160], ecx
mov dword [esi + 0x164], edx
call dword [0x483634]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp eax, dword [esi + 0x168]
jne 0x45420b
cmp ecx, dword [esi + 0x16c]
je 0x454229
cmp dword [esp + 0x24], 1
mov dword [esi + 0x168], eax
mov dword [esi + 0x16c], ecx
jl 0x454229
push ecx
push eax
push esi
push 0xfffffffffffffff5
push ebx
call fcn.0044ffdd
mov ecx, dword [ebx + 0x18]
mov ebp, dword [0x483710]
push ecx
call ebp
mov edx, dword [ebx + 0x1c]
movzx edi, ax
push edx
shr edi, 0xf
call ebp
movzx ebp, ax
shr ebp, 0xf
cmp edi, dword [esi + 0x170]
je 0x4542c9
cmp dword [esp + 0x24], 1
jl 0x4542c9
cmp byte [esi + 0x19c], 0
je 0x4542c9
test edi, edi
je 0x454272
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
push esi
push 0xfffffffffffffff9
jmp 0x4542bc
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
push esi
push 0xfffffffffffffff8
push ebx
call fcn.0044ffdd
cmp byte [esi + 0x178], 0
je 0x4542c2
mov ecx, dword [esi]
push 0xfffffffffffffff0
push ecx
call dword [0x483718]
test eax, 0x1000000
je 0x4542af
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
push esi
push 0xfffffffffffffffa
jmp 0x4542bc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
push esi
push 0xfffffffffffffff4
push ebx
call fcn.0044ffdd
mov byte [esi + 0x178], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4542d7
mov dword [esi + 0x170], edi
cmp ebp, dword [esi + 0x174]
je 0x45430a
cmp eax, 1
jl 0x45430a
test ebp, ebp
je 0x4542f7
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
push esi
push 0xfffffffffffffff7
jmp 0x454304
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
push esi
push 0xfffffffffffffff6
push ebx
call fcn.0044ffdd
cmp dword [esp + 0x24], 0
je 0x454317
mov dword [esi + 0x174], ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x456522
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
sub esp, 0x264
push ebp
mov ebp, dword [esp + 0x278]
push esi
mov esi, dword [esp + 0x274]
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
call fcn.00407150
lea ecx, [esp + 0x18]
call fcn.00407150
lea ecx, [esp + 0x38]
call fcn.00407150
push str.SOFTWAREClasses_
lea eax, [esp + 0x2c]
call fcn.00401c70
mov edi, dword [esp + 0x274]
lea eax, [esp + 0x28]
call fcn.004013a0
mov edi, str.CLSID
lea eax, [esp + 0x28]
call fcn.004013a0
push 0x4858e8
lea eax, [esp + 0x1c]
call fcn.00401c70
test esi, esi
je 0x4565c8
cmp word [esi], 0x5c
je 0x4565c8
cmp word [esi + 2], 0x5c
je 0x4565c8
push 0x48b74c
lea eax, [esp + 0x1c]
call fcn.00401c70
mov edi, esi
lea eax, [esp + 0x18]
call fcn.004013a0
test ebp, ebp
je 0x456626
push 0x20
lea eax, [esp + 0x4c]
push 0
push eax
call fcn.00414710
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea esi, [esp + 0x3c]
mov dword [esp + 0x50], 0
call fcn.0040f420
mov edi, str.IPC_
mov eax, esi
call fcn.004013a0
mov eax, dword [esp + 0x284]
mov edx, dword [esp + 0x38]
push 0
push ebp
push eax
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x6c], edx
call sub.MPR.dll_WNetAddConnection2W
mov esi, eax
test esi, esi
jne 0x4566d9
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push reloc.WSOCK32.dll_bind
push eax
call dword [0x483018]
mov esi, eax
test esi, esi
jne 0x4566d9
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push eax
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [0x483040]
mov ebp, dword [0x483038]
mov esi, eax
test esi, esi
jne 0x4566d2
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x6c]
push edx
push 0
push 0
push 0
push eax
mov dword [esp + 0x28], 0x1fe
call dword [0x48303c]
mov esi, eax
test esi, esi
jne 0x4566cb
mov eax, dword [esp + 0x10]
shr eax, 1
xor ecx, ecx
lea edi, [esp + 0x68]
mov dword [esp + 0x10], eax
mov word [esp + eax*2 + 0x68], cx
call fcn.00411380
mov edx, dword [esp + 0x27c]
mov edi, eax
push edx
push edi
call dword [0x483810]
push edi
mov esi, eax
call fcn.00414ce3
add esp, 4
mov eax, dword [esp + 0xc]
push eax
call ebp
mov ecx, dword [esp + 0x14]
push ecx
call ebp
lea ecx, [esp + 0x38]
call fcn.004020b0
lea ecx, [esp + 0x18]
call fcn.004020b0
lea ecx, [esp + 0x28]
call fcn.004020b0
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x264
ret
Function at 0x456700
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x24c
push ebx
push ebp
mov ebp, dword [esp + 0x258]
push esi
push edi
lea ecx, [esp + 0x30]
call fcn.00407150
fld1
lea eax, [esp + 0x24]
fstp qword [esp + 0x28]
push eax
push ebp
call dword [0x48381c]
mov esi, eax
test esi, esi
jl 0x456901
mov edi, dword [esp + 0x24]
call fcn.00411380
mov esi, eax
push str.interface_
lea eax, [esp + 0x34]
call fcn.00401c70
mov edi, esi
lea eax, [esp + 0x30]
call fcn.004013a0
mov edi, str.TypeLib
lea eax, [esp + 0x30]
call fcn.004013a0
push esi
call fcn.00414ce3
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
call dword [0x48380c]
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push accept
call dword [0x483040]
mov esi, eax
test esi, esi
jne 0x456901
mov ebx, dword [0x48303c]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x54]
push edx
push eax
push eax
push eax
mov eax, dword [esp + 0x30]
push eax
mov dword [esp + 0x2c], 0x1fe
call ebx
mov esi, eax
test esi, esi
jne 0x4568f6
mov eax, dword [esp + 0x14]
shr eax, 1
xor ecx, ecx
lea edi, [esp + 0x50]
mov dword [esp + 0x14], eax
mov word [esp + eax*2 + 0x50], cx
call fcn.00411380
lea edx, [esp + 0x40]
mov edi, eax
push edx
push edi
call dword [0x483810]
push edi
mov esi, eax
call fcn.00414ce3
add esp, 4
test esi, esi
jl 0x4568f6
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x54]
push ecx
push 0
push 0
push str.Version
push edx
mov dword [esp + 0x2c], 0x1fe
call ebx
test eax, eax
jne 0x456851
mov eax, dword [esp + 0x14]
shr eax, 1
lea edx, [esp + 0x50]
xor ecx, ecx
push edx
mov dword [esp + 0x18], eax
mov word [esp + eax*2 + 0x54], cx
call fcn.004154a7
fstp qword [esp + 0x2c]
add esp, 4
fld1
lea eax, [esp + 0x20]
push eax
push 0
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esp + 0x40]
fstp qword [esp]
call fcn.00416fa0
fnstcw word [esp + 0x2a]
add esp, 0x10
movzx eax, word [esp + 0x1a]
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp dword [esp + 0x20]
mov cx, word [esp + 0x20]
movzx edx, cx
push edx
fldcw word [esp + 0x1e]
lea edx, [esp + 0x4c]
fld qword [esp + 0x34]
fnstcw word [esp + 0x1e]
movzx eax, word [esp + 0x1e]
or eax, 0xc00
mov dword [esp + 0x24], eax
fldcw word [esp + 0x24]
fistp dword [esp + 0x24]
mov ax, word [esp + 0x24]
movzx ecx, ax
push ecx
fldcw word [esp + 0x22]
push edx
call dword [0x48343c]
mov esi, eax
test esi, esi
jl 0x4568f6
mov edx, dword [esp + 0x264]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push edx
push ebp
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
push eax
call dword [0x483038]
lea ecx, [esp + 0x30]
call fcn.004020b0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x24c
ret
Function at 0x456917
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x284
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x20]
mov esi, 0x80004002
xor ebx, ebx
mov dword [esp + 0x14], 0x28
call fcn.00407150
mov ebp, dword [0x483040]
lea eax, [esp + 0x1c]
push eax
push 0x20019
push ebx
push str.interface
push accept
call ebp
test eax, eax
jne 0x456a5c
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x20]
push 0
push 0
push 0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x4c]
push eax
push ebx
push ecx
call dword [0x48301c]
test eax, eax
jne 0x456a51
mov eax, dword [esp + 0x14]
xor edx, edx
mov word [esp + eax*2 + 0x38], dx
push str.interface_
lea eax, [esp + 0x24]
mov dword [esp + 0x18], 0x1fe
call fcn.00401c70
lea edi, [esp + 0x38]
lea eax, [esp + 0x20]
call fcn.004013a0
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push 0
push edx
push accept
call ebp
test eax, eax
jne 0x456a3f
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x8c]
push ecx
push 0
push 0
push 0
push edx
call dword [0x48303c]
test eax, eax
jne 0x456a34
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x29c]
shr eax, 1
xor ecx, ecx
mov dword [esp + 0x14], eax
mov word [esp + eax*2 + 0x88], cx
push edx
lea eax, [esp + 0x8c]
push eax
call fcn.00412af0
add esp, 8
test eax, eax
jne 0x456a34
mov ecx, dword [esp + 0x298]
push ecx
push edi
call dword [0x483818]
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
call dword [0x483038]
test esi, esi
je 0x456a51
inc ebx
mov dword [esp + 0x14], 0x28
jmp 0x45695e
mov ecx, dword [esp + 0x1c]
push ecx
call dword [0x483038]
lea ecx, [esp + 0x20]
call fcn.004020b0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x284
ret
Function at 0x45e9db
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [esp + 8]
push 0x4858e8
call fcn.00401c70
push ebx
call fcn.0043a839
test al, al
je 0x45e9fe
xor al, al
pop ebx
ret 8
mov eax, dword [ebx]
push ebp
push esi
push edi
push 0
push 0
push 0xe
push eax
call dword [0x483650]
mov edi, eax
test edi, edi
jne 0x45ea1b
mov edi, 0x7fff
xor ecx, ecx
lea ebp, [edi + 1]
mov eax, ebp
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00412c3a
add esp, 4
mov esi, eax
mov eax, dword [ebx]
push esi
push ebp
push 0xd
push eax
call dword [0x483650]
xor ecx, ecx
test eax, eax
mov eax, dword [esp + 0x18]
mov word [esi + edi*2], cx
jne 0x45ea72
push 0x4858e8
call fcn.00401c70
push esi
call fcn.0041294d
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 8
push esi
call fcn.00401c70
push esi
call fcn.0041294d
add esp, 4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 8
Function at 0x45f6b8
Capabilities:
Get graphical window text

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
mov edx, dword [ebx]
push esi
mov esi, dword [0x483650]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0xb0
push edx
call esi
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0x10]
jb 0x45f6eb
pop esi
xor al, al
pop ebx
pop ecx
ret 8
mov ecx, dword [ebx]
push edi
push 0
push 0
push 0xe
push ecx
call esi
mov edi, eax
test edi, edi
je 0x45f776
cmp edi, dword [esp + 0xc]
jb 0x45f776
cmp edi, dword [esp + 0x14]
jb 0x45f776
push ebp
xor ecx, ecx
lea ebp, [edi + 1]
mov eax, ebp
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00412c3a
add esp, 4
mov esi, eax
mov eax, dword [ebx]
push esi
push ebp
push 0xd
push eax
call dword [0x483650]
pop ebp
test eax, eax
je 0x45f76d
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x45f74a
xor ecx, ecx
mov word [esi + eax*2], cx
mov edx, dword [esp + 0xc]
lea eax, [esi + edx*2]
push eax
mov eax, dword [esp + 0x1c]
call fcn.00401c70
push esi
call fcn.0041294d
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
pop ecx
ret 8
push esi
call fcn.0041294d
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret 8
Function at 0x479956
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x30
mov ecx, dword [esp + 0x38]
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x48]
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], ebx
mov edi, ecx
cmp byte [0x4a56e1], bl
je 0x479aee
mov eax, dword [0x4a56e4]
cmp eax, ebx
je 0x479aee
mov edx, 3
mov word [eax + 0x38], dx
mov dword [eax + 0x40], ecx
mov word [eax + 0x98], dx
call dword [0x483304]
mov edx, dword [0x4a56e4]
mov dword [edx + 0xa0], eax
mov eax, 3
mov word [edx + 0xa8], ax
mov ecx, dword [ebp + 0xec]
push ecx
call fcn.004397f3
mov dword [edx + 0xb0], eax
cmp esi, ebx
je 0x479a6e
mov ecx, dword [esi + 4]
mov ebx, dword [reloc.WSOCK32.dll_inet_addr]
mov eax, 8
mov word [esp + 0x20], ax
lea eax, [esp + 0x20]
push eax
add edx, 0x68
push edx
mov dword [esp + 0x30], ecx
call ebx
mov eax, dword [0x4a56e4]
mov ecx, dword [esi + 8]
lea edx, [esp + 0x20]
push edx
add eax, 0x58
push eax
mov dword [esp + 0x30], ecx
call ebx
mov eax, dword [0x4a56e4]
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x20]
push edx
add eax, 0x78
push eax
mov dword [esp + 0x30], ecx
call ebx
mov eax, dword [0x4a56e4]
mov ecx, 3
mov word [eax + 0x88], cx
mov edx, dword [esi + 0x10]
mov dword [eax + 0x90], edx
mov word [eax + 0xb8], cx
movzx ecx, word [esi]
test cx, cx
je 0x479a5f
movzx esi, cx
jmp 0x479a62
mov esi, dword [esi + 0x1c]
mov dword [eax + 0xc0], esi
test esi, esi
je 0x479a6e
mov edi, esi
mov eax, dword [esp + 0x50]
test eax, eax
je 0x479a83
mov edi, eax
lea ebx, [esp + 0x10]
call fcn.0040f8f0
jmp 0x479aa2
push edi
lea edx, [esp + 0x34]
push edx
call fcn.0044d075
mov edi, eax
lea esi, [esp + 0x10]
call fcn.0040f9d0
lea ecx, [esp + 0x30]
call fcn.004020b0
mov eax, dword [0x4a56e4]
add eax, 0x48
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00478236
mov ecx, dword [0x4a56e4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
add esp, 8
call eax
mov edx, dword [ebp]
mov ecx, dword [esp + 0x48]
mov eax, dword [edx + 4]
push 0
push ecx
add eax, ebp
call fcn.00403bd0
lea esi, [esp + 0x10]
call fcn.004043a0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0x14
mov eax, dword [ebp]
mov eax, dword [eax + 4]
push ebx
push ecx
add eax, ebp
call fcn.00403bd0
cmp byte [esp + 0x54], bl
je 0x479ad9
lea esi, [esp + 0x10]
call fcn.004043a0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x30
ret 0x14