joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e8e6
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov esi, ecx
call fcn.0040e090
mov edi, eax
xor eax, eax
cmp edi, eax
je 0x40e97f
push ebx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push edi
mov ecx, esi
call fcn.0040e2bf
mov ebx, 0x80004005
jmp 0x40e936
inc dword [esi + 0x1c]
cmp dword [ebp - 4], 0
jne 0x40e91b
inc dword [esi + 0x20]
jmp 0x40e926
lea eax, [ebp - 4]
push eax
mov ecx, esi
call fcn.004380fd
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push edi
mov ecx, esi
call fcn.0040e2bf
cmp eax, ebx
jne 0x40e90d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esi + 0x1c]
sub edi, dword [esi + 0x24]
and dword [ebp - 4], 0
sub edi, dword [esi + 0x20]
xor ebx, ebx
inc ebx
test edi, edi
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
jle 0x40e97e
xor eax, eax
cmp dword [esi + 4], eax
jle 0x40e983
mov eax, dword [esi]
push dword [eax]
mov ecx, esi
call fcn.0040e79e
push 0
mov ecx, esi
call fcn.0040e499
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x40e95b
pop ebx
pop edi
pop esi
leave
ret
push eax
push eax
push ebx
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]

Function at 0x40ea1f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
lea ebx, [edi + 0x18]
push ebx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push dword [ebp + 8]
call fcn.0040e186
cmp dword [esi + 0xc], 0
mov dword [ebp + 0xc], eax
je 0x40ea51
push 0x28
call fcn.0044f05c
test eax, eax
pop ecx
je 0x40e9fc
push dword [ebp + 0xc]
mov ecx, eax
push ebx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 0
push dword [ebp + 0x10]
push dword [edi + 4]
push dword [ebp + 8]
call fcn.0040dfa5
mov dword [ebp + 0x18], eax
jmp 0x40ea00
and dword [ebp + 0x18], 0
cmp dword [ebp + 0x18], 0
jne 0x40ea0d
mov eax, 0x8007000e
jmp 0x40ea64
lea eax, [ebp + 0x18]
push eax
mov ecx, esi
call fcn.004380fd
inc dword [esi + 0x1c]
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x20]
cmp eax, dword [esi + 0x24]
jle 0x40ea62
xor edi, edi
cmp dword [esi + 4], edi
jg 0x40ea3c
push edi
push edi
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [esi]
push dword [eax]
mov ecx, esi
call fcn.0040e79e
push edi
mov ecx, esi
call fcn.0040e499
jmp 0x40ea62
mov ecx, dword [esi + 0x24]
shl ecx, 8
cmp eax, ecx
jbe 0x40ea62
mov ecx, esi
call fcn.0040e8d0
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x40eefe
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
or dword [esi], 0xffffffff
xor ecx, ecx
mov dl, 1
push edi
mov edi, dword [ebp + 8]
mov dword [ebp + 0xc], ecx
mov bl, dl
mov al, byte [edi]
test al, al
je 0x40eefd
cmp dword [ebp + 0xc], 4
jg 0x40eefd
cmp al, 0x30
jl 0x40ef1a
cmp al, 0x39
jg 0x40ef1a
test dl, dl
je 0x40eee4
inc dword [ebp + 0xc]
xor dl, dl
movsx eax, al
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*2 - 0x30]
cmp ecx, 0xff
jle 0x40eef8
xor bl, bl
inc edi
test bl, bl
jne 0x40eec7
test bl, bl
je 0x40ef24
cmp dword [ebp + 0xc], 4
jne 0x40ef24
push dword [ebp + 8]
call fcn.0044f364
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x40ef24
xor eax, eax
jmp 0x40ef29
cmp al, 0x2e
jne 0x40eef6
mov dl, 1
xor ecx, ecx
jmp 0x40eef8
mov eax, 0x80004005
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x40f4bd
Capabilities:
Get hostname
Resolve dns

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
push 0
lea edi, [esi + 0x4c]
push 0x402334
mov ecx, edi
call fcn.0040ebf8
push 0
push 0x402328
mov ecx, edi
mov dword [ebp - 0xc], eax
call fcn.0040ebf8
push 1
push 0x402314
mov ecx, edi
mov dword [ebp - 0x10], eax
call fcn.0040ec51
push 1
push 0x402324
mov ecx, edi
mov bl, al
call fcn.0040ec51
push 1
push 0x40231c
mov ecx, edi
mov byte [ebp - 1], al
call fcn.0040ec51
push dword [esi + 0xc]
mov byte [ebp - 2], al
call fcn.0040ed5d
test al, al
je 0x40f416
mov ebx, 0x810001fe
jmp 0x40f56b
and dword [ebp - 8], 0
cmp dword [ebp - 0xc], 0
je 0x40f427
mov dword [ebp - 8], 0x20000
test bl, bl
je 0x40f42f
or dword [ebp - 8], 8
cmp byte [ebp + 0x10], 0
je 0x40f43b
or byte [ebp - 6], 0x40
jmp 0x40f456
cmp byte [ebp - 1], 0
je 0x40f456
mov al, byte [0x4579bc]
test al, 6
je 0x40f44e
or dword [ebp - 8], 2
test al, 0x18
je 0x40f456
or dword [ebp - 8], 4
cmp byte [ebp - 2], 0
mov eax, 0x10001
je 0x40f464
or dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
and ecx, eax
cmp ecx, eax
je 0x40f486
mov eax, dword [ebp - 8]
and eax, 0xa
cmp al, 0xa
je 0x40f486
mov eax, dword [ebp - 8]
and eax, 0xc
cmp al, 0xc
mov ebx, 0x810001ff
jne 0x40f489
mov ebx, dword [ebp + 0x10]
mov edi, dword [0x457a0c]
mov ecx, 0x457718
call fcn.0040743c
test eax, eax
je 0x40f4a4
mov ecx, edi
call fcn.0041de0e
test byte [edi + 0x50], 1
je 0x40f56b
push 0x44
call fcn.0044f05c
test eax, eax
pop ecx
je 0x40f4d8
movzx ecx, byte [ebp + 0xc]
push 0
push ecx
push dword [esi + 0xd8]
mov ecx, eax
push dword [esi + 0x48]
push dword [ebp + 8]
call fcn.0040d466
mov edi, eax
jmp 0x40f4da
xor edi, edi
test edi, edi
jne 0x40f4e8
mov ebx, 0x8007000e
jmp 0x40f56b
lea eax, [edi + 0xc]
mov ecx, dword [eax]
push eax
mov dword [ebp + 0x10], eax
call dword [ecx + 4]
call fcn.0041f718
cmp dword [esi + 0xd8], 4
jne 0x40f507
mov ebx, dword [esi + 0x44]
jmp 0x40f50a
mov ebx, dword [esi + 0x14]
push dword [esi + 0xc]
call fcn.0044f358
push 0
push dword [ebp - 0x10]
mov ecx, edi
push dword [ebp - 0xc]
push 0
push ebx
push eax
push eax
push dword [esi + 0xd8]
push dword [ebp - 8]
call fcn.0040ccd2
mov ebx, eax
call fcn.0041f6ea
test ebx, ebx
jge 0x40f550
mov ecx, edi
call fcn.0040c04b
test eax, eax
jne 0x40f550
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x40f553
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x40f565
mov edi, dword [edi + 0x10]
mov dword [eax], edi
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [esi]
push esi
call dword [eax + 8]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x10
Function at 0x411f2e
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
xor eax, eax
cmp esi, eax
je 0x411f56
cmp dword [ebp + 0xc], eax
je 0x411f56
push eax
push eax
push dword [ebp + 0x10]
mov byte [esi], al
push esi
push 0xffffffffffffffff
push dword [ebp + 0xc]
push eax
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x411f58
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x4120a4
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
test eax, eax
je 0x4120f2
push edi
lea ecx, [ebp - 4]
push ecx
push 0x406580
push dword [esi + 0xc]
call eax
mov edi, eax
test edi, edi
jl 0x4120e2
lea eax, [esi + 0x14]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
push dword [esi]
call dword [sym.imp.ole32.dll_CoRegisterClassObject]
mov edi, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4120ef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
pop edi
pop esi
leave
ret 0xc

