joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444047
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x44408f
call fcn.0044384a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44408f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4440d2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4440bb
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4440bb
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4440cf
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x44b57c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x44b5c3
call fcn.0044384a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44b5c3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x44b5df
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0044b0f4
mov esi, eax
test edi, edi
je 0x44b5dd
test ebx, ebx
je 0x44b5dd
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x44c3e9
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4c9d56
call fcn.0045f740
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x44c40e
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x44c454
lea ecx, [ebp - 0x10]
call fcn.00406c20
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044bc76
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00406c50
mov eax, esi
call fcn.0045f818
ret 8
Function at 0x44f316
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x44f33a
cmp dword [edi + 0x54], 0
jne 0x44f33a
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0044384a
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0044f2d7
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x45a0a2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x504628]
jne 0x45a0ac
repz ret
jmp fcn.00461af1

Function at 0x45e0f6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x45e127
call fcn.0045fdb0
mov dword [eax], esi
call fcn.0045fd9d
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0045a4a6
add esp, 0x14
push 0x16
pop eax
jmp 0x45e17c
test dword [ebp + 0xc], 0xfffffff9
jne 0x45e103
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x45e154
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0045fdc3
pop ecx
call fcn.0045fd9d
mov eax, dword [eax]
jmp 0x45e17c
test al, 0x10
jne 0x45e17a
test al, 1
je 0x45e17a
test byte [ebp + 0xc], 2
je 0x45e17a
call fcn.0045fdb0
mov dword [eax], 5
call fcn.0045fd9d
mov dword [eax], 0xd
jmp 0x45e14b
xor eax, eax
pop esi
pop ebp
ret

Function at 0x46d29c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00461455
and dword [ebp - 4], 0
cmp dword [0x50c510], 0
mov ebx, eax
jne 0x46d34d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x46d3fe
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4d1be0
push edi
call esi
test eax, eax
je 0x46d3fe
push eax
call fcn.004613e3
mov dword [esp], 0x4d1bd0
push edi
mov dword [0x50c510], eax
call esi
push eax
call fcn.004613e3
mov dword [esp], 0x4d1bbc
push edi
mov dword [0x50c514], eax
call esi
push eax
call fcn.004613e3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x50c518], eax
call esi
push eax
call fcn.004613e3
pop ecx
mov dword [0x50c520], eax
test eax, eax
je 0x46d34d
push 0x4d1b88
push edi
call esi
push eax
call fcn.004613e3
pop ecx
mov dword [0x50c51c], eax
mov eax, dword [0x50c51c]
cmp eax, ebx
je 0x46d3a5
cmp dword [0x50c520], ebx
je 0x46d3a5
push eax
call fcn.0046145e
push dword [0x50c520]
mov esi, eax
call fcn.0046145e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x46d3a5
test edi, edi
je 0x46d3a5
call esi
test eax, eax
je 0x46d39c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46d39c
test byte [ebp - 0xc], 1
jne 0x46d3a5
or dword [ebp + 0x10], 0x200000
jmp 0x46d3de
mov eax, dword [0x50c514]
cmp eax, ebx
je 0x46d3de
push eax
call fcn.0046145e
pop ecx
test eax, eax
je 0x46d3de
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x46d3de
mov eax, dword [0x50c518]
cmp eax, ebx
je 0x46d3de
push eax
call fcn.0046145e
pop ecx
test eax, eax
je 0x46d3de
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x50c510]
call fcn.0046145e
pop ecx
test eax, eax
je 0x46d3fe
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x46d400
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4725e0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x50c5a0], 0
je 0x4725f6
xor eax, eax
jmp 0x472812
cmp dword [0x50c59c], 0
je 0x472609
mov eax, dword [0x50c59c]
jmp 0x472812
push 0x24
push 0
push 0x50c578
call fcn.0045f850
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x50c578], eax
push 0
push 0
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x50c57c], eax
cmp dword [0x50c57c], 0
jne 0x4726ae
mov dword [0x50c5a0], 1
cmp dword [0x50c57c], 0
je 0x472661
mov eax, dword [0x50c57c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x50c580], 0
mov dword [0x50c584], 0
mov dword [0x50c588], 0
mov dword [0x50c58c], 0
mov dword [0x50c590], 0
mov dword [0x50c594], 0
mov dword [0x50c598], 0
xor eax, eax
jmp 0x472812
push str.ImagehlpApiVersionEx
mov ecx, dword [0x50c57c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x50c580], eax
push str.SymInitialize
mov edx, dword [0x50c57c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x50c584], eax
push str.SymSetOptions
mov eax, dword [0x50c57c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x50c588], eax
push str.SymGetOptions
mov ecx, dword [0x50c57c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x50c58c], eax
push str.SymLoadModule64
mov edx, dword [0x50c57c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x50c590], eax
push str.SymGetModuleInfo64
mov eax, dword [0x50c57c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x50c594], eax
push str.SymFromName
mov ecx, dword [0x50c57c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x50c598], eax
push 8
push 0
lea edx, [ebp - 8]
push edx
call fcn.0045f850
add esp, 0xc
mov eax, 0xb
mov word [ebp - 8], ax
cmp dword [0x50c580], 0
je 0x472793
cmp dword [0x50c584], 0
je 0x472793
cmp dword [0x50c590], 0
je 0x472793
cmp dword [0x50c594], 0
je 0x472793
cmp dword [0x50c598], 0
jne 0x472798
jmp 0x472642
lea ecx, [ebp - 8]
push ecx
call dword [0x50c580]
movzx edx, word [ebp - 8]
cmp edx, 0xb
jge 0x4727b0
jmp 0x472642
push 0
push 0
mov eax, dword [0x50c578]
push eax
call dword [0x50c584]
test eax, eax
jne 0x4727c9
jmp 0x472642
cmp dword [0x50c58c], 0
je 0x472803
cmp dword [0x50c588], 0
je 0x472803
call dword [0x50c58c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
and ecx, 0xfffffff8
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
or edx, 0x2704
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
call dword [0x50c588]
mov dword [0x50c59c], 0x50c578
mov eax, dword [0x50c59c]
mov esp, ebp
pop ebp
ret
Function at 0x472d70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.00472e40
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x472e35
mov edx, dword [ebp - 4]
cmp edx, dword [0x505a70]
jb 0x472db5
mov eax, dword [ebp - 4]
cmp eax, dword [0x505a74]
ja 0x472db5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x472d85
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.0045f850
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x472ddb
jmp 0x472e35
cmp dword [ebp - 0x10], 0x10000
jne 0x472e1e
cmp dword [ebp - 0x14], 0x10000
jb 0x472e1e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x472e11
mov eax, dword [ebp - 0x24]
jmp 0x472e37
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x472e30
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x14]
push ecx
call fcn.00472e40
add esp, 4
mov dword [ebp - 4], eax
jmp 0x472d85
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x472e70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.00472f50
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x472f3d
mov edx, dword [ebp - 4]
cmp edx, dword [0x505a70]
jb 0x472eba
mov eax, dword [ebp - 4]
cmp eax, dword [0x505a74]
ja 0x472eba
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x472e8a
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.0045f850
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x472ee0
jmp 0x472f3d
cmp dword [ebp - 0x10], 0x10000
jne 0x472f23
cmp dword [ebp - 0x14], 0x10000
jb 0x472f23
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x472f16
mov eax, dword [ebp - 0x24]
jmp 0x472f3f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x472f38
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x10000
push ecx
call fcn.00472f50
add esp, 4
mov dword [ebp - 4], eax
jmp 0x472e8a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4732a0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x50c5b4], eax
je 0x4732be
mov eax, 0x10dd
jmp 0x47339f
mov eax, dword [0x50c5c4]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x47333c
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x47331a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x47331a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.00473410
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.0043ca01
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x4732c6
mov dword [0x50c5c4], 0
call fcn.004733b0
mov ecx, dword [0x50c5c0]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x473389
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0043ca01
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x473354
mov dword [0x50c5c0], 0
mov dword [0x50c5b4], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4738e0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x4738f5
xor eax, eax
jmp 0x47396a
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0x10000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x473922
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x38d
jae 0x473965
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x40], 0
je 0x473963
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x47395f
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x473963
xor eax, eax
jmp 0x47396a
jmp 0x473919
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x473a10
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x50c5b8], 0
je 0x473a29
mov eax, dword [0x50c5b8]
jmp 0x473ac9
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x473a3b
xor eax, eax
jmp 0x473ac9
push 8
call fcn.0043c9d2
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x473a91
mov dword [ebp - 4], 8
cmp dword [ebp - 8], 0
je 0x473a7a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0043ca01
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov dword [0x50c5b8], eax
mov dword [0x50c5bc], 0
mov eax, dword [ebp - 4]
jmp 0x473ac9
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x473aab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x473a5b
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [0x50c5c0]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
mov dword [0x50c5c0], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4743c0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00472c40
add esp, 0xc
mov dword [ebp - 0x10], 0
cmp dword [0x50c5a8], 0
jne 0x4743fd
cmp dword [0x50c5a4], 0
je 0x4743fd
mov eax, dword [0x50c5a4]
mov dword [0x50c5a8], eax
cmp dword [0x50c5a8], 0
je 0x47447a
mov ecx, dword [0x50c5a8]
cmp dword [ecx + 8], 0
je 0x47447a
mov edx, dword [0x50c5a8]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 8]
jb 0x47447a
mov ecx, dword [0x50c5a8]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x47447a
mov eax, dword [0x50c5a8]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 8]
jb 0x474449
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jbe 0x474450
xor eax, eax
jmp 0x47459d
mov ecx, dword [0x50c5a8]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0045f850
add esp, 0xc
mov eax, dword [ebp - 0x10]
jmp 0x47459d
mov edx, dword [0x50c5a4]
mov dword [0x50c5a8], edx
jmp 0x474496
mov eax, dword [0x50c5a8]
mov ecx, dword [eax + 4]
mov dword [0x50c5a8], ecx
cmp dword [0x50c5a8], 0
je 0x4744d6
cmp dword [0x50c5a8], 0
je 0x4744d4
mov edx, dword [0x50c5a8]
cmp dword [edx + 8], 0
je 0x4744d4
mov eax, dword [0x50c5a8]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 8]
jb 0x4744d4
mov edx, dword [0x50c5a8]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x4744d4
jmp 0x47442e
jmp 0x474488
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00472d20
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x47459b
mov eax, dword [ebp - 4]
mov dword [0x50c5a8], eax
mov ecx, dword [0x50c5a8]
mov dword [ecx], 0x52727464
mov edx, dword [0x50c5a8]
mov dword [edx + 8], 0
mov eax, dword [0x50c5a8]
mov ecx, dword [0x50c5a4]
mov dword [eax + 4], ecx
mov edx, dword [0x50c5a8]
mov dword [0x50c5a4], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x50c5a8]
add eax, 0x48
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0x38c
jmp 0x474567
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 1
jle 0x47458b
mov edx, dword [ebp - 0x18]
imul edx, edx, 0x48
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
mov edx, dword [ebp - 0x18]
imul edx, edx, 0x48
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
jmp 0x47455e
mov eax, dword [0x50c5a8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x47442e
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x477ca0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00477a10
Function at 0x4781e0
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.0045f850
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, 1
pop esi
ret

Function at 0x478450
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x60
push 0
push esi
call fcn.0045f850
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
mov eax, 1
pop esi
ret
Function at 0x47cf60
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x108
call fcn.00460860
mov eax, dword [0x504628]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x47cfc5
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x47cfc5
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call fcn.00463b4b
add eax, 0x40
push eax
call fcn.004be58c
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0045a0a2
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call fcn.00467005
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x47d054
call fcn.0047ce20
test eax, eax
jle 0x47d054
push esi
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0045a0a2
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0045a0a2
add esp, 0x108
ret
Function at 0x480170
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x24
call fcn.00460860
mov eax, dword [0x504628]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, esi
push edi
mov dword [ebp - 0x18], esi
lea ecx, [eax + 1]
jmp 0x4801a0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4801a0
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
sub eax, ecx
lea edi, [eax + 1]
push edi
push esi
push 8
push 0xfde9
mov dword [ebp - 0x20], 8
call ebx
mov esi, eax
test esi, esi
jg 0x480218
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3ec
jne 0x4801fa
mov ecx, dword [ebp - 0x18]
push 0
push 0
push edi
push ecx
push 0
push 0xfde9
mov dword [ebp - 0x20], 0
call ebx
mov esi, eax
test esi, esi
jg 0x480218
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x459
jne 0x4802aa
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
push edx
push eax
jmp 0x480298
lea eax, [esi + esi]
call fcn.004609e0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov eax, esp
push esi
push eax
push edi
push ecx
push edx
push 0xfde9
mov dword [ebp - 0x24], eax
call ebx
test eax, eax
je 0x4802aa
mov esi, dword [ebp - 0x1c]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x480243
push 8
sub eax, edx
lea ecx, [ebp - 0x14]
push ecx
inc eax
push eax
push esi
push 0
push 0xfde9
call ebx
test eax, eax
je 0x4802aa
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push edx
push eax
call fcn.0045afe4
mov esi, eax
add esp, 8
test esi, esi
jne 0x48034e
call fcn.0045fd9d
cmp dword [eax], 2
je 0x480290
call fcn.0045fd9d
cmp dword [eax], 9
jne 0x4802a2
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
push ecx
push edx
call fcn.004be751
mov esi, eax
add esp, 8
test esi, esi
jne 0x48034e
push 0xa9
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.0047f7d0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
push 0x4d7d10
push eax
push 0x4d7d0c
push ecx
push str.fopen_
push 5
call fcn.0047f4d0
add esp, 0x2c
call fcn.0045fd9d
cmp dword [eax], 2
jne 0x480320
push 0xac
push str..crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.0047f7d0
add esp, 0x14
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045a0a2
mov esp, ebp
pop ebp
ret
push 0xae
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.0047f7d0
add esp, 0x14
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045a0a2
mov esp, ebp
pop ebp
ret
push 0x505de8
call fcn.0047b2a0
mov edi, eax
add esp, 4
test edi, edi
jne 0x480380
push esi
call fcn.0045b48f
add esp, 4
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045a0a2
mov esp, ebp
pop ebp
ret
push 0
push edi
call fcn.0047ad30
push esi
push 1
push 0x6a
push edi
call fcn.0047b090
add esp, 0x18
mov eax, edi
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045a0a2
mov esp, ebp
pop ebp
ret