joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e2a0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5b4acf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esi + 0x28], ebx
mov eax, dword [0x633828]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x1c], 1
cmp eax, ebx
jne 0x44e306
push ebx
push ebx
push ebx
push ebx
push 0xf003f
push ebx
call fcn.0044d340
test eax, eax
jne 0x44e306
push ebx
push ebx
push ebx
push ebx
push 8
push ebx
mov ecx, esi
call fcn.0044d340
test eax, eax
je 0x44e3d9
push ebp
push edi
push ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
push ebx
push ecx
push 0x12c
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], 0x12c
call fcn.00598c8f
mov edi, dword [esp + 0x44]
mov edx, dword [esi + 0x24]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push eax
push edi
push edx
call ebp
cmp eax, ebx
je 0x44e349
and eax, 0xffff
or eax, 0x80070000
jmp 0x44e34b
xor eax, eax
mov dword [esi + 0x28], eax
and eax, 0xffff
cmp eax, 0xea
jne 0x44e3a0
push ebx
lea ecx, [esp + 0x14]
call fcn.00598cde
mov ecx, esi
call fcn.0044e0f0
push ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
inc eax
push ebx
push ecx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], eax
call fcn.00598c8f
mov edx, dword [esi + 0x24]
push eax
push edi
push edx
call ebp
cmp eax, ebx
je 0x44e39b
and eax, 0xffff
or eax, 0x80070000
jmp 0x44e39d
xor eax, eax
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x28]
pop edi
cmp eax, ebx
pop ebp
jl 0x44e3cf
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.00598cde
mov eax, dword [esp + 8]
cmp dword [eax - 8], ebx
jne 0x44e3d9
mov ecx, dword [0x5c31f0]
push ecx
lea ecx, [esp + 0xc]
call fcn.005989e8
jmp 0x44e3d9
push ebx
lea ecx, [esp + 0xc]
call fcn.00598cde
cmp dword [esi + 0x28], ebx
jl 0x44e3f8
mov esi, dword [esp + 0x24]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.005985d4
mov dword [esp + 0x10], 1
jmp 0x44e410
mov esi, dword [esp + 0x24]
push 0x638420
mov ecx, esi
call fcn.005988cd
mov dword [esp + 0x10], 1
lea ecx, [esp + 8]
mov byte [esp + 0x1c], bl
call fcn.0059885f
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x44f0f0
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5b4c1b
push eax
mov dword fs:[0], esp
sub esp, 0x2a0
push ebx
push ebp
push esi
push edi
push str.WS2_32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
test ebp, ebp
je 0x44f28e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WSAStartup
push ebp
call esi
push str.gethostname
push ebp
mov edi, eax
call esi
push str.gethostbyname
push ebp
mov dword [esp + 0x18], eax
call esi
push str.WSACleanup
push ebp
mov ebx, eax
call esi
push str.inet_ntoa
push ebp
mov dword [esp + 0x1c], eax
call esi
test edi, edi
mov dword [esp + 0x1c], eax
je 0x44f287
mov esi, dword [esp + 0x10]
test esi, esi
je 0x44f287
test ebx, ebx
je 0x44f287
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x44f287
test eax, eax
je 0x44f287
lea eax, [esp + 0x120]
push eax
push 0x101
call edi
test eax, eax
jne 0x44f287
mov eax, dword [esp + 0x2c8]
test eax, eax
jne 0x44f1d3
lea ecx, [esp + 0x20]
push 0xff
push ecx
call esi
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
je 0x44f283
push eax
call ebx
test eax, eax
mov dword [esp + 0x18], eax
je 0x44f283
mov eax, dword [eax + 0xc]
cmp dword [eax], 0
je 0x44f271
mov edi, dword [esp + 0x2c0]
mov ebx, dword [esp + 0x2c4]
xor esi, esi
mov ecx, dword [esi + eax]
xor eax, eax
xor edx, edx
mov al, byte [ecx + 3]
mov dl, byte [ecx + 2]
shl eax, 8
add eax, edx
xor edx, edx
mov dl, byte [ecx + 1]
shl eax, 8
add eax, edx
xor edx, edx
mov dl, byte [ecx]
shl eax, 8
add eax, edx
push eax
call dword [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
call fcn.005988cd
mov ecx, dword [edi + 8]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x2c0], 0
call fcn.00597c7c
lea ecx, [esp + 0x10]
mov dword [esp + 0x2b8], 0xffffffff
call fcn.0059885f
test ebx, ebx
jne 0x44f271
mov eax, dword [esp + 0x18]
add esi, 4
mov eax, dword [eax + 0xc]
cmp dword [esi + eax], 0
jne 0x44f1fe
call dword [esp + 0x14]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
jmp 0x44f290
call dword [esp + 0x14]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov ecx, dword [esp + 0x2b0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2ac
ret 0xc
Function at 0x44f370
Capabilities:
Get disk information
Get disk size

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x250
test eax, eax
push ebx
push esi
push edi
mov esi, ecx
jl 0x44f59b
cmp eax, 0x1a
jge 0x44f59b
add eax, 0x41
push eax
lea eax, [esp + 0x20]
push str._c:_
push eax
call fcn.0057eab8
add esp, 0xc
lea ecx, [esp + 0x154]
lea edx, [esp + 0x40]
lea eax, [esp + 0x28]
push 0x105
push ecx
push edx
lea ecx, [esp + 0x38]
push eax
push ecx
lea edx, [esp + 0x60]
push 0x105
lea eax, [esp + 0x34]
push edx
push eax
mov dword [esp + 0x48], 0x104
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x44f59b
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x268]
call fcn.005989e8
mov edx, dword [esp + 0x268]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
mov dword [edx], eax
call fcn.0044f300
test eax, eax
je 0x44f527
mov eax, dword [esp + 0x24]
test eax, eax
je 0x44f527
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x44f58a
push str.GetDiskFreeSpaceExA
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44f4a8
lea edx, [esp + 0x38]
lea ecx, [esp + 0x30]
push edx
push ecx
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x24]
push edx
push ecx
call eax
test eax, eax
jle 0x44f50f
mov eax, dword [esp + 0x26c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
push ebx
mov dword [eax], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x274]
mov ecx, dword [esp + 0x40]
mov dword [eax], edx
mov dword [eax + 4], ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x250
ret 0x14
lea edx, [esp + 0xc]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x44f59b
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mul dword [esp + 0x10]
mov edi, edx
mov esi, eax
push edi
push esi
push 0
push ecx
call fcn.0057d500
mov ecx, dword [esp + 0x26c]
push edi
push esi
push 0
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x24]
push edx
call fcn.0057d500
mov ecx, dword [esp + 0x270]
mov dword [ecx], eax
mov dword [ecx + 4], edx
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x250
ret 0x14
lea eax, [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x44f59b
mov eax, dword [esp + 0x14]
mul dword [esp + 0x10]
mov edi, edx
mov edx, dword [esp + 0xc]
mov esi, eax
push edi
push esi
push 0
push edx
call fcn.0057d500
mov ecx, dword [esp + 0x26c]
push edi
push esi
push 0
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
push eax
mov dword [ecx + 4], edx
call fcn.0057d500
mov ecx, dword [esp + 0x270]
mov dword [ecx], eax
mov dword [ecx + 4], edx
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x250
ret 0x14
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x250
ret 0x14
Function at 0x44f850
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b4c6f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x633828]
push esi
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov edx, dword [esp + 0x20]
lea eax, [esp + 4]
push edx
push 0x61059c
push eax
push 8
push 1
push 0x98
push ecx
mov dword [esp + 0x30], 1
call fcn.0059c082
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.005985d4
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.0059885f
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x4863c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push eax
push ecx
add esp, 4
call fcn.004862da
add byte [eax + 0x4b], cl
xor al, 0x4f
dec ebp
inc ebx
dec edi
inc ebp
add esp, 4
sub eax, 0xc95a
add eax, 0x7d8
pop eax
push ebx
jmp 0x4862f2
and ebx, 0xfe43
pop ebx
lea eax, [ebp - 0x1628]
mov dword [ebp - 0xc64], eax
mov ecx, dword [ebp - 0x4ec]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xc60], edx
xor eax, eax
mov word [ebp - 0x20c], ax
xor ecx, ecx
mov word [ebp - 0x40], cx
push ebx
or ebx, 0x16849
call 0x486336
add byte [eax + 0x48], dl
cmp eax, 0x833d4e3b
les eax, [ebx + ebx*2]
push ebx
push esi
add esp, 4
add ebx, 0x7c1
or ebx, 0x5a96
jmp 0x486354
pop ebx
mov edx, dword [ebp - 0xc60]
mov ax, word [edx]
mov word [ebp - 0xf92], ax
mov ecx, dword [ebp - 0xc60]
add ecx, 2
mov dword [ebp - 0xc60], ecx
mov dx, word [ebp - 0xf92]
mov word [ebp - 0x20c], dx
mov eax, dword [ebp - 0xc64]
mov cx, word [eax]
mov word [ebp - 0xf94], cx
mov edx, dword [ebp - 0xc64]
add edx, 2
mov dword [ebp - 0xc64], edx
mov ax, word [ebp - 0xf94]
mov word [ebp - 0x40], ax
push edi
push esi
add esp, 4
call 0x4863c0
add byte [ebp + 0x46], cl
aas
push eax
cmp eax, 0x834b3439
les eax, [ecx + eax*4]
test dword [edx - 0x6f], 0xe7810000
out dx, eax
or dword [ecx], eax
add byte [edi + 0x56], bl
xor esi, 0xae9c
or esi, 0x168f
pop esi
movzx ecx, word [ebp - 0x40]
test ecx, ecx
jne 0x4863fb
movzx edx, word [ebp - 0x20c]
movzx eax, word [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x157c], edx
jmp 0x486455
movzx ecx, word [ebp - 0x20c]
movzx edx, word [ebp - 0x40]
cmp ecx, edx
je 0x486323
movzx eax, word [ebp - 0x20c]
xor eax, 0x20
movzx ecx, word [ebp - 0x40]
cmp eax, ecx
je 0x486323
movzx edx, word [ebp - 0x20c]
movzx eax, word [ebp - 0x40]
cmp edx, eax
jge 0x48643f
mov dword [ebp - 0x1578], 0xffffffff
jmp 0x486449
mov dword [ebp - 0x1578], 1
mov ecx, dword [ebp - 0x1578]
mov dword [ebp - 0x157c], ecx
cmp dword [ebp - 0x157c], 0
jne 0x48649e
push edx
push eax
add esp, 4
jmp 0x486468
sub edx, 0x5dc7
pop edx
push ecx
and ecx, 0xdf14
add ecx, 0x164be
pop ecx
push ebx
push ebx
add esp, 4
jmp 0x486489
and ebx, 0xe232
pop ebx
mov edx, dword [ebp - 0x4ec]
mov dword [ebp - 0x2a8], edx
jmp 0x486506
push edi
add edi, 0x17653
sub edi, 0xa1f4
pop edi
push edx
push edx
add esp, 4
sub edx, 0x81c5
call 0x4864c6
add byte [ecx + 0x37], cl
cmp al, 0x40
cmp dword [ebx + 0x3f], ecx
dec eax
dec ebp
add esp, 4
sub edx, 0x16cf9
pop edx
mov eax, dword [ebp - 0x4ec]
mov ecx, dword [eax]
mov dword [ebp - 0x4ec], ecx
mov edx, dword [ebp - 0x4ec]
cmp edx, dword [ebp - 0xc68]
je 0x4864fc
mov eax, dword [ebp - 0x4ec]
cmp dword [eax + 0x30], 0
jne 0x4862c7
mov dword [ebp - 0x2a8], 0
Function at 0x4864c6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push eax
push ecx
add esp, 4
call fcn.004862da
add byte [eax + 0x4b], cl
xor al, 0x4f
dec ebp
inc ebx
dec edi
inc ebp
add esp, 4
sub eax, 0xc95a
add eax, 0x7d8
pop eax
push ebx
jmp 0x4862f2
and ebx, 0xfe43
pop ebx
lea eax, [ebp - 0x1628]
mov dword [ebp - 0xc64], eax
mov ecx, dword [ebp - 0x4ec]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xc60], edx
xor eax, eax
mov word [ebp - 0x20c], ax
xor ecx, ecx
mov word [ebp - 0x40], cx
push ebx
or ebx, 0x16849
call 0x486336
add byte [eax + 0x48], dl
cmp eax, 0x833d4e3b
les eax, [ebx + ebx*2]
push ebx
push esi
add esp, 4
add ebx, 0x7c1
or ebx, 0x5a96
jmp 0x486354
pop ebx
mov edx, dword [ebp - 0xc60]
mov ax, word [edx]
mov word [ebp - 0xf92], ax
mov ecx, dword [ebp - 0xc60]
add ecx, 2
mov dword [ebp - 0xc60], ecx
mov dx, word [ebp - 0xf92]
mov word [ebp - 0x20c], dx
mov eax, dword [ebp - 0xc64]
mov cx, word [eax]
mov word [ebp - 0xf94], cx
mov edx, dword [ebp - 0xc64]
add edx, 2
mov dword [ebp - 0xc64], edx
mov ax, word [ebp - 0xf94]
mov word [ebp - 0x40], ax
push edi
push esi
add esp, 4
call 0x4863c0
add byte [ebp + 0x46], cl
aas
push eax
cmp eax, 0x834b3439
les eax, [ecx + eax*4]
test dword [edx - 0x6f], 0xe7810000
out dx, eax
or dword [ecx], eax
add byte [edi + 0x56], bl
xor esi, 0xae9c
or esi, 0x168f
pop esi
movzx ecx, word [ebp - 0x40]
test ecx, ecx
jne 0x4863fb
movzx edx, word [ebp - 0x20c]
movzx eax, word [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x157c], edx
jmp 0x486455
movzx ecx, word [ebp - 0x20c]
movzx edx, word [ebp - 0x40]
cmp ecx, edx
je 0x486323
movzx eax, word [ebp - 0x20c]
xor eax, 0x20
movzx ecx, word [ebp - 0x40]
cmp eax, ecx
je 0x486323
movzx edx, word [ebp - 0x20c]
movzx eax, word [ebp - 0x40]
cmp edx, eax
jge 0x48643f
mov dword [ebp - 0x1578], 0xffffffff
jmp 0x486449
mov dword [ebp - 0x1578], 1
mov ecx, dword [ebp - 0x1578]
mov dword [ebp - 0x157c], ecx
cmp dword [ebp - 0x157c], 0
jne 0x48649e
push edx
push eax
add esp, 4
jmp 0x486468
sub edx, 0x5dc7
pop edx
push ecx
and ecx, 0xdf14
add ecx, 0x164be
pop ecx
push ebx
push ebx
add esp, 4
jmp 0x486489
and ebx, 0xe232
pop ebx
mov edx, dword [ebp - 0x4ec]
mov dword [ebp - 0x2a8], edx
jmp 0x486506
push edi
add edi, 0x17653
sub edi, 0xa1f4
pop edi
push edx
push edx
add esp, 4
sub edx, 0x81c5
call 0x4864c6
add byte [ecx + 0x37], cl
cmp al, 0x40
cmp dword [ebx + 0x3f], ecx
dec eax
dec ebp
add esp, 4
sub edx, 0x16cf9
pop edx
mov eax, dword [ebp - 0x4ec]
mov ecx, dword [eax]
mov dword [ebp - 0x4ec], ecx
mov edx, dword [ebp - 0x4ec]
cmp edx, dword [ebp - 0xc68]
je 0x4864fc
mov eax, dword [ebp - 0x4ec]
cmp dword [eax + 0x30], 0
jne 0x4862c7
mov dword [ebp - 0x2a8], 0
Function at 0x4a1030
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x24
push esi
push edi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x4a106e
mov edi, dword [esp + 0x30]
push edi
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push edi
push 0x4a0f80
push esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
pop edi
mov eax, 1
pop esi
add esp, 0x24
ret 4
mov ecx, 9
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x24
push eax
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x4a1100
mov eax, dword [esp + 0x14]
cmp eax, 3
ja case.default.0x4a109d
jmp dword [eax*4 + 0x4a1140]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
pop edi
pop esi
lea edx, [ecx - 0x64]
add ecx, 0xfffffff0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [eax + 8], edx
mov eax, 1
add esp, 0x24
ret 4
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0xc], edx
lea edx, [ecx - 0x64]
add ecx, 0xfffffff0
mov dword [eax], edx
mov dword [eax + 8], ecx
pop edi
mov eax, 1
pop esi
add esp, 0x24
ret 4
mov esi, dword [esp + 0x30]
push 0
push esi
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
je 0x4a1135
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
sub eax, 0x96
sub ecx, 0x1e
mov dword [esi], eax
mov dword [esi + 4], ecx
pop edi
mov eax, 1
pop esi
add esp, 0x24
ret 4
pop edi
xor eax, eax
pop esi
add esp, 0x24
ret 4