Function at 0x4124c6
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x457694]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x4124da
mov cl, byte [ebp - 0x14]
lea eax, [ebp - 0x14]
jmp 0x4124ab
movsx cx, cl
test cx, 0xff80
jne 0x4124b1
inc eax
mov cl, byte [eax]
test cl, cl
jne 0x41249d
jmp 0x4124da
push 0x1010000
push 0x402614
push 0x2c9
lea ecx, [ebp - 0x54]
call fcn.00425dfd
push 0
lea ecx, [ebp - 0x54]
call fcn.0042626a
lea ecx, [ebp - 0x54]
call fcn.004117b2
mov ecx, dword [ebp - 4]
call fcn.0044ed62
leave
ret

Function at 0x412ad4
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
push esi
xor esi, esi
push esi
push 1
push 0x80000002
push 0x40268c
lea ecx, [ebp - 0x1c]
call fcn.0044f3e7
push esi
push 0x402688
lea ecx, [ebp - 0x1c]
call fcn.0044f593
test eax, eax
jne 0x412ac4
lea ecx, [ebp - 0x1c]
jmp 0x412ad0
call fcn.0041215f
test al, al
lea ecx, [ebp - 0x1c]
je 0x412ad7
call fcn.0044f73c
jmp 0x412b4e
push ebx
push esi
push 0x402684
call fcn.0044f593
cmp dword [0x4578f8], 2
mov ebx, eax
jne 0x412b45
push edi
push 0xf003f
push 0x402674
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
push 0xf01ff
push 0x40266c
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
cmp edi, esi
je 0x412b44
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x34], 1
jne 0x412b33
push esi
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
jmp 0x412b44
cmp ebx, esi
je 0x412b44
lea eax, [ebp - 0x38]
push eax
push 3
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
pop edi
lea ecx, [ebp - 0x1c]
call fcn.0044f73c
pop ebx
pop esi
leave
ret
Function at 0x412c49
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
push 0xffffffffffffffff
push dword [esi*8 + 0x402770]
push 0xffffffffffffffff
push dword [ebp + 8]
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringA]
dec eax
dec eax
je 0x412c53
inc esi
cmp esi, 0xe
jb 0x412c2a
xor eax, eax
pop esi
pop ebp
ret 4
mov eax, dword [esi*8 + 0x402774]
jmp 0x412c4e

Function at 0x4131ed
Capabilities:
Continue service
Query service status
Start service

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
xor edi, edi
cmp ebx, edi
jne 0x4131bc
mov eax, 0x80070057
jmp 0x4131ef
push esi
mov esi, dword [ebx + 0x10]
cmp esi, edi
jne 0x4131c8
xor eax, eax
jmp 0x4131ee
cmp dword [esi], edi
je 0x4131ec
test edi, edi
jne 0x4131ec
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.004120a1
push esi
push ebx
mov edi, eax
call fcn.0041302f
mov esi, eax
cmp dword [esi], 0
jne 0x4131cc
mov eax, edi
pop esi
pop edi
pop ebx
pop ebp
ret 0xc

Function at 0x4146f1
Capabilities:
Pause service
Query service status

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4146b2
mov eax, 0x80070057
jmp 0x414710
mov ecx, dword [eax]
and dword [ebp - 4], 0
and dword [ebp + 8], 0
push esi
lea edx, [ebp - 4]
push edx
push 0x402c88
push eax
call dword [ecx]
mov esi, eax
test esi, esi
jl 0x4146f3
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push dword [ebp + 0xc]
push eax
call dword [ecx + 0x10]
mov esi, eax
test esi, esi
jl 0x4146f3
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x414700
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
test eax, eax
je 0x41470d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
pop esi
leave
ret 0xc
Function at 0x418b5b
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x538
mov eax, dword [0x457694]
and dword [ebp - 0x528], 0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
lea ecx, [ebp - 0x538]
mov dword [ebp - 4], eax
call fcn.004126ec
push 0x41
pop ecx
xor eax, eax
mov byte [ebp - 0x10c], 0
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
mov eax, dword [0x457708]
mov eax, dword [eax + 4]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x10c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp eax, esi
jne 0x418b56
mov esi, 0x8007006f
jmp 0x418c2f
test eax, eax
jne 0x418b64
call fcn.004120fc
jmp 0x418c2d
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea edi, [esi + esi]
cmp edi, 0x400
ja 0x418b9a
push edi
call fcn.00411e6d
test al, al
je 0x418b9a
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.0044f080
mov eax, esp
jmp 0x418ba6
push edi
lea ecx, [ebp - 0x528]
call fcn.00415511
push esi
lea ecx, [ebp - 0x10c]
push ecx
push eax
call fcn.00411f62
mov esi, eax
test esi, esi
jne 0x418bc1
mov esi, 0x8007000e
jmp 0x418c2f
push esi
lea eax, [ebp - 0x524]
push eax
call fcn.00412212
lea eax, [ebp - 0x524]
push eax
push 0x402ffc
lea ecx, [ebp - 0x538]
call fcn.00412710
test eax, eax
jl 0x418c2d
test ebx, ebx
je 0x418c0b
jmp 0x418c05
push dword [ebx + 4]
lea ecx, [ebp - 0x538]
push eax
call fcn.00412710
test eax, eax
jl 0x418c2d
add ebx, 8
mov eax, dword [ebx]
test eax, eax
jne 0x418bef
cmp dword [ebp + 0x10], 0
push 0x402fe8
push dword [ebp + 0xc]
lea eax, [ebp - 0x538]
push esi
push eax
je 0x418c28
call fcn.00417d49
jmp 0x418c2d
call fcn.00417dd4
mov esi, eax
lea ecx, [ebp - 0x538]
call fcn.0041282a
push dword [ebp - 0x538]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
lea ecx, [ebp - 0x528]
call fcn.0040c9a1
mov eax, esi
lea esp, [ebp - 0x544]
mov ecx, dword [ebp - 4]
call fcn.0044ed62
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x42084b
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x14
call fcn.0044f05c
test eax, eax
pop ecx
je 0x420865
push dword [ebp + 8]
mov ecx, eax
call fcn.004204ae
mov esi, eax
jmp 0x420867
xor esi, esi
test esi, esi
je 0x420877
push esi
call fcn.00420806
mov eax, dword [esi]
push esi
call dword [eax + 8]
pop esi
pop ebp
ret 4

Function at 0x422024
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x457694]
push esi
mov esi, ecx
mov dword [ebp - 4], eax
mov eax, dword [esi + 0xc]
push edi
mov edi, dword [eax + 0x18]
test edi, edi
je 0x422062
push edi
lea eax, [ebp - 0x20c]
push eax
push 0x25e
call fcn.0041ffbb
lea eax, [ebp - 0x20c]
push eax
call fcn.0041f63d
mov dword [esi + 0x14], eax
push edi
lea eax, [ebp - 0x20c]
push eax
push 0x25b
call fcn.0041ffbb
lea eax, [ebp - 0x20c]
push eax
call fcn.0041f63d
cmp dword [esi + 0x14], eax
jge 0x421f69
mov dword [esi + 0x14], eax
mov edi, dword [0x4577a0]
push esi
push 0x421e4d
call fcn.0041e85d
push eax
push 0x99
push edi
call dword [sym.imp.USER32.dll_CreateDialogParamA]
test eax, eax
mov dword [esi + 0x10], eax
je 0x422062
push ebx
lea ecx, [ebp - 0x20c]
push ecx
push 0x41b
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea eax, [ebp - 0x21c]
push eax
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [esi + 0x14]
mov ebx, dword [ebp - 0x210]
sub edi, dword [ebp - 0x21c]
sub ebx, dword [ebp - 0x218]
add edi, dword [ebp - 0x214]
xor eax, eax
push eax
push ebx
push edi
push eax
push eax
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
push dword [esi + 0x10]
call fcn.00452f1c
lea eax, [ebp - 0x21c]
push eax
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [0x457e54]
lea eax, [ebp - 0x21c]
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push 0x60
push ebx
push edi
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push 0xffffffffffffffff
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SetWindowPos]
add dword [0x457e54], ebx
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x210]
add eax, ebx
cmp eax, dword [ebp - 0x220]
pop ebx
jle 0x422062
mov eax, dword [ebp - 0x218]
sub dword [0x457e54], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.0044ed62
leave
ret
Function at 0x422a31
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
mov esi, ecx
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x422aed
push ebx
push 0
push 1
push 0x80000001
push dword [0x4575dc]
lea ecx, [ebp - 0x20]
call fcn.0044f3e7
push 0xfffffffffffffff0
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
and al, 3
cmp al, 1
jne 0x422a81
and dword [ebp - 4], 0
push edi
lea edi, [esi + 0x298]
push 0
push dword [ebp - 4]
push 0x101d
push dword [esi + 0x24]
call ebx
inc dword [ebp - 4]
mov dword [edi], eax
add edi, 4
cmp dword [ebp - 4], 7
jl 0x422a63
pop edi
push 0x1c
lea eax, [esi + 0x298]
push eax
push 0x403bf0
lea ecx, [ebp - 0x20]
call fcn.0044f529
lea eax, [ebp - 0x3c]
push eax
push 7
push 0x103b
push dword [esi + 0x24]
call ebx
test eax, eax
pop ebx
je 0x422abf
push 0x1c
lea eax, [ebp - 0x3c]
push eax
push 0x403c00
lea ecx, [ebp - 0x20]
call fcn.0044f529
push dword [esi + 0x2b4]
lea ecx, [ebp - 0x20]
push 0x403bcc
call fcn.0044f4ef
push dword [esi + 0x2b8]
lea ecx, [ebp - 0x20]
push 0x403bdc
call fcn.0044f4ef
lea ecx, [ebp - 0x20]
call fcn.0044f73c
pop esi
leave
ret
Function at 0x422ce4
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor edi, edi
push edi
lea eax, [ebp - 0x10]
push eax
push edi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
jne 0x422c39
push 1
call esi
dec eax
push eax
push edi
call esi
dec eax
push eax
push edi
push edi
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
je 0x422c8a
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
add dword [edi], 6
push 4
call esi
mov esi, dword [ebp + 0x14]
add eax, 6
add dword [edi + 4], eax
mov eax, dword [edi]
mov ecx, dword [edi + 4]
add esi, ecx
cmp eax, dword [ebp - 0x10]
lea edx, [eax + ebx]
mov dword [edi + 8], edx
mov dword [edi + 0xc], esi
jl 0x422c8a
cmp ecx, dword [ebp - 0xc]
jl 0x422c8a
cmp edx, dword [ebp - 8]
jg 0x422c8a
cmp esi, dword [ebp - 4]
jle 0x422ce8
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
cmp eax, ebx
jle 0x422ca8
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add eax, ebx
mov dword [ebp - 8], eax
jmp 0x422cb4
push 0xa
cdq
pop ecx
idiv ecx
add dword [ebp - 0x10], eax
sub dword [ebp - 8], eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x14]
cmp eax, ecx
jle 0x422cd5
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, ecx
mov dword [ebp - 4], eax
jmp 0x422ce1
push 0xa
cdq
pop ecx
idiv ecx
add dword [ebp - 0xc], eax
sub dword [ebp - 4], eax
lea esi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x423f28
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x457694]
push ebx
push esi
xor edx, edx
push edi
mov esi, ecx
mov ecx, dword [esi + 0x2b4]
inc edx
cmp ecx, edx
push 2
mov dword [ebp - 4], eax
pop eax
je 0x423efb
cmp ecx, eax
je 0x423efb
push dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x238], edx
call fcn.004229db
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x234], eax
mov eax, dword [esi + 0x2b4]
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x238]
push eax
push 0
mov edi, 0x1005
push edi
push dword [esi + 0x24]
mov dword [ebp - 0x220], 0x104
call ebx
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004229db
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x238]
push eax
push 0
push edi
push dword [esi + 0x24]
call ebx
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00422bc1
jmp 0x423f6e
push dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x238], eax
call fcn.004229db
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x234], eax
mov eax, dword [esi + 0x2b4]
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x238]
push eax
push 0
mov edi, 0x1005
push edi
push dword [esi + 0x24]
call ebx
mov eax, dword [ebp - 0x21c]
push dword [ebp + 0xc]
mov ecx, esi
mov dword [ebp - 0x210], eax
call fcn.004229db
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x238]
push eax
push 0
push edi
push dword [esi + 0x24]
call ebx
mov eax, dword [ebp - 0x21c]
sub eax, dword [ebp - 0x210]
cmp dword [esi + 0x2b8], 0
pop edi
pop esi
pop ebx
jne 0x423f7c
neg eax
mov ecx, dword [ebp - 4]
call fcn.0044ed62
leave
ret 8
Function at 0x425bde
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x457694]
push ebx
push esi
push edi
mov esi, ecx
push dword [esi + 8]
mov dword [ebp - 4], eax
push 0x499
push dword [esi]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
xor eax, eax
mov al, byte [esi + 0xe]
and eax, 1
push eax
push 0x4b2
push dword [esi]
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
cmp dword [esi + 4], 0
jne 0x425c1f
push 0x100
lea eax, [ebp - 0x104]
push eax
push 0x16
call fcn.0040dc3e
push eax
push 0x426
push dword [esi]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov eax, dword [esi + 0x10]
shr eax, 1
not eax
and eax, 1
push eax
push 0x426
push dword [esi]
call edi
push eax
call ebx
cmp dword [esi + 4], 0
jne 0x425c5d
push 0x100
lea eax, [ebp - 0x104]
push eax
push 0x17
call fcn.0040dc3e
push eax
push 0x427
push dword [esi]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov eax, dword [esi + 0x10]
not eax
and eax, 1
push eax
push 0x427
push dword [esi]
call edi
push eax
call ebx
cmp dword [esi + 4], 0
jne 0x425c99
push 0x100
lea eax, [ebp - 0x104]
push eax
push 0x15
call fcn.0040dc3e
push eax
push 0x428
push dword [esi]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov eax, dword [esi + 0x10]
shr eax, 9
not eax
and eax, 1
push eax
push 0x4b5
push dword [esi]
call edi
push eax
call ebx
mov eax, dword [esi + 0x10]
and eax, 0x140
neg eax
sbb eax, eax
inc eax
push eax
push 0x4b6
push dword [esi]
call edi
push eax
call ebx
mov eax, dword [esi + 0x10]
shr eax, 5
not eax
and eax, 1
push eax
push 0x4b7
push dword [esi]
call edi
push eax
call ebx
mov eax, dword [esi + 0x10]
shr eax, 4
not eax
and eax, 1
push eax
push 0x4b8
push dword [esi]
call edi
push eax
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0044ed62
leave
ret

Function at 0x427cdb
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
add dword [ebp + 8], 4
push esi
push dword [ebp + 8]
mov esi, ecx
call fcn.00427a51
test eax, eax
je 0x427cf4
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 4]
push eax
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x427cf4
xor eax, eax
cmp dword [ebp - 8], 4
sete al
test eax, eax
je 0x427cf4
push dword [ebp + 8]
or byte [ebp - 1], 0x80
mov ecx, esi
call fcn.00427a51
test eax, eax
jne 0x427cfb
mov eax, 0x80004005
jmp 0x427d0c
push 4
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.00427ab4
pop esi
leave
ret 4