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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
cmp byte [ebx + 0xc], 0
mov dword [ebp - 8], ebx
je 0x4ab603
push esi
mov esi, dword [ebx + 0x30]
mov dword [ebp - 4], esi
cmp esi, dword [ebx + 0x34]
je 0x4ab602
push edi
mov ecx, dword [esi]
test ecx, ecx
jne 0x4ab4d1
xor edi, edi
jmp 0x4ab4e7
mov eax, dword [esi + 8]
test eax, eax
je 0x4ab4dd
mov eax, dword [eax + 0xc]
jmp 0x4ab4df
xor eax, eax
mov edi, dword [esi + 4]
imul edi, eax
add edi, ecx
cmp byte [edi + 0xc], 0
jne 0x4ab4fb
cmp byte [edi + 0x7c], 0
je 0x4ab5f2
mov byte [edi + 0xc], 1
cmp byte [edi + 0x7c], 0
jne 0x4ab554
mov byte [edi + 0xc], 0
mov ecx, dword [edi + 0x18]
test ecx, ecx
jne 0x4ab510
xor edi, edi
jmp 0x4ab526
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4ab51c
mov eax, dword [eax + 0xc]
jmp 0x4ab51e
xor eax, eax
mov edi, dword [edi + 0x1c]
imul edi, eax
add edi, ecx
cmp dword [edi + 4], 0
je 0x4ab5f2
mov ecx, 0x5537a9
call fcn.004047e0
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 4]
push 0
push eax
push ecx
mov ecx, dword [0x552adc]
call fcn.0040f300
jmp 0x4ab5f2
mov ecx, edi
xor ebx, ebx
call fcn.00404ea0
test eax, eax
je 0x4ab5e8
mov ecx, dword [edi + 0x34]
test ecx, ecx
jne 0x4ab570
xor esi, esi
jmp 0x4ab588
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x4ab57c
mov eax, dword [eax + 0xc]
jmp 0x4ab57e
xor eax, eax
mov esi, dword [edi + 0x38]
add esi, ebx
imul esi, eax
add esi, ecx
mov edx, dword [esi + 0xc]
cmp dword [edx - 0xc], 0
je 0x4ab5d9
cmp dword [esi + 4], 2
jne 0x4ab5d9
cmp byte [esi + 0x44], 0
jne 0x4ab5d9
mov eax, dword [esi + 0x78]
lea ecx, [esi + 0x70]
test eax, eax
je 0x4ab5c4
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4ab5c4
dec eax
push eax
call fcn.004b47f0
cmp dword [eax], 4
jne 0x4ab5c4
lea ecx, [esi + 0x34]
call fcn.004ab200
jmp 0x4ab5d9
lea ecx, [esi + 0x34]
mov dword [ecx], 0
mov dword [esi + 0x3c], 0
call fcn.0046ad20
mov ecx, edi
inc ebx
call fcn.00404ea0
cmp ebx, eax
jb 0x4ab565
mov esi, dword [ebp - 4]
mov ecx, edi
call fcn.0045d090
mov ebx, dword [ebp - 8]
add esi, 0xc
mov dword [ebp - 4], esi
cmp esi, dword [ebx + 0x34]
jne 0x4ab4c7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b0120
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5061d8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
mov eax, dword [0x5515b0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5515b0
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
movzx eax, word [ebp + 0xc]
push eax
mov eax, dword [edi + 4]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edi, eax
test edi, edi
jns 0x4b0191
push 0x80070057
call fcn.00401000
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x4b01ae
push edi
lea ecx, [ebp - 0x10]
call fcn.00401a60
mov esi, dword [ebp - 0x10]
cmp edi, dword [esi - 8]
jg 0x4b0187
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
inc edi
push edi
push esi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004f4a27
xor edi, edi
add esp, 8
cmp eax, edi
jl 0x4b0187
cmp eax, dword [esi - 8]
jg 0x4b0187
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
cmp dword [esi - 0xc], 6
jle 0x4b0295
push edi
push edi
push 0xb0
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
movzx ecx, ax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], edi
test edi, edi
js 0x4b0187
cmp edi, dword [esi - 0xc]
jg 0x4b0187
movsx edx, byte [edi + esi]
push edx
call fcn.004f6745
add esp, 4
test eax, eax
je 0x4b0227
inc edi
inc edi
cmp edi, 6
jg 0x4b0232
mov dword [ebp - 0x14], edi
jl 0x4b0204
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00406e20
movzx eax, word [ebp + 0xc]
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
push edi
push eax
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov eax, dword [ebp - 0x1c]
push eax
push eax
push 0xb1
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xb7
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b0295
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b02b8
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4b03a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
test ecx, ecx
je 0x4b03b4
lea esi, [ecx - 0x20]
mov dword [ebp - 4], esi
jmp 0x4b03be
mov dword [ebp - 4], 0
mov esi, dword [ebp - 4]
cmp dword [ebp + 0x14], 0
mov ecx, dword [esi + 4]
mov dword [ebp - 8], 1
je 0x4b0478
mov eax, dword [ebp + 8]
push ebx
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, eax
mov dword [ebp - 0xc], 0xffffffff
test esi, esi
jns 0x4b03fe
push 0x80070057
call fcn.00401000
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or edx, eax
jge 0x4b041c
push esi
mov ecx, edi
call fcn.00401a60
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x4b03f4
mov dword [eax - 0xc], esi
mov ecx, dword [edi]
mov byte [esi + ecx], 0
test eax, eax
je 0x4b0466
lea edx, [esi + 1]
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [ebp - 0xc], eax
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x4b0456
push ecx
push eax
call fcn.004f4a27
add esp, 8
test eax, eax
js 0x4b03f4
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x4b03f4
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
mov byte [eax + ecx], 0
pop ebx
cmp dword [ebp - 0xc], esi
jge 0x4b04c4
mov esi, dword [ebp - 4]
mov dword [ebp - 8], 0
jmp 0x4b0490
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov eax, dword [ebp + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov dword [ebp - 8], eax
test eax, eax
jne 0x4b04f2
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
add esi, 0x20
je 0x4b04a2
lea eax, [esi - 0x20]
jmp 0x4b04a4
xor eax, eax
mov edx, dword [ebp + 8]
mov eax, dword [eax + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
cmp dword [ebp + 0x18], 0
je 0x4b04f2
mov ecx, dword [edi]
mov edx, dword [ecx - 0xc]
cmp edx, dword [ebp + 0x1c]
jle 0x4b04f2
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp + 8]
push edx
add ecx, 0x20
push eax
call fcn.004b0030
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4be040
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f97e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi], vtable.SaveLoadScene::CSaveLoadPage.0
mov dword [ebp - 4], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
lea edi, [esi + 0x5c]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 4], 2
mov dword [esi + 4], ecx
cmp edi, edx
je 0x4be115
mov ecx, dword [edi + 8]
cmp ecx, eax
je 0x4be0fe
dec dword [ecx + 4]
jne 0x4be0f9
cmp byte [ecx + 8], al
je 0x4be0e4
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov edx, dword [ebp + 0x10]
xor eax, eax
mov ecx, dword [edi + 8]
cmp ecx, eax
je 0x4be0f9
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov edx, dword [ebp + 0x10]
xor eax, eax
mov dword [edi + 8], eax
mov dword [edi], eax
mov ecx, dword [edx]
mov dword [edi], ecx
mov ecx, dword [edx + 4]
mov dword [edi + 4], ecx
mov ecx, dword [edx + 8]
mov dword [edi + 8], ecx
cmp ecx, eax
je 0x4be115
inc dword [ecx + 4]
mov ecx, esi
call fcn.004aa7b0
push 0xf
lea ecx, [esi + 8]
call fcn.004a0490
xor edi, edi
mov edx, dword [esi + 8]
test edx, edx
jne 0x4be133
xor ecx, ecx
jmp 0x4be14b
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4be13f
mov eax, dword [eax + 0xc]
jmp 0x4be141
xor eax, eax
mov ecx, dword [esi + 0xc]
add ecx, edi
imul ecx, eax
add ecx, edx
mov edx, dword [ebp + 8]
mov eax, dword [esi + 4]
push 1
push edx
push edi
push eax
call fcn.004bc0f0
mov eax, dword [esi + 8]
test eax, eax
jne 0x4be166
xor ecx, ecx
jmp 0x4be17e
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4be172
mov edx, dword [ecx + 0xc]
jmp 0x4be174
xor edx, edx
mov ecx, dword [esi + 0xc]
add ecx, edi
imul ecx, edx
add ecx, eax
cmp dword [esi + 0x14], 0
jne 0x4be188
xor eax, eax
jmp 0x4be1a1
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4be194
mov edx, dword [eax + 0xc]
jmp 0x4be196
xor edx, edx
mov eax, dword [esi + 0x18]
add eax, edi
imul eax, edx
add eax, dword [esi + 0x14]
xor edx, edx
cmp byte [ecx], dl
setne dl
inc edi
dec edx
and edx, 3
mov dword [eax + 4], edx
cmp edi, 0xf
jl 0x4be128
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4c3ff0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
push ebx
push esi
push edi
push 0x578
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, eax
test esi, esi
jns 0x4c401e
push 0x80070057
call fcn.00401000
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
sub edx, esi
or ecx, edx
jge 0x4c403c
push esi
mov ecx, edi
call fcn.00401a60
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x4c4014
mov dword [eax - 0xc], esi
mov ecx, dword [edi]
mov byte [esi + ecx], 0
inc esi
push esi
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x4c406d
push ecx
push eax
call fcn.004f4a27
add esp, 8
test eax, eax
js 0x4c4014
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x4c4014
mov dword [ecx - 0xc], eax
mov edx, dword [edi]
pop edi
pop esi
mov byte [eax + edx], 0
pop ebx
pop ebp
ret 4
Function at 0x4c4f10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50fe96
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CTempFile.0
mov eax, dword [0x5515b0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5515b0
call edx
add eax, 0x10
mov dword [esi + 4], eax
mov eax, dword [0x5515b0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5515b0
mov dword [ebp - 4], 0
call edx
add eax, 0x10
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
cmp dword [eax - 0xc], 0
mov byte [ebp - 4], 1
je 0x4c4f86
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x517abc
lea ecx, [esi + 4]
call fcn.004048b0
push 0
push 0x517abc
lea ecx, [esi + 8]
call fcn.004048b0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, esi
call fcn.004c4b30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4c6110
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x553818
call fcn.004175a0
mov eax, dword [0x552af4]
mov ecx, dword [eax + 0x28]
push 1
push ecx
call sub.USER32.dll_WINNLSEnableIME
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
lea ecx, [esi + 4]
call fcn.004178e0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextA]
push eax
push ecx
call ebx
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 4]
push edx
push 0x640
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 4]
push ecx
push 0x641
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov eax, dword [esi + 4]
push 0x578
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esi + 0x2c]
push ecx
push eax
call ebx
cmp dword [esi + 0x34], 0
je 0x4c61bc
mov edx, dword [esi + 4]
push 0x642
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x34]
push eax
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
call fcn.004c3fc0
cmp byte [esi + 0x39], 0
je 0x4c61ea
mov edx, dword [esi + 4]
push 0x44c
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [esi + 0x38], 0
je 0x4c61ea
push 0x5229d8
push edi
call ebx
pop edi
mov byte [esi + 0x3a], 0
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4d54b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510b18
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov byte [esi + 4], bl
mov dword [esi], vtable.CEffectBlend.0
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], ebx
or ecx, 0xffffffff
mov dword [esi + 0x24], ecx
mov eax, 0xff
mov dword [esi + 0x30], eax
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 8]
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x24], ebx
mov ecx, dword [eax]
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
cmp ecx, ebx
jne 0x4d554f
xor eax, eax
jmp 0x4d5565
mov edx, dword [eax + 8]
cmp edx, ebx
je 0x4d555b
mov edx, dword [edx + 0xc]
jmp 0x4d555d
xor edx, edx
mov eax, dword [eax + 4]
imul eax, edx
add eax, ecx
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
cmp ecx, ebx
jne 0x4d5575
xor eax, eax
jmp 0x4d558b
mov edx, dword [eax + 8]
cmp edx, ebx
je 0x4d5581
mov edx, dword [edx + 0xc]
jmp 0x4d5583
xor edx, edx
mov eax, dword [eax + 4]
imul eax, edx
add eax, ecx
mov eax, dword [eax + 4]
mov ecx, 0x553818
mov dword [esi + 0x10], eax
call fcn.004175a0
mov edi, dword [0x552af4]
mov ecx, dword [edi + 0x30]
sub ecx, dword [edi + 0x2c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x4d55f3
mov eax, dword [edi + 0x2c]
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
jne 0x4d55cd
xor eax, eax
mov dword [ebp + 8], eax
jmp 0x4d55f6
mov edx, dword [eax + 0x14]
cmp edx, ebx
je 0x4d55e4
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
mov dword [ebp + 8], eax
jmp 0x4d55f6
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
mov dword [ebp + 8], eax
jmp 0x4d55f6
mov dword [ebp + 8], ebx
mov ecx, 0x553818
call fcn.004175a0
mov edi, dword [0x552af4]
mov ecx, dword [edi + 0x30]
sub ecx, dword [edi + 0x2c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x4d563b
mov eax, dword [edi + 0x2c]
mov ecx, dword [eax]
cmp ecx, ebx
je 0x4d563b
mov edx, dword [eax + 8]
cmp edx, ebx
je 0x4d5631
mov ebx, dword [edx + 0xc]
mov eax, dword [eax + 4]
imul eax, ebx
add eax, ecx
jmp 0x4d563d
xor eax, eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x60]
push ecx
mov ecx, eax
call fcn.00497600
mov dword [esi + 0x38], eax
mov byte [esi + 4], 1
jmp 0x4d565d
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4d5840
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510b48
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov byte [esi + 4], bl
mov dword [esi], vtable.CEffectTransit.0
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], ebx
or ecx, 0xffffffff
mov dword [esi + 0x24], ecx
mov eax, 0xff
mov dword [esi + 0x30], eax
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
cmp ecx, ebx
jne 0x4d58e2
xor eax, eax
jmp 0x4d58f8
mov edx, dword [eax + 8]
cmp edx, ebx
je 0x4d58ee
mov edx, dword [edx + 0xc]
jmp 0x4d58f0
xor edx, edx
mov eax, dword [eax + 4]
imul eax, edx
add eax, ecx
mov ecx, 0x553818
mov dword [esi + 0xc], eax
call fcn.004175a0
mov edi, dword [0x552af4]
mov ecx, dword [edi + 0x30]
sub ecx, dword [edi + 0x2c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
jbe 0x4d595d
mov eax, dword [edi + 0x2c]
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
jne 0x4d5937
xor eax, eax
mov dword [ebp + 0xc], eax
jmp 0x4d5960
mov edx, dword [eax + 0x14]
cmp edx, ebx
je 0x4d594e
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
mov dword [ebp + 0xc], eax
jmp 0x4d5960
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
mov dword [ebp + 0xc], eax
jmp 0x4d5960
mov dword [ebp + 0xc], ebx
mov ecx, 0x553818
call fcn.004175a0
mov edi, dword [0x552af4]
mov ecx, dword [edi + 0x30]
sub ecx, dword [edi + 0x2c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4d59a5
mov eax, dword [edi + 0x2c]
mov ecx, dword [eax]
cmp ecx, ebx
je 0x4d59a5
mov edx, dword [eax + 8]
cmp edx, ebx
je 0x4d599b
mov ebx, dword [edx + 0xc]
mov eax, dword [eax + 4]
imul eax, ebx
add eax, ecx
jmp 0x4d59a7
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x60]
push edx
mov ecx, eax
call fcn.00497600
mov dword [esi + 0x38], eax
mov byte [esi + 4], 1
jmp 0x4d59c7
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4da3b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x3c], 0
jne 0x4da473
mov ecx, 0x553818
call fcn.004175a0
mov esi, dword [0x552af4]
mov ecx, dword [esi + 0x30]
sub ecx, dword [esi + 0x2c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jbe 0x4da413
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x4da413
mov edx, dword [eax + 0x20]
test edx, edx
je 0x4da407
mov eax, dword [eax + 0x1c]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x4da415
mov eax, dword [eax + 0x1c]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x4da415
xor eax, eax
mov ecx, dword [eax + 0x14]
and ecx, 3
cmp cl, 3
je 0x4da4d1
mov ecx, 0x5537d8
call fcn.00405670
mov ecx, dword [0x552ae0]
mov edx, dword [ecx + 0x18]
test edx, edx
jne 0x4da43f
xor ecx, ecx
jmp 0x4da455
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x4da44b
mov eax, dword [eax + 0xc]
jmp 0x4da44d
xor eax, eax
mov ecx, dword [ecx + 0x1c]
imul ecx, eax
add ecx, edx
push 6
call fcn.00406860
test al, al
je 0x4da4d1
push 0
mov ecx, edi
call fcn.00424130
mov byte [edi + 0x3c], 1
mov al, byte [edi + 0x3c]
pop edi
pop esi
ret
mov ecx, 0x5537d8
call fcn.00405670
mov edx, dword [0x552ae0]
mov esi, dword [edx + 0x18]
test esi, esi
jne 0x4da48e
xor eax, eax
jmp 0x4da4a4
mov eax, dword [edx + 0x20]
test eax, eax
je 0x4da49a
mov ecx, dword [eax + 0xc]
jmp 0x4da49c
xor ecx, ecx
mov eax, dword [edx + 0x1c]
imul eax, ecx
add eax, esi
mov ecx, dword [eax + 0x74]
mov edx, dword [eax + 0x78]
cmp ecx, edx
je 0x4da4c4
mov eax, dword [eax + 0x10]
lea eax, [eax + ecx + 1]
cmp byte [eax], 0
jne 0x4da4d1
add ecx, 3
add eax, 3
cmp ecx, edx
jne 0x4da4b5
push 0
mov ecx, edi
call fcn.00424130
mov byte [edi + 0x3c], 0
mov al, byte [edi + 0x3c]
pop edi
pop esi
ret