Function at 0x4a1779
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5bb478
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0059fa10
mov ecx, dword [0x633828]
mov edi, eax
mov dword [esp + 0xc], ecx
mov ebp, dword [esp + 0x40]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
mov eax, dword [ebp + 8]
mov dword [esp + 0x3c], 0
push eax
call fcn.005a4a82
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x44]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
sub eax, ecx
add eax, edx
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push 0x450
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0xa
mov eax, dword [edi]
push ecx
push 0xffffffffffffffff
push edx
mov ecx, edi
call dword [eax + 0x68]
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x4a181a
mov ecx, dword [esi + 0x48]
add ecx, 4
cmp eax, ecx
jg 0x4a181a
mov eax, ecx
mov dword [ebp + 0x10], eax
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.0059885f
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x4a2499
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5bb568
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
mov eax, dword [0x633828]
mov dword [esp + 0x30], 0
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 1
push ecx
lea ecx, [esp + 0x20]
call fcn.005985d4
lea edx, [esp + 0x38]
lea ecx, [esp + 0xc]
push edx
mov byte [esp + 0x34], 2
call fcn.00598998
mov eax, dword [esp + 0xc]
mov eax, dword [eax - 8]
cmp eax, 2
jle 0x4a2637
lea ecx, [esp + 0x18]
push 1
push ecx
lea ecx, [esp + 0x14]
call fcn.0059542e
mov eax, dword [eax]
push 0x614e84
push eax
call fcn.0057cfee
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
sete bl
call fcn.0059885f
test bl, bl
je 0x4a2637
push str.Unknown_error
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 0xffffffff
call fcn.005988cd
push 0x60f548
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 3
call fcn.005988cd
mov edx, dword [0x638658]
lea ecx, [esp + 8]
add edx, 0x2a7c
mov byte [esp + 0x30], 4
push edx
call fcn.005985d4
mov bl, 5
push 0x3e
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], bl
call fcn.005954a6
cmp eax, 0xffffffff
je 0x4a25ac
mov ecx, dword [esp + 8]
lea edx, [esp + 0x20]
mov ecx, dword [ecx - 8]
sub ecx, eax
sub ecx, 2
push ecx
push edx
lea ecx, [esp + 0x10]
call fcn.005953b2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 6
call fcn.00598998
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], bl
call fcn.0059885f
jmp 0x4a25c5
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a25c5
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x14]
call fcn.00598998
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
push eax
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.005985d4
mov ecx, esi
call fcn.004a26b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
dec eax
push ecx
mov dword [esp + 0x18], eax
push eax
push edx
lea eax, [esp + 0x28]
push str._s__Line__d:__s
push eax
call fcn.0059584e
add esp, 0x14
lea ecx, [esp + 8]
mov byte [esp + 0x30], 4
call fcn.0059885f
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 3
call fcn.0059885f
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call fcn.0059885f
call fcn.0059e541
test eax, eax
je 0x4a264b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
test eax, eax
jne 0x4a264f
xor eax, eax
jmp 0x4a2652
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x1c]
push 0x30
push str.Error
push ecx
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.0059885f
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.0059885f
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call fcn.0059885f
mov ecx, dword [esp + 0x28]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 4

Function at 0x4a52a0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x4a6440
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5bbba8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x633828]
push ebx
push ebp
push esi
xor esi, esi
push edi
mov edi, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 0x78]
push esi
push esi
push 0x188
push ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call dword [sym.imp.USER32.dll_SendMessageA]
lea ebp, [edi + 0x5c]
mov dword [esp + 0x20], eax
mov ecx, ebp
call fcn.004a1e90
mov edx, dword [edi + 0xb0]
mov ebx, dword [edx + 0x2a0c]
cmp ebx, esi
je 0x4a651f
mov eax, ebx
mov ebx, dword [ebx]
mov esi, dword [eax + 8]
test esi, esi
je 0x4a6513
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x14]
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
push str._s_n_s_n_s_n_s
push ecx
call fcn.0059584e
add esp, 0x18
mov ecx, edi
push esi
call fcn.004a66f0
test eax, eax
je 0x4a650f
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x14], ecx
push edx
push eax
mov ecx, ebp
call fcn.004a1e10
push esi
push eax
mov ecx, ebp
call fcn.004a1eb0
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4a650f
inc dword [esp + 0x18]
inc dword [esp + 0x10]
test ebx, ebx
jne 0x4a64a8
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4a652b
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xc4]
jmp 0x4a655d
mov ecx, dword [esp + 0x18]
xor eax, eax
test ecx, ecx
setle al
push eax
push 2
mov ecx, edi
call fcn.0059bd8c
mov ecx, eax
call fcn.0059c03a
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 0x78]
push 0
push ecx
push 0x186
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0059885f
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret