joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464078
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46408f
add esp, 0xfffffff0
call fcn.00403890
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041fbd0
mov eax, dword [0x52b500]
cmp word [eax + 2], 0
jne 0x4640b7
mov eax, dword [0x52b500]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00465768
mov eax, dword [0x52b694]
cmp word [eax + 2], 0
jne 0x4640d1
mov eax, dword [0x52b694]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00465960
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416820]
call fcn.0040353c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416820]
call fcn.0040353c
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x42225c]
call fcn.0042a168
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x464258
mov eax, dword [0x52b344]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042a574
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x465f10
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x52b344]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d47c
test eax, eax
je 0x4641c6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004094b4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d4a4
test eax, eax
je 0x4641da
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004045b0
mov eax, dword [0x52b074]
cmp byte [eax], 0
jne 0x46420e
mov eax, ebx
call fcn.00464380
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004660ec
mov eax, ebx
call fcn.00466ab0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46424e
call fcn.004038e8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x464600
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x52cbec]
cmp dword [eax + 0x30], 0
je 0x4646aa
cmp dword [ebx + 0x94], 0
jne 0x4646a4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x464590
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4646a4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x46466a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4646a4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00418f48
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x464679
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46520c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x465241
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404430
jmp 0x46524e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404394
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4662c8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x466309
mov eax, esi
call fcn.0044c0ac
test al, al
je 0x466309
mov eax, dword [ebx + 0x84]
call fcn.0044bda8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x466309
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044bda8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46cddc
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x415dd0]
call fcn.00404cf8
xor eax, eax
push ebp
push 0x46cf20
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x527534], 0
jne 0x46ce2f
mov ecx, dword [0x52b0a8]
mov dl, 1
mov eax, dword [0x4079d8]
call fcn.0040c6ac
call fcn.00403cf8
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402f74
mov eax, ebx
call fcn.00404ba8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x46cf30
lea edi, [ebp - 0x30]
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
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405ebc
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404bb8
test eax, eax
jle 0x46cec7
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x46cec0
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004045c8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004045b0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004088a8
test eax, eax
jne 0x46cec0
mov ebx, 0x15
jmp 0x46cecc
mov ebx, 0x10
jmp 0x46cecc
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x527534]
call fcn.0046cd34
mov eax, dword [ebp - 8]
call fcn.0046cd34
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405ed4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cf27
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404364
lea eax, [ebp - 0x10]
mov edx, dword [0x415dd0]
call fcn.00404dc8
ret
Function at 0x47c0dc
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x47c0e4
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x47c2d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x47c2ec
mov eax, esi
call fcn.00479f68
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404394
lea ecx, [ebp - 0x10]
mov edx, 0x47c300
mov eax, esi
call fcn.00479f68
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404394
lea ecx, [ebp - 0x14]
mov edx, 0x47c318
mov eax, esi
call fcn.00479f68
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404394
lea ecx, [ebp - 0x18]
mov edx, 0x47c334
mov eax, esi
call fcn.00479f68
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404394
lea ecx, [ebp - 0x1c]
mov edx, 0x47c350
mov eax, esi
call fcn.00479f68
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404394
lea ecx, [ebp - 0x24]
mov edx, 0x47c368
mov eax, esi
call fcn.00479f68
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408918
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408cf8
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x47c380
mov eax, esi
call fcn.00479f68
mov eax, dword [ebp - 0x28]
call fcn.0046c14c
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x47c390
mov eax, esi
call fcn.00479f68
mov eax, dword [ebp - 0x2c]
call fcn.0046c14c
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x47c3a8
mov eax, esi
call fcn.00479f68
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408cf8
inc eax
je 0x47c279
lea ecx, [ebp - 0x34]
mov edx, 0x47c3a8
mov eax, esi
call fcn.00479f68
mov eax, dword [ebp - 0x34]
call fcn.00408cbc
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a460
fstp qword [ebp - 0x3c]
wait
call fcn.0040a7c4
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x47c294
lea ecx, [ebp - 0x40]
mov edx, 0x47c3a8
mov eax, esi
call fcn.00479f68
mov eax, dword [ebp - 0x40]
call fcn.0046c14c
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x47c3b8
mov eax, esi
call fcn.00479f68
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404394
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c2dd
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404364
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404364
ret
Function at 0x483068
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4830c2
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00483058
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0046adb8
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0046a9b8
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4830c9
lea eax, [ebp - 4]
call fcn.00404340
ret

