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

Disassembly:
push 0xffffffffffffffff
push 0x487d3b
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x49e7c0]
xor eax, esp
mov dword [esp + 0x274], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49e7c0]
xor eax, esp
push eax
lea eax, [esp + 0x28c]
mov dword fs:[0], eax
mov eax, ecx
cmp dword [eax + 0x28], 1
je 0x423a4b
or eax, 0xffffffff
jmp 0x423c13
mov eax, dword [eax + 8]
push 0x462
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
xor ebx, ebx
push ebx
push ebx
mov ebp, eax
push 0x1004
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
push ebx
mov dword [esp + 0x1c], esi
call fcn.0043c0b0
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x423c11
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
cmp dword [edi + 0x118], 2
mov dword [esp + 0x294], ebx
je 0x423c11
cmp esi, ebx
mov dword [esp + 0x14], ebx
jle 0x423c11
jmp 0x423ac2
xor ebx, ebx
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push ebx
push 0x104b
push ebp
mov dword [esp + 0x2c], 0xc
mov dword [esp + 0x3c], 2
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x130]
test eax, eax
mov esi, dword [esp + 0x3c]
mov ebx, esi
je 0x423b19
mov ecx, dword [edi + 0x134]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x423b1e
call fcn.0047770d
imul esi, esi, 0x58
add esi, dword [edi + 0x130]
xor eax, eax
cmp dword [edi + 0x150], ebx
je 0x423b39
cmp dword [edi + 0x154], ebx
jne 0x423b3e
mov eax, 2
cmp dword [esp + 0x28], eax
je 0x423b66
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x18]
push eax
push 0x102b
push ebp
mov dword [esp + 0x64], 2
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0x30], 0
jl 0x423be5
lea ecx, [esp + 0x6c]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x24], 4
mov edx, dword [esi + 0x54]
push ecx
push edx
call fcn.004429e0
mov eax, dword [esp + 0x78]
add esp, 8
cmp dword [esp + 0x84], 8
jae 0x423b9f
lea eax, [esp + 0x70]
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x4c]
push eax
mov eax, dword [esi + 0x54]
and eax, 0xff
push eax
push ecx
push edx
lea eax, [esp + 0x98]
push 0x48bf68
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea edx, [esp + 0x1c]
push edx
push 0
push 0x104c
lea ecx, [esp + 0x94]
push ebp
mov dword [esp + 0x40], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
jl 0x423ac0
cmp dword [esp + 0x84], 8
jb 0x423c11
mov eax, dword [esp + 0x70]
push eax
call fcn.004775de
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x28c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x274]
xor ecx, esp
call fcn.004777ea
add esp, 0x284
ret
Function at 0x426c60
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b8
mov eax, dword [0x49e7c0]
xor eax, esp
mov dword [esp + 0x2b4], eax
push esi
mov esi, dword [esp + 0x2c0]
push 0x4001
push 0x2b4
lea eax, [esp + 0xc]
push eax
push 0
push 0x48b5a4
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x426cc3
push eax
push 0
push 0x1109
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2b4]
xor ecx, esp
call fcn.004777ea
add esp, 0x2b8
ret
mov ecx, dword [esp + 0x2b8]
pop esi
xor ecx, esp
or eax, 0xffffffff
call fcn.004777ea
add esp, 0x2b8
ret
Function at 0x42ef90
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xc
push ebp
push edi
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push eax
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42efc2
pop edi
or eax, eax
pop ebp
add esp, 0xc
ret 4
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004773b0
add esp, 4
test eax, eax
mov dword [ebp + 0x3e18], eax
je 0x42f1e0
push 0
lea ecx, [esp + 0x18]
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
push edi
jne 0x42f021
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
mov eax, 0xfffffffe
pop ebp
add esp, 0xc
ret 4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0x3e18]
mov word [edx + esi*2], 0
mov ecx, dword [ebp + 0x3e18]
lea eax, [ecx + esi*2]
xor edi, edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
xor esi, esi
lea esp, [esp]
movzx eax, word [ecx]
cmp ax, 0x20
je 0x42f06b
cmp ax, 9
je 0x42f06b
cmp ax, 0xd
je 0x42f06b
cmp ax, 0xa
jne 0x42f070
add ecx, 2
jmp 0x42f050
movzx eax, word [ecx]
test ax, ax
mov dword [esp + 0x1c], ecx
je 0x42f1e0
push ebx
cmp ax, 0x3b
jne 0x42f09d
lea ecx, [esp + 0x20]
push ecx
call fcn.0042ee00
mov ecx, dword [esp + 0x24]
add esp, 4
jmp 0x42f18e
cmp ax, 0x5b
jne 0x42f113
movzx eax, word [ecx + 2]
add ecx, 2
xor edi, edi
test ax, ax
mov dword [esp + 0x10], ecx
je 0x42f1df
lea esp, [esp]
cmp ax, 0x5d
je 0x42f0e8
imul edi, edi, 0x8a
add ecx, 2
movzx edx, ax
movzx eax, word [ecx]
add edi, edx
test ax, ax
jne 0x42f0c0
pop ebx
pop esi
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 4
cmp word [ecx], 0
je 0x42f1df
mov word [ecx], 0
lea eax, [esp + 0x20]
add ecx, 2
push eax
mov dword [esp + 0x24], ecx
call fcn.0042ee00
mov ecx, dword [esp + 0x24]
add esp, 4
mov esi, edi
jmp 0x42f18e
cmp ax, 0x3d
jne 0x42f183
mov eax, 0x7dbecef
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0xa
imul eax, eax, 0x7c3
sub esi, eax
mov edx, esi
xor esi, esi
cmp dword [ebp + edx*8 + 4], 0
je 0x42f152
lea eax, [edx + 1]
cdq
mov ebx, 0x7c3
add esi, 1
idiv ebx
cmp esi, ebx
jl 0x42f137
jmp 0x42f162
mov eax, dword [esp + 0x14]
mov dword [ebp + edx*8 + 4], eax
mov eax, dword [esp + 0x10]
mov dword [ebp + edx*8], eax
mov word [ecx], 0
add ecx, 2
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x20]
push ecx
call fcn.0042ee00
mov ecx, dword [esp + 0x24]
add esp, 4
mov esi, edi
jmp 0x42f18e
imul esi, esi, 0x8a
movzx edx, ax
add esi, edx
cmp word [ecx], 0xa
jne 0x42f1cc
cmp word [ecx - 2], 0xd
jne 0x42f1a3
mov word [ecx - 2], 0
jmp 0x42f1a8
mov word [ecx], 0
add ecx, 2
mov dword [esp + 0x20], ecx
nop
movzx eax, word [ecx]
cmp ax, 0x20
je 0x42f1bf
cmp ax, 9
jne 0x42f1c4
add ecx, 2
jmp 0x42f1b0
mov dword [esp + 0x14], ecx
mov esi, edi
jmp 0x42f1cf
add ecx, 2
movzx eax, word [ecx]
test ax, ax
mov dword [esp + 0x20], ecx
jne 0x42f081
pop ebx
pop esi
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 4
Function at 0x42fa20
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42fa51
pop edi
or eax, eax
pop esi
pop ecx
ret 4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [esp + 0x10]
push ecx
push 2
lea edx, [esp + 0x20]
push edx
push esi
mov dword [esp + 0x28], 0xfeff
call ebx
test eax, eax
jne 0x42fa88
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov eax, 0xfffffffe
pop esi
pop ecx
ret 4
mov eax, dword [edi + 0x3e1c]
mov edx, dword [edi + 0x3e20]
push 0
lea ecx, [esp + 0x10]
push ecx
sub edx, eax
push edx
push eax
push esi
call ebx
test eax, eax
push esi
je 0x42fa76
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor eax, eax
pop esi
pop ecx
ret 4

Function at 0x4311b3
Capabilities:
Check http status code

Disassembly:
sub esp, 0x18
push esi
mov esi, ecx
call fcn.00430740
test eax, eax
jne 0x4312f4
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
mov ecx, esi
call edx
mov eax, dword [esi + 0x18]
test al, 2
jne 0x43121f
test al, 1
je 0x43121f
push 0
push 0
push 0
push 1
push str.MangaMeeyaCE
call dword [0x4a00b0]
test eax, eax
mov dword [esi + 0x3c], eax
jne 0x4311fb
mov eax, 0xfffffffd
pop esi
add esp, 0x18
ret
cmp dword [esi + 0x38], 8
jb 0x431206
mov ecx, dword [esi + 0x24]
jmp 0x431209
lea ecx, [esi + 0x24]
push 0
push 0x4000000
push 0
push 0
push ecx
push eax
call dword [0x4a00ac]
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x40]
test eax, eax
je 0x4311f1
push 0
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x20000013
push eax
mov dword [esp + 0x18], 4
call dword [0x4a00a4]
test eax, eax
je 0x43126a
mov ecx, dword [esp + 8]
cmp ecx, 0xc8
jb 0x43125e
cmp ecx, 0x12c
jb 0x43126a
mov eax, 0xffffd120
sub eax, ecx
pop esi
add esp, 0x18
ret
mov edx, dword [esi + 0x40]
push 0
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0x20000005
push edx
mov dword [esi + 8], 0x100000
mov dword [esi + 0xc], 0
mov dword [esp + 0x18], 4
call dword [0x4a00a4]
test eax, eax
je 0x4312ad
mov eax, dword [esp + 8]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov eax, dword [esi + 0x40]
push 0
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x4000000b
push eax
mov dword [esp + 0x18], 0x10
call dword [0x4a00a4]
test eax, eax
je 0x4312e3
lea ecx, [esi + 0x44]
push ecx
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [esi + 0x4c]
mov dword [esi + 0x1050], eax
mov dword [esi + 0x104c], eax
xor eax, eax
pop esi
add esp, 0x18
ret
Function at 0x433b30
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 8]
sub eax, 0x100
push ebp
mov ebp, dword [esp + 0x10]
je 0x433b5f
sub eax, 4
je 0x433b5f
sub eax, 2
jne 0x433c25
cmp byte [0x4a00c8], 0
je 0x433c25
xor eax, eax
pop ebp
ret
cmp ebp, 0x12
mov byte [0x4a00c8], 1
je 0x433c25
cmp ebp, 0x10
je 0x433c25
cmp ebp, 0x11
je 0x433c25
cmp ebp, 0x1b
jne 0x433ba0
cmp byte [0x4a0625], 0
je 0x433ba0
push 0
push 0x41
call fcn.004164f0
add esp, 8
jmp 0x433c25
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
push 0x12
xor bl, bl
mov edi, ebp
call esi
test ax, ax
jns 0x433bbc
or edi, 0x400
push 0x11
call esi
test ax, ax
jns 0x433bcb
or edi, 0x200
push 0x10
call esi
test ax, ax
jns 0x433bda
or edi, 0x100
cmp dword [0x4a01fc], 0
je 0x433bed
test dword [esp + 0x20], 0x40000000
jne 0x433c1b
test edi, edi
jle 0x433c1b
mov esi, 1
cmp dword [esi*4 + 0x4a0200], edi
jne 0x433c0c
push 0
push esi
call fcn.004164f0
add esp, 8
mov bl, 1
add esi, 1
cmp esi, 0xc8
jl 0x433bf6
test bl, bl
jne 0x433c22
mov byte [0x4a00c8], 0
pop edi
pop esi
pop ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
push ebp
push ecx
push edx
call dword [sym.imp.USER32.dll_DefWindowProcW]
pop ebp
ret

Function at 0x434250
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b8
mov eax, dword [0x49e7c0]
xor eax, esp
mov dword [esp + 0x2b4], eax
push esi
mov esi, dword [esp + 0x2c0]
test esi, esi
jge 0x434274
xor esi, esi
jmp 0x43427e
cmp esi, 1
jl 0x43427e
mov esi, 1
cmp dword [esi*4 + 0x4a068c], 0
jne 0x4342b3
xor eax, eax
test esi, esi
setne al
add eax, 0x4000
push eax
push 0x2b4
lea eax, [esp + 0xc]
push eax
push 0
push 0x48b5a4
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [esi*4 + 0x4a068c], eax
mov eax, dword [esi*4 + 0x4a068c]
mov ecx, dword [esp + 0x2b8]
pop esi
xor ecx, esp
call fcn.004777ea
add esp, 0x2b8
ret
Function at 0x43b6a0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov dword [esi + 0xa0], 0
mov byte [esi + 0xa8], 0
mov dword [esi + 0xa4], 0
mov dword [esi], 0
cmp dword [esi + 8], 0
je 0x43b718
lea eax, [esp + 4]
push eax
push 0
push esi
push fcn.00435230
push 0
push 0
call fcn.00477dd4
add esp, 0x18
test eax, eax
mov dword [esi], eax
jne 0x43b704
mov ecx, esi
call fcn.0043b000
push esi
call fcn.004775de
add esp, 4
mov eax, 0xffffff36
pop esi
pop ecx
ret
lea ecx, [esp + 0xc]
push ecx
mov ecx, 0x4a12c4
call fcn.0040fc30
xor eax, eax
pop esi
pop ecx
ret
push esi
call fcn.00435230
pop esi
pop ecx
ret

Function at 0x43b9e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4887d8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49e7c0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 4]
xor edi, edi
cmp ecx, edi
mov dword [esp + 0x24], edi
jne 0x43ba1a
xor eax, eax
jmp 0x43ba30
mov edx, dword [esi + 8]
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, dword [esp + 0x2c]
cmp eax, ebx
jae 0x43ba71
cmp ecx, edi
je 0x43ba52
mov edx, dword [esi + 8]
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
mov ebp, dword [esi + 8]
cmp ecx, ebp
jbe 0x43ba5e
call fcn.0047770d
lea eax, [esp + 0x30]
push eax
sub ebx, edi
push ebx
push ebp
push esi
mov ecx, esi
call fcn.0043b380
jmp 0x43bad3
cmp ecx, edi
je 0x43bad3
mov edi, dword [esi + 8]
mov edx, edi
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x43bad3
cmp ecx, edi
jbe 0x43ba9a
call fcn.0047770d
mov ebp, dword [esi + 4]
cmp ebp, dword [esi + 8]
jbe 0x43baa7
call fcn.0047770d
lea ecx, [ebx + ebx*2]
shl ecx, 5
lea ebx, [ecx + ebp]
cmp ebx, dword [esi + 8]
mov dword [esp + 0x18], ebp
ja 0x43babe
cmp ebx, dword [esi + 4]
jae 0x43bac3
call fcn.0047770d
push edi
push esi
push ebx
push esi
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0043ae50
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 0xffffffff
call fcn.00435ae0
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x64
Function at 0x4425b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edx, dword [esp + 4]
push ebx
push esi
mov eax, edx
push edi
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4425c0
sub eax, esi
mov esi, dword [esp + 0x14]
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.00402680
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, esi
call fcn.004017a0
push eax
call fcn.00442030
mov edi, eax
add esp, 4
test edi, edi
je 0x44264e
cmp edi, 3
jne 0x442610
mov ecx, esi
call fcn.004017a0
cmp word [eax + 2], 0x3a
jne 0x442610
mov edi, 4
mov ecx, dword [esi + 0x14]
lea eax, [edi - 1]
cmp eax, ecx
ja 0x442626
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.00401aa0
jmp 0x442632
sub eax, ecx
push 0
push eax
mov ecx, esi
call fcn.004022b0
mov ecx, esi
call fcn.004017a0
push eax
call ebx
cmp eax, 0xffffffff
je 0x4425e2
test al, 0x10
je 0x4425e2
pop edi
pop esi
mov eax, 1
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x442660
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edx, dword [esp + 4]
push ebx
push esi
mov eax, edx
push edi
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x442670
sub eax, esi
mov esi, dword [esp + 0x14]
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.00402680
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, esi
call fcn.004017a0
push eax
call fcn.00442030
mov edi, eax
add esp, 4
test edi, edi
je 0x4426fa
cmp edi, 3
jne 0x4426c0
mov ecx, esi
call fcn.004017a0
cmp word [eax + 2], 0x3a
jne 0x4426c0
mov edi, 4
mov ecx, dword [esi + 0x14]
lea eax, [edi - 1]
cmp eax, ecx
ja 0x4426d6
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.00401aa0
jmp 0x4426e2
sub eax, ecx
push 0
push eax
mov ecx, esi
call fcn.004022b0
mov ecx, esi
call fcn.004017a0
push eax
call ebx
cmp eax, 0xffffffff
je 0x442692
pop edi
pop esi
mov eax, 1
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x443430
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x443441
or eax, 0xffffffff
pop esi
ret 4
mov ecx, dword [eax + 4]
push ebx
mov ebx, 8
cmp dword [esi + 0x64], ebx
push ebp
push edi
jb 0x443456
mov eax, dword [esi + 0x50]
jmp 0x443459
lea eax, [esi + 0x50]
mov edx, dword [0x4a0004]
push esi
mov edi, dword [sym.imp.USER32.dll_CreateWindowExW]
push edx
push 0
push ecx
push 0
push 0
push 0
push 0
push 0x46000000
push eax
push str.FrameDockWindow
push 0
call edi
mov dword [esi + 0x70], eax
cmp dword [esi + 0x64], ebx
mov eax, dword [esi + 0x10]
mov edx, dword [eax + 4]
jb 0x443494
mov ebx, dword [esi + 0x50]
jmp 0x443497
lea ebx, [esi + 0x50]
mov ebp, dword [0x4a0004]
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x38]
push esi
push ebp
push 0
push edx
mov edx, dword [esi + 0x44]
sub edx, eax
push edx
mov edx, dword [esi + 0x40]
sub edx, ecx
push edx
push eax
push ecx
push 0x86000000
push ebx
push str.FrameDockWindow
push 0
call edi
cmp dword [esi + 0x2c], 1
pop edi
pop ebp
mov dword [esi + 0x74], eax
pop ebx
je 0x4434d4
mov eax, dword [esi + 0x70]
movzx edx, word [esp + 8]
push esi
push 0x4206c0
mov ecx, eax
push ecx
mov dword [esi + 4], eax
mov eax, dword [0x4a1388]
push edx
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
push 5
push eax
mov dword [esi + 8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 4], 0
je 0x443510
cmp dword [esi + 8], 0
je 0x443510
xor eax, eax
pop esi
ret 4
mov eax, 0xfffffffd
pop esi
ret 4
Function at 0x46ec70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4899f8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x49e7c0]
xor eax, esp
mov dword [esp + 0x3c], eax
mov eax, dword [0x49e7c0]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esp + 0x54]
xor ecx, ecx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ecx
mov word [esp + 0x20], cx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
lea ecx, [esp + 4]
push ecx
push eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x14], edx
call fcn.0046e990
add esp, 8
cmp dword [esp + 0x34], 8
jb 0x46ecef
mov edx, dword [esp + 0x20]
push edx
call fcn.004775de
add esp, 4
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004777ea
add esp, 0x4c
ret
Function at 0x4777ea
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x49e7c0]
jne 0x4777f4
repz ret
jmp fcn.0047a59d

Function at 0x4810f3
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00479f53
xor ebx, ebx
cmp dword [0x4a1fa4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4811c8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x481133
xor eax, eax
jmp 0x48128c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x48112c
push eax
call fcn.00479ef0
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4a1fa4], eax
call esi
push eax
call fcn.00479ef0
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4a1fa8], eax
call esi
push eax
call fcn.00479ef0
mov dword [0x4a1fac], eax
lea eax, [ebp - 8]
push eax
call fcn.0047b597
test eax, eax
pop ecx
pop ecx
je 0x481196
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004775ed
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4811c8
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00479ef0
cmp eax, ebx
pop ecx
mov dword [0x4a1fb4], eax
je 0x4811c8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00479ef0
pop ecx
mov dword [0x4a1fb0], eax
mov eax, dword [0x4a1fb0]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x481241
cmp dword [0x4a1fb4], esi
je 0x481241
push eax
call fcn.00479f5c
pop ecx
call eax
cmp eax, ebx
je 0x48120e
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4a1fb4]
call fcn.00479f5c
pop ecx
call eax
test eax, eax
je 0x48120e
test byte [ebp - 0x18], 1
jne 0x481241
lea eax, [ebp - 0xc]
push eax
call fcn.0047b5ce
test eax, eax
pop ecx
je 0x481229
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004775ed
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x481238
or dword [ebp + 0x10], 0x200000
jmp 0x481272
or dword [ebp + 0x10], 0x40000
jmp 0x481272
mov eax, dword [0x4a1fa8]
cmp eax, esi
je 0x481272
push eax
call fcn.00479f5c
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x481272
mov eax, dword [0x4a1fac]
cmp eax, esi
je 0x481272
push dword [ebp - 4]
push eax
call fcn.00479f5c
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4a1fa4]
call fcn.00479f5c
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402200
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 8]
and al, 0xf8
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 8], eax
mov esi, esi
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004021a0
test al, al
jne 0x40222f
jmp 0x402231
jmp 0x40223b
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x402218
mov eax, dword [ebp - 4]
leave
ret
Function at 0x4028d0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x88]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x5c], 8
mov dword [ebp - 0x58], 2
mov dword [ebp - 0x54], 4
mov dword [ebp - 0x50], 0x10
mov dword [ebp - 0x4c], pe_nt_image_headers32
mov dword [ebp - 0x48], 0x20
mov dword [ebp - 0x44], 0x40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 8], eax
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [eax + 0x30]
mov eax, dword [edx + 0x3c]
lea eax, [ecx + eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xc]
lea eax, [eax + 0xf8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x38]
lea ebx, [eax - 1]
mov dword [ebp - 0x24], 0
cmp ebx, dword [ebp - 0x24]
jb 0x402aa0
sub dword [ebp - 0x24], 1
mov esi, esi
add dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x24]
imul edx, eax, 0x28
mov eax, dword [ebp - 0x10]
lea esi, [edx + eax]
lea edi, [ebp - 0x88]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x3c]
or eax, edx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x78]
mov byte [ecx + 0x7d83d045], cl
rol byte [eax], 1
je 0x4029a2
jmp 0x4029a7
jmp 0x402a97
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
and eax, 0x2000000
test eax, 0xffffffff
jne 0x4029be
jmp 0x4029d4
push 0x4000
push dword [ebp - 0x30]
push dword [ebp - 0x40]
mov eax, dword [ebp - 4]
call dword [eax + 8]
jmp 0x402a97
mov eax, dword [ebp - 0x34]
and eax, 0x20000000
test eax, 0xffffffff
jne 0x4029e5
jmp 0x4029ee
mov dword [ebp - 0x14], 1
jmp 0x4029f5
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x34]
and eax, 0x40000000
test eax, 0xffffffff
jne 0x402a06
jmp 0x402a0f
mov dword [ebp - 0x18], 1
jmp 0x402a16
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x34]
and eax, 0x80000000
test eax, 0xffffffff
jne 0x402a27
jmp 0x402a30
mov dword [ebp - 0x1c], 1
jmp 0x402a37
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x34]
and eax, 0x4000000
test eax, 0xffffffff
jne 0x402a48
jmp 0x402a51
mov dword [ebp - 0x20], 1
jmp 0x402a58
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x18]
lea eax, [ebp + eax - 0x60]
mov edx, dword [ebp - 0x1c]
lea eax, [eax + ecx*8]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x20], 1
je 0x402a79
jmp 0x402a84
mov eax, dword [ebp - 0x28]
or eax, 0x200
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x30]
push dword [ebp - 0x40]
mov eax, dword [ebp - 4]
call dword [eax + 4]
cmp ebx, dword [ebp - 0x24]
ja 0x40296c
pop edi
pop esi
pop ebx
leave
ret