joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448558
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x485194]
cmp dword [eax + 0x30], 0
je 0x448602
cmp dword [ebx + 0x94], 0
jne 0x4485fc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4484e8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4485fc
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 0x4485c2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4485fc
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.00426520
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4485d1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x449164
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 0x449199
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.004040f8
jmp 0x4491a6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040405c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44a074
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44a0b5
mov eax, esi
call fcn.0045e09c
test al, al
je 0x44a0b5
mov eax, dword [ebx + 0x84]
call fcn.0045dddc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44a0b5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045dddc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x44cfd0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404008
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44d01f
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404278
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455240
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x485214], 0
je 0x45538f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x483c04]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x45538f
mov eax, dword [0x485218]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x485214]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x45535e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x485214]
call fcn.00426520
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x455356
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x455356
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x455356
mov eax, dword [ebp - 0x14]
call fcn.0045dddc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x455356
push ebp
call fcn.004551fc
pop ecx
test al, al
jne 0x455356
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x455312
mov eax, dword [ebp - 0x14]
call fcn.0045c8d4
dec eax
jle 0x455356
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403374
cmp byte [ebp - 1], 0
je 0x455356
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x455356
mov edx, dword [ebp - 0x14]
mov eax, dword [0x485218]
call fcn.004549c8
inc edi
dec ebx
jne 0x4552a5
mov eax, dword [0x485218]
cmp dword [eax + 8], 0
jle 0x455376
mov eax, dword [0x485218]
call fcn.00454a58
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45538f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00455064
pop ecx
test al, al
jne 0x45538f
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458928
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x458974
mov eax, esi
call fcn.00440904
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x458974
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x458974
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x458ab3
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4589b4
cmp eax, 0x108
ja 0x4589b4
mov eax, esi
call fcn.00440904
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x458aaa
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x458ab3
jmp 0x458aaa
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x458a93
cmp eax, 0x20a
ja 0x458a93
test byte [esi + 0x50], 0x80
jne 0x4589e6
sub eax, 0x203
je 0x4589e3
sub eax, 3
je 0x4589e3
sub eax, 3
jne 0x4589e6
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4589fa
dec eax
je 0x458a0f
dec eax
je 0x458a2c
dec eax
je 0x458a0f
jmp 0x458a33
mov ecx, ebx
mov eax, dword [0x483c04]
mov eax, dword [eax]
mov edx, esi
call fcn.00449f2c
jmp 0x458aaa
cmp byte [esi + 0x5d], 1
jne 0x458a25
mov eax, esi
mov si, 0xffed
call fcn.00403374
jmp 0x458ab3
or word [esi + 0x54], 1
jmp 0x458aaa
and word [esi + 0x54], 0xfffe
jmp 0x458aaa
mov eax, dword [0x4851d0]
cmp byte [eax + 0x20], 0
je 0x458aaa
mov eax, dword [0x4851d0]
cmp dword [eax + 0x1c], 0
je 0x458aaa
mov eax, dword [ebx]
mov edx, dword [0x4851d0]
cmp eax, dword [edx + 0x1c]
jne 0x458aaa
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00440848
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403374
jmp 0x458ab3
cmp eax, 0xb00b
jne 0x458aaa
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00457290
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45bf34
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x45bf50
cmp dword [esi + 4], 0
je 0x45bf7d
test byte [ebx + 0x55], 1
jne 0x45bf6f
mov eax, ebx
call fcn.0045ab40
test eax, eax
jne 0x45bf6f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x45c08d
mov edx, esi
mov eax, ebx
call fcn.0045ba58
jmp 0x45c08d
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45c086
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0045dddc
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0045885c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0045bf34
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0045dddc
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c08d
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x462534
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x483f18]
cmp byte [eax + 0xc], 0
je 0x4626a1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46269a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x485224], 0
jne 0x462588
push 0x4626a8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4626b0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x485224], eax
cmp dword [0x482d78], 0
jne 0x462683
push 0x4626c0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x482d78], eax
cmp dword [0x482d78], 0
je 0x462683
push 0x4626cc
mov eax, dword [0x482d78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x485228], eax
push 0x4626dc
mov eax, dword [0x482d78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48522c], eax
push 0x4626f0
mov eax, dword [0x482d78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x485230], eax
push 0x462708
mov eax, dword [0x482d78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x485234], eax
push 0x462720
mov eax, dword [0x482d78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x485238], eax
push 0x462734
mov eax, dword [0x482d78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48523c], eax
push 0x46274c
mov eax, dword [0x482d78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x485240], eax
push 0x462764
mov eax, dword [0x482d78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x485244], eax
push 0x462780
mov eax, dword [0x482d78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x485248], eax
push 0x46278c
mov eax, dword [0x482d78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48524c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4626a1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x46afd8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46b006
mov eax, ebx
call fcn.0046ba8c
cmp dword [ebx + 0x40], 0
je 0x46afff
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46b077
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46b069
cmp dword [ebx + 8], 0
je 0x46b028
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 0x46b03a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46b069
cmp dword [ebx + 8], 0
je 0x46b01b
cmp eax, 3
je 0x46b04d
dec eax
jne 0x46b01b
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 0x46b01b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46b01b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46b095
cmp dword [ebx + 0x14], 0xcc
je 0x46b095
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.0046b0a0
pop ebx
ret

Function at 0x47b72c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
lea edi, [esp + 8]
push ecx
mov ecx, 0x3e
rep movsd dword es:[edi], dword [esi]
pop ecx
mov edi, ecx
mov dword [esp], eax
mov eax, dword [edi]
push eax
call fcn.0047b6d4
mov dword [esp + 4], eax
mov eax, dword [edi]
movzx esi, word [eax + 6]
dec esi
test esi, esi
jl 0x47b827
inc esi
mov eax, dword [esp + 4]
cmp dword [eax + 0x10], 0
jne 0x47b7ba
mov ebp, dword [esp + 0x40]
test ebp, ebp
jle 0x47b7ab
push 0x40
push 0x1000
push ebp
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [edi + 4]
call fcn.0047b638
push eax
call sub.kernel32.dll_VirtualAlloc_1
mov ebx, eax
mov eax, dword [esp + 4]
mov dword [eax + 8], ebx
mov edx, ebp
mov eax, ebx
call fcn.00406d98
push 0
push 0x28
lea eax, [esp + 0xc]
call fcn.0047b608
jmp 0x47b820
push 0x40
push 0x1000
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [edi + 4]
call fcn.0047b638
push eax
mov eax, dword [0x483afc]
mov eax, dword [eax]
call eax
mov ebx, eax
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x14]
xor edx, edx
push edx
push eax
mov eax, dword [esp + 8]
call fcn.0047b638
mov edx, eax
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x10]
mov eax, ebx
call fcn.00406d90
mov eax, dword [esp + 4]
mov dword [eax + 8], ebx
push 0
push 0x28
lea eax, [esp + 0xc]
call fcn.0047b608
dec esi
jne 0x47b766
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x47badc
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
test eax, 0x4000000
je 0x47baf1
or edx, 0x200
test eax, 0x20000000
je 0x47bb24
test eax, 0x40000000
je 0x47bb10
test eax, 0x80000000
je 0x47bb0b
or edx, 0x40
jmp 0x47bb4b
or edx, 0x20
jmp 0x47bb4b
test eax, 0x80000000
je 0x47bb1f
or edx, 0x80
jmp 0x47bb4b
or edx, 0x10
jmp 0x47bb4b
test eax, 0x40000000
je 0x47bb3c
test eax, 0x80000000
je 0x47bb37
or edx, 4
jmp 0x47bb4b
or edx, 2
jmp 0x47bb4b
test eax, 0x80000000
je 0x47bb48
or edx, 8
jmp 0x47bb4b
or edx, 1
mov eax, edx
pop ebp
ret 4
Function at 0x47c0c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
add esp, 0xfffffff0
call fcn.0047c0bc
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0x64
call sub.kernel32.dll_Sleep_1
call fcn.0047c0bc
sub eax, dword [esp]
sbb edx, dword [esp + 4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call sub.kernel32.dll_GetTickCount
mov ecx, eax
sub ecx, ebx
cmp dword [esp + 0xc], 0
jne 0x47c10e
cmp dword [esp + 8], 0x2faf080
jb 0x47c119
jmp 0x47c110
jl 0x47c119
cmp ecx, 0x32
jb 0x47c119
xor eax, eax
jmp 0x47c11b
mov al, 1
add esp, 0x10
pop ebx
ret
Function at 0x418940
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c4868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.user32.dll_GetParent]
mov eax, dword [esi + 0x20]
push eax
call edi
push eax
call sub.mfc42u.dll_CWnd::FromHandle
push eax
lea ecx, [esp + 0x30]
call sub.mfc42u.dll_CClientDC::CClientDC
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x50], 0
call dword [sym.imp.user32.dll_GetClientRect]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.user32.dll_GetWindowRect]
mov edx, dword [esi + 0x20]
push edx
call edi
push eax
call sub.mfc42u.dll_CWnd::FromHandle
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call sub.mfc42u.dll_CWnd::ScreenToClient
mov eax, dword [esi + 0x12c]
mov ebx, dword [sym.imp.gdi32.dll_BitBlt]
test eax, eax
jne 0x418a76
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x128]
call sub.mfc42u.dll_CDC::Attach
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub ecx, edi
push eax
push ecx
push edx
lea edi, [esi + 0x138]
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call sub.mfc42u.dll_CGdiObject::Attach
test edi, edi
je 0x418a22
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x12c]
push edi
push eax
call sub.mfc42u.dll_CDC::SelectGdiObject
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x140], eax
mov eax, dword [esp + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
sub edx, eax
lea eax, [esp + 0x2c]
push 0xcc0020
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x24]
push edi
push eax
push ecx
mov ecx, dword [esi + 0x12c]
push edx
push 0
push 0
push ecx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x128]
sub ecx, edi
test edx, edx
je 0x418a97
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push 0
mov eax, dword [edx + 4]
push 0
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.005c1082
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x419c80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c49c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0
mov eax, dword [esi + 0xc]
lea edi, [ecx + 0x138]
push eax
push 0
push ebx
mov ecx, edi
call fcn.004c0670
mov eax, dword [esi + 0x10]
push 0
push eax
push 1
push ebx
mov ecx, edi
call fcn.004c0670
fld qword [0x5e27a0]
fsub qword [esi + 0x28]
push 0
push 0
sub esp, 8
fdivr qword [0x5e27a0]
fmul qword [esi + 0xc0]
fld dword [esi + 0xf4]
fadd st(0), st(0)
faddp st(1)
fstp qword [esp]
call fcn.004aaab0
mov eax, dword [eax]
add esp, 0x10
mov ecx, edi
push 0
push eax
push 2
push ebx
call fcn.004c0670
fld qword [esi + 0x30]
fcomp qword [0x5e28b0]
fnstsw ax
test ah, 0x41
je 0x419d45
fld qword [esi + 0x30]
fcomp qword [0x5e28a8]
fnstsw ax
test ah, 1
jne 0x419d45
fld qword [esi + 0x30]
fmul qword [0x5e2640]
fsubr qword [0x5e2858]
fmul qword [esi + 0x18]
fstp qword [esp + 0xc]
jmp 0x419d53
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0
push 0
push edx
push eax
call fcn.004aaae0
mov eax, dword [eax]
add esp, 0x10
mov ecx, edi
push 0
push eax
push 3
push ebx
call fcn.004c0670
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x28]
push ecx
push edx
push 0
push 0x617f68
push 4
push ebx
push edi
call fcn.004c06e0
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x30]
add esp, 0x1c
push eax
push ecx
push 0
push 0x617f68
push 5
push ebx
push edi
call fcn.004c06e0
fld qword [esi + 0x30]
fcomp qword [0x5e28b0]
add esp, 0x1c
fnstsw ax
test ah, 0x41
je 0x419de2
fld qword [esi + 0x30]
fcomp qword [0x5e28a8]
fnstsw ax
test ah, 1
jne 0x419de2
fld qword [esi + 0x30]
fmul qword [0x5e2640]
fsubr qword [0x5e2858]
fmul qword [esi + 0x18]
jmp 0x419de5
fld qword [esi + 0x18]
fld qword [esi + 0xb8]
fmul qword [esi + 0xc0]
sub esp, 8
fmul st(1)
fmul qword [0x5e27a8]
fstp qword [esp]
push 0
push 0x617b6c
push 6
push ebx
push edi
fstp st(0)
call fcn.004c06e0
fld qword [esi + 0xe0]
fmul qword [0x5e2640]
add esp, 0x1c
push 0
sub esp, 8
fstp qword [esp]
push 0
push 0x617b6c
push 7
push ebx
push edi
call fcn.004c06e0
add esp, 0x20
mov ecx, esi
call fcn.004f7380
push eax
push 0
push 0x617dbc
push 8
push ebx
push edi
call fcn.004c06e0
add esp, 0x18
lea ecx, [esp + 0xc]
push 0x618c0c
call fcn.005c0fb0
lea edx, [esp + 0xc]
mov dword [esp + 0x20], 0
push edx
call fcn.004aab70
fmul qword [esi + 0x40]
push ecx
fmul qword [0x5e2640]
fstp qword [esp]
push 0
push 0x617b6c
push 9
push ebx
push edi
call fcn.004c06e0
add esp, 0x1c
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call sub.mfc42u.dll_CString::CString
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41eb60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c5000
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push 0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
push 0
push eax
push ecx
call fcn.004aaae0
mov eax, dword [eax]
add esp, 0x10
lea ecx, [edi + 0x160]
push eax
call sub.mfc42u.dll_CWnd::SetWindowTextW
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x28]
push edx
push eax
push 0
lea ecx, [esp + 0x1c]
push 0x618138
push ecx
call fcn.0046c5e0
add esp, 0x14
mov eax, dword [eax]
lea ecx, [edi + 0x120]
push eax
mov dword [esp + 0x24], 0
call sub.mfc42u.dll_CWnd::SetWindowTextW
or ebx, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], ebx
call sub.mfc42u.dll_CString::CString
mov edx, dword [esi + 0x34]
mov eax, dword [esi + 0x30]
push edx
push eax
push 0
lea ecx, [esp + 0x1c]
push 0x618138
push ecx
call fcn.0046c5e0
add esp, 0x14
mov eax, dword [eax]
lea ecx, [edi + 0xe0]
push eax
mov dword [esp + 0x24], 1
call sub.mfc42u.dll_CWnd::SetWindowTextW
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], ebx
call sub.mfc42u.dll_CString::CString
fld dword [esi + 0xf0]
sub esp, 8
lea edx, [esp + 0x1c]
fstp qword [esp]
push 0
push 0x6181c0
push edx
call fcn.0046c5e0
add esp, 0x14
mov eax, dword [eax]
lea ecx, [edi + 0x60]
push eax
mov dword [esp + 0x24], 2
call sub.mfc42u.dll_CWnd::SetWindowTextW
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], ebx
call sub.mfc42u.dll_CString::CString
lea ecx, [esp + 0xc]
call sub.mfc42u.dll_CString::CString_3
fld dword [esi + 0xf4]
sub esp, 8
mov dword [esp + 0x28], 3
fstp qword [esp]
lea eax, [esp + 0x14]
push 0x6181c0
push eax
call sub.mfc42u.dll_CString::Format_1
mov ecx, dword [esp + 0x1c]
add esp, 0x10
push ecx
push 0x526
mov ecx, edi
call sub.mfc42u.dll_CWnd::SetDlgItemTextW
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x40]
push edx
push eax
lea ecx, [esp + 0x14]
push 0x6181c0
push ecx
call sub.mfc42u.dll_CString::Format_1
mov edx, dword [esp + 0x1c]
add esp, 0x10
mov ecx, edi
push edx
push 0x527
call sub.mfc42u.dll_CWnd::SetDlgItemTextW
mov eax, dword [esi + 0x16c]
test eax, eax
je 0x41ecf0
mov eax, dword [edi + 0x200]
push 0
push 2
push 0x14e
push eax
jmp 0x41ed18
mov eax, dword [esi + 0x20]
push 0
cmp eax, 1
jne 0x41ed0a
mov ecx, dword [edi + 0x200]
push 1
push 0x14e
push ecx
jmp 0x41ed18
mov edx, dword [edi + 0x200]
push 0
push 0x14e
push edx
call dword [sym.imp.user32.dll_SendMessageW]
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], ebx
call sub.mfc42u.dll_CString::CString
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4