Function at 0x48b188
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x48b1b6
mov eax, ebx
call fcn.0048bc3c
cmp dword [ebx + 0x40], 0
je 0x48b1af
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x48b227
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x48b219
cmp dword [ebx + 8], 0
je 0x48b1d8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x48b1ea
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48b219
cmp dword [ebx + 8], 0
je 0x48b1cb
cmp eax, 3
je 0x48b1fd
dec eax
jne 0x48b1cb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x48b1cb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x48b1cb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x48b245
cmp dword [ebx + 0x14], 0xcc
je 0x48b245
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0048b250
pop ebx
ret
Function at 0x4a3820
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x68], 0
jne 0x4a3838
mov eax, ebx
call fcn.004a3580
cmp dword [ebx + 0x60], 0
jne 0x4a3845
mov eax, ebx
call fcn.004a34d8
mov esi, dword [ebx + 0x68]
test esi, esi
je 0x4a39ec
cmp dword [ebx + 0x60], 0
je 0x4a39ec
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [esp], eax
mov eax, dword [ebx + 0x68]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [esp + 4], eax
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.004a3458
mov edx, dword [esp + 0x1c]
mov ecx, edx
mov esi, dword [esp + 0x14]
sub ecx, esi
mov eax, dword [esp]
cmp ecx, eax
je 0x4a38b8
mov ecx, dword [esp + 4]
sub ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x18]
sar ecx, 1
jns 0x4a38a1
adc ecx, 0
push ecx
sub eax, edx
add eax, esi
sar eax, 1
jns 0x4a38ad
adc eax, 0
push eax
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0xdc]
test eax, eax
je 0x4a38ce
call fcn.0044bda8
mov esi, eax
jmp 0x4a38d1
mov esi, dword [ebx + 0x48]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4a38e6
or esi, 0xffffffff
jmp 0x4a38f0
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x60]
call fcn.00444ce0
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x60]
call fcn.00444d04
mov edx, dword [esp]
mov eax, dword [ebx + 0x60]
call fcn.00444d2c
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x60]
call fcn.00444d50
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.00417aec
mov eax, ebp
mov byte [esp + 0x12], al
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 1
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x60]
call fcn.0044bda8
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x60]
call fcn.0044bda8
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x60]
call fcn.0044bda8
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x68]
call fcn.00428b44
call fcn.00424194
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x60]
call fcn.0044bda8
push eax
mov eax, dword [0x52b1b0]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x60]
call fcn.0044bda8
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4c0f2c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, ecx
mov edi, edx
mov ebx, eax
mov eax, ebx
call fcn.004c0f18
test eax, eax
jne 0x4c0f4d
mov eax, esi
call fcn.00404340
jmp 0x4c0fde
mov eax, ebx
call fcn.004c1074
test al, al
je 0x4c0f93
push 0
push 0
push 0xe
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
mov edi, eax
mov eax, esi
mov ecx, edi
xor edx, edx
call fcn.00404430
test edi, edi
je 0x4c0f8a
mov eax, dword [esi]
push eax
inc edi
push edi
push 0xd
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
jmp 0x4c0fde
mov eax, esi
call fcn.00404340
jmp 0x4c0fde
mov ebp, dword [ebx + 0x78]
test ebp, ebp
je 0x4c0fd7
mov eax, dword [ebp + 0x208]
call fcn.00419cdc
test eax, eax
jle 0x4c0fc5
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x208]
mov edx, edi
call fcn.00439248
mov edx, dword [eax + 0xc]
mov eax, esi
call fcn.00404394
jmp 0x4c0fde
mov eax, esi
mov edx, dword [ebx + 0x78]
mov edx, dword [edx + 0x210]
call fcn.00404394
jmp 0x4c0fde
mov eax, esi
call fcn.00404340
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4c2cc8
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
push 1
push esi
mov ecx, 1
xor edx, edx
xor eax, eax
call fcn.004066d0
push esi
push 0
push 0x419
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
pop esi
pop ebx
ret

Function at 0x4c7cb4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4c7d6e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404a4c
mov eax, dword [0x52b924]
cmp dword [eax], 2
jne 0x4c7d23
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404c94
mov eax, dword [ebx]
call fcn.00404bb8
push eax
mov eax, dword [ebx]
call fcn.00404ba8
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404bb8
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404c94
jmp 0x4c7d55
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00409664
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404b98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c7d75
lea eax, [ebp - 0x3f0]
call fcn.00404340
ret
Function at 0x4d50e4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ebp, 0x52d1e0
test esi, esi
jne 0x4d50fe
xor eax, eax
jmp 0x4d5200
cmp dword [ebp], 0
jne 0x4d5109
call fcn.004d5074
xor ebx, 0xffffffff
cmp edi, 8
jb 0x4d51d9
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jae 0x4d5115
test edi, edi
jbe 0x4d51fb
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
ja 0x4d51dd
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4f2598
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, eax
mov ebx, dword [ebp + 8]
add ebx, 0xffffffc4
mov esi, dword [ebp + 8]
add esi, 0xffffffbc
xor eax, eax
push ebp
push 0x4f274e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.00428b44
mov eax, dword [eax + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
mov edx, dword [edx + 0x70]
mov edx, dword [edx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x48]
call fcn.00457c48
call fcn.004e2534
mov edx, dword [ebp + 8]
mov dword [edx - 0x4c], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 0x4c], 0
je 0x4f261c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x68]
call fcn.004233ec
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.00428b44
mov eax, dword [eax + 0xc]
pop edx
call fcn.004233f4
mov eax, dword [ebp + 8]
mov dword [eax - 0x50], ebx
lea edx, [ebp - 4]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.004232d4
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x1c]
call fcn.00409510
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x50]
push eax
push 0x3c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.00428b44
call fcn.00424194
push eax
call sub.gdi32.dll_GetObjectA
mov dword [ebx + 8], edi
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00423348
mov dword [ebx], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00423384
test al, 8
setne al
mov byte [ebx + 0x16], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00423384
test al, 2
setne al
mov byte [ebx + 0x14], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00423384
test al, 4
setne al
mov byte [ebx + 0x15], al
mov dword [ebx + 0x10], 0x190
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.004233ec
mov byte [ebx + 0x17], al
xor eax, eax
mov dword [ebx + 4], eax
mov byte [ebx + 0x18], 0
mov byte [ebx + 0x19], 0
mov eax, dword [ebx + 8]
mov dword [ebx + 0xc], eax
mov byte [ebx + 0x1b], 0
mov byte [ebx + 0x1a], 0
push ebx
call sub.gdi32.dll_CreateFontIndirectA
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.00428b44
mov eax, dword [eax + 0xc]
pop edx
call fcn.00423280
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.00428b44
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 8]
imul edx, dword [edx - 0x54], 0x43
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xc8]
mov edx, dword [ecx + edx*4 + 0xb8]
call fcn.004230c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f2755
lea eax, [ebp - 4]
call fcn.00404340
ret
Function at 0x5106a8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x6c], 0
jne 0x5106c0
mov eax, ebx
call fcn.0050ff3c
cmp dword [ebx + 0x68], 0
jne 0x5106cd
mov eax, ebx
call fcn.0050fe98
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x510880
cmp dword [ebx + 0x68], 0
je 0x510880
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [esp], eax
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [esp + 4], eax
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.0050fd08
lea eax, [esp + 0x14]
xor edx, edx
call fcn.00512338
cmp eax, dword [esp]
je 0x51074f
lea eax, [esp + 0x14]
xor edx, edx
call fcn.0051234c
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x51072b
adc edx, 0
push edx
lea eax, [esp + 0x18]
xor edx, edx
call fcn.00512338
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x510744
adc edx, 0
push edx
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x510762
mov eax, dword [eax + 0x18]
call fcn.0044bda8
mov esi, eax
jmp 0x510765
mov esi, dword [ebx + 0x50]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x51077a
or esi, 0xffffffff
jmp 0x510784
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x68]
call fcn.00444ce0
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x68]
call fcn.00444d04
mov edx, dword [esp]
mov eax, dword [ebx + 0x68]
call fcn.00444d2c
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x68]
call fcn.00444d50
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.004066ec
mov eax, ebp
mov byte [esp + 0x12], al
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 1
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.0044bda8
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.0044bda8
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.0044bda8
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x6c]
call fcn.00428b44
call fcn.00424194
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.0044bda8
push eax
mov eax, dword [0x52b1b0]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x68]
call fcn.0044bda8
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret