joyce8/EMBER2024-capa huggingface dataset:
Function at 0x613c70
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x14], 0
jne 0x613cb2
push 0
push 0x15b
push str.c:jenkinsworkspace_buildscoreconaniron_stablepoco_1.9.0_vs2013conan_temp_releasepoco_poco_1.9.0_release_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00611be0
add esp, 0x10
cmp dword [edi + 0x14], 0
jne 0x613cb2
push 0
push 0x9f
push str.c:jenkinsworkspace_buildscoreconaniron_stablepoco_1.9.0_vs2013conan_temp_releasepoco_poco_1.9.0_release_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00611be0
add esp, 0x10
cmp dword [edi + 0x30], 8
lea esi, [edi + 0x1c]
jb 0x613cbf
mov eax, dword [esi]
jmp 0x613cc1
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x613cff
shr eax, 4
test al, 1
je 0x613ce9
cmp dword [esi + 0x14], 8
jb 0x613cdc
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x613cfc
jmp 0x613d08
cmp dword [esi + 0x14], 8
jb 0x613cf1
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x613d11
pop edi
pop esi
ret
lea eax, [edi + 4]
push eax
call fcn.00613260
lea eax, [edi + 4]
push eax
call fcn.00613260
lea eax, [edi + 4]
push eax
call fcn.00613260
int3

Function at 0x613d40
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x78a458
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 0
mov edi, dword [ebp + 8]
jne 0x613d8e
push 0
push 0x133
push str.c:jenkinsworkspace_buildscoreconaniron_stablepoco_1.9.0_vs2013conan_temp_releasepoco_poco_1.9.0_release_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00611be0
add esp, 0x10
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.00612830
add esp, 8
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea eax, [esi + 0x1c]
cmovae ecx, dword [ebp - 0x28]
cmp dword [eax + 0x14], 8
jb 0x613dc8
mov eax, dword [eax]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x613ddf
lea eax, [esi + 4]
push eax
call fcn.00613260
cmp dword [ebp - 0x14], 8
jb 0x613df0
push dword [ebp - 0x28]
call fcn.00489b60
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret 4
Function at 0x613f20
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp dword [edi + 0x14], 0
jne 0x613f45
push 0
push 0x112
push str.c:jenkinsworkspace_buildscoreconaniron_stablepoco_1.9.0_vs2013conan_temp_releasepoco_poco_1.9.0_release_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00611be0
add esp, 0x10
cmp dword [edi + 0x30], 8
push esi
lea esi, [edi + 0x1c]
jb 0x613f53
mov eax, dword [esi]
jmp 0x613f55
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x613f89
cmp byte [ebp + 8], 0
je 0x613f6c
and eax, 0xfffffffe
jmp 0x613f6f
or eax, 1
cmp dword [esi + 0x14], 8
jb 0x613f77
mov esi, dword [esi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop esi
test eax, eax
je 0x613f92
pop edi
pop ebp
ret 4
lea eax, [edi + 4]
push eax
call fcn.00613260
lea eax, [edi + 4]
push eax
call fcn.00613260
int3

Function at 0x617a20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x78a588
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x88bba0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00408ea0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push edx
mov dword [ebp - 4], 0
mov dword [esi], vtable.Poco::BasicBufferedBidirectionalStreamBuf_char__struct_std::char_traits_char___class_Poco::BufferAllocator_char__.0
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], eax
call fcn.0070d787
push dword [esi + 0x38]
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp + 0xc], eax
call fcn.0070d787
mov ecx, dword [esi + 0x40]
add esp, 8
mov dword [esi + 0x44], eax
add ecx, 4
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0xc]
mov dword [eax], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
sub ecx, ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x38]
add edx, ecx
mov dword [eax], ecx
sub edx, ecx
mov eax, dword [esi + 0x20]
mov dword [eax], ecx
mov eax, dword [esi + 0x30]
mov dword [eax], edx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x618500
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x68], 0xffffffff
je 0x61855a
mov eax, dword [esi + 0x48]
test al, 1
je 0x61855a
test al, 2
je 0x61851d
mov eax, dword [esi]
call dword [eax + 0x34]
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x68]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x618549
lea eax, [esi + 0x50]
push eax
call fcn.00613250
add esp, 4
mov eax, dword [ebp - 4]
add dword [esi + 0x70], eax
adc dword [esi + 0x74], 0
pop esi
mov esp, ebp
pop ebp
ret 0xc
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x618820
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov ecx, dword [esi + 0x68]
cmp ecx, 0xffffffff
je 0x6188c2
mov eax, dword [esi + 0x48]
test al, 2
je 0x6188c2
test al, 8
je 0x618885
push 2
lea eax, [ebp - 8]
xorps xmm0, xmm0
push eax
push 0
push ecx
movlpd qword [ebp - 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
jne 0x61887c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x618879
lea eax, [esi + 0x50]
push eax
call fcn.00613250
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x70], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x74], eax
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x68]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x6188b1
lea eax, [esi + 0x50]
push eax
call fcn.00613250
add esp, 4
mov eax, dword [ebp - 4]
add dword [esi + 0x70], eax
adc dword [esi + 0x74], 0
pop esi
mov esp, ebp
pop ebp
ret 0xc
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x61e090
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x78ad0b
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x61e140
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
test eax, eax
jne 0x61e120
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.cannot_kill_process
lea ecx, [ebp - 0x88]
call fcn.00404f70
push 0
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xb4]
call fcn.006159d0
push 0x849d50
lea eax, [ebp - 0xb4]
push eax
call fcn.00722044
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.cannot_kill_process
cmp eax, 5
je 0x61e1f3
cmp eax, 0x57
je 0x61e1c2
cmp eax, 0x490
je 0x61e191
lea ecx, [ebp - 0x70]
call fcn.00404f70
push 0
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 4
push eax
lea ecx, [ebp - 0x138]
call fcn.006159d0
push 0x849d50
lea eax, [ebp - 0x138]
push eax
call fcn.00722044
lea ecx, [ebp - 0x40]
call fcn.00404f70
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0xe0]
call fcn.00615050
push 0x8671c8
lea eax, [ebp - 0xe0]
push eax
call fcn.00722044
lea ecx, [ebp - 0x58]
call fcn.00404f70
push 0
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x10c]
call fcn.00615050
push 0x8671c8
lea eax, [ebp - 0x10c]
push eax
call fcn.00722044
lea ecx, [ebp - 0x28]
call fcn.00404f70
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x164]
call fcn.00614f10
push 0x872fbc
lea eax, [ebp - 0x164]
push eax
call fcn.00722044
int3
Function at 0x61eba0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x78ae67
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x88bba0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
cmp dword [ebp + 0x14], 0
je 0x61ebfb
mov dword [edi], 0x7c7f40
mov dword [edi + 0x50], 0x7c7f48
mov dword [edi + 0x68], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, dword [edi]
lea esi, [edi + 8]
mov ecx, esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.Poco::MemoryIOS.0
call fcn.00408ea0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [esi + 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x40]
mov dword [esi + 0x38], edx
add ecx, edx
mov dword [esi], vtable.Poco::BasicMemoryStreamBuf_char__struct_std::char_traits_char__.0
sub ecx, edx
mov dword [eax], edx
mov eax, dword [esi + 0x1c]
mov dword [eax], edx
mov eax, dword [esi + 0x2c]
mov dword [eax], ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 0x40]
add edx, ecx
mov dword [eax], ecx
sub edx, ecx
mov eax, dword [esi + 0x20]
mov dword [eax], ecx
mov eax, dword [esi + 0x30]
mov dword [eax], edx
mov eax, dword [edi + 0x50]
lea edx, [edi + 0x50]
push 0
push esi
mov dword [ebp - 4], 2
mov eax, dword [eax + 4]
mov dword [ebp + 0x14], edx
mov dword [edx + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + edx - 4], eax
mov eax, dword [edx]
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov ecx, dword [eax + 4]
add ecx, edx
call fcn.0040efc0
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.Poco::MemoryInputStream.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ecx + edi - 4], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x61fff0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x78b0ac
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0x28]
mov eax, 4
mov ecx, 2
cmp dword [esi + 0x2c], eax
push 0
push 0
cmove eax, ecx
push eax
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
jne 0x620116
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [ebp - 0x6c]
push edi
push eax
call fcn.00636bb0
add esp, 8
push eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0
call fcn.00408270
push 8
mov byte [ebp - 4], 1
call fcn.007215d8
add esp, 4
test eax, eax
je 0x62008d
mov dword [eax], vtable.Poco::Any::Holder_int_.0
mov dword [eax + 4], edi
jmp 0x62008f
xor eax, eax
mov dword [ebp - 0x8c], eax
lea eax, [esi + 8]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x90]
call fcn.00408270
push 0x31
push str.Cannot_map_shared_memory_object__s__Error__d:__s_
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0042fb60
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0061a920
add esp, 0x14
push 0
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.006159d0
push 0x849d50
lea eax, [ebp - 0x54]
push eax
call fcn.00722044
mov dword [esi + 0x30], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret

Function at 0x6235f0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x38], 0
cmp dword [esi + 0x14], 0x10
jb 0x62361a
mov eax, dword [esi]
jmp 0x62361c
mov eax, esi
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x62369e
push eax
call fcn.0070d787
add esp, 4
mov ebx, eax
cmp dword [esi + 0x14], 0x10
jb 0x623641
mov esi, dword [esi]
push dword [ebp - 0x34]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp byte [ebx], 0
jne 0x623666
xor ecx, ecx
jmp 0x623679
mov ecx, ebx
lea edx, [ecx + 1]
jmp 0x623670
mov al, byte [ecx]
inc ecx
test al, al
jne 0x623670
sub ecx, edx
push ecx
push ebx
mov ecx, edi
call fcn.0042fb60
push ebx
call fcn.00723210
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00722035
mov esp, ebp
pop ebp
ret
push 0
push esi
lea ecx, [ebp - 0x30]
call fcn.00615050
push 0x8671c8
lea eax, [ebp - 0x30]
push eax
call fcn.00722044
int3
Function at 0x626070
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x78bae3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x88bba0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.006258d0
lea ecx, [edi + 0x5c]
mov dword [edi], vtable.Poco::MD5Engine.0
mov dword [ebp - 4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
mov byte [ebp - 4], 1
cmp eax, 0x10
jae 0x6260d8
push 0x10
call fcn.00501ac0
push 0x58
lea esi, [edi + 4]
push 0
push esi
call fcn.00723180
add esp, 0xc
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov eax, edi
mov dword [esi], 0x67452301
mov dword [edi + 8], 0xefcdab89
mov dword [edi + 0xc], 0x98badcfe
mov dword [edi + 0x10], 0x10325476
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x626130
Capabilities:
Hash data with md5

Disassembly:
push esi
push edi
mov edi, ecx
push 0x58
push 0
lea esi, [edi + 4]
mov dword [edi], vtable.Poco::MD5Engine.0
push esi
call fcn.00723180
mov dword [edi + 0x18], 0
add esp, 0xc
mov dword [edi + 0x14], 0
mov dword [esi], 0x67452301
mov dword [edi + 8], 0xefcdab89
mov dword [edi + 0xc], 0x98badcfe
mov dword [edi + 0x10], 0x10325476
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x626198
push eax
call fcn.00489b60
add esp, 4
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov ecx, edi
pop edi
pop esi
jmp fcn.006258e0
Function at 0x629cf0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x78c204
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x88bba0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ebx, dword [ebp + 8]
push 0xffffffffffffffff
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push ebx
mov byte [esi], 0
call fcn.0042fa30
push 0xffffffffffffffff
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
mov dword [ecx + 0x14], 0xf
push 0
push dword [ebp + 0xc]
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.0042fa30
mov eax, dword [ebx + 0x30]
lea ecx, [esi + 0x38]
mov dword [esi + 0x30], eax
lea eax, [ebx + 0x38]
push eax
mov byte [ebp - 4], 1
call fcn.0063adf0
mov eax, dword [ebx + 0x40]
lea ecx, [esi + 0x44]
mov dword [esi + 0x40], eax
lea eax, [ebx + 0x44]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ebp - 4], 2
mov byte [ecx], 0
call fcn.0042fa30
mov eax, dword [ebx + 0x5c]
mov dword [esi + 0x5c], eax
mov eax, dword [ebx + 0x60]
mov dword [esi + 0x60], eax
mov eax, dword [ebx + 0x64]
mov dword [esi + 0x64], eax
cmp dword [ebx + 0x68], 0
mov byte [ebp - 4], 3
je 0x629dee
push 8
call fcn.007215d8
mov edi, eax
add esp, 4
mov dword [ebp + 0xc], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x629de7
lea eax, [ebp + 0xb]
mov ecx, edi
push eax
push dword [ebx + 0x68]
call fcn.00629c50
mov dword [esi + 0x68], edi
jmp 0x629df5
xor edi, edi
mov dword [esi + 0x68], edi
jmp 0x629df5
mov dword [esi + 0x68], 0
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 0x629e10
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x78c249
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x88bba0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0xffffffffffffffff
push 0
push dword [ebp + 8]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
call fcn.0042fa30
push 0xffffffffffffffff
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
mov dword [ecx + 0x14], 0xf
push 0
push dword [ebp + 0xc]
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.0042fa30
mov eax, dword [ebp + 0x10]
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 1
mov dword [esi + 0x30], eax
call fcn.0061f090
mov dword [esi + 0x40], 0
mov dword [esi + 0x58], 0xf
mov dword [esi + 0x54], 0
mov byte [esi + 0x44], 0
mov ecx, esi
mov byte [ebp - 4], 3
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
call fcn.0062a020
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x62db10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x78c888
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x88bba0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
call fcn.00408ea0
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x38], 0xffffffff
mov byte [ebx + 0x3c], 0
mov dword [eax], 0
mov eax, dword [ebx + 0x1c]
mov dword [eax], 0
mov eax, dword [ebx + 0x2c]
mov dword [eax], 0
mov eax, dword [ebx + 0x10]
mov dword [eax], 0
mov eax, dword [ebx + 0x20]
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov edi, 0x89ec58
mov esi, dword [ebp + 0xc]
mov dword [ebx + 0x40], esi
and esi, 1
mov dword [ebx], vtable.Poco::Base64DecoderBuf.0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov eax, dword [ecx]
mov dword [ebp - 4], 0
mov dword [ebp + 0xc], 0x89ee64
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx + 0x38]
mov ecx, 0x89ee64
mov dword [ebx + 0x50], eax
mov eax, 0x89ed60
cmove eax, edi
mov dword [ebx + 0x54], eax
call fcn.004a7080
test esi, esi
je 0x62dc23
cmp byte [0x89ed59], 0
jne 0x62dc61
or eax, 0xffffffff
mov ecx, 0x40
mov edi, 0x89ed60
rep stosd dword es:[edi], eax
xor ecx, ecx
jmp 0x62dc00
movzx eax, byte [ecx + 0x7c9188]
mov byte [eax + 0x89ed60], cl
inc ecx
cmp ecx, 0x40
jb 0x62dc00
mov byte [0x89ed9d], 0
mov byte [0x89ed59], 1
jmp 0x62dc61
cmp byte [0x89ed58], 0
jne 0x62dc61
or eax, 0xffffffff
mov ecx, 0x40
rep stosd dword es:[edi], eax
xor eax, eax
jmp 0x62dc40
movzx ecx, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov byte [ecx + 0x89ec58], al
inc eax
cmp eax, 0x40
jb 0x62dc40
mov byte [0x89ec95], 0
mov byte [0x89ed58], 1
lea ecx, [ebp + 0xc]
call fcn.0049dd00
mov eax, ebx
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 0x638430
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x780a48
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x6384ac
push 0x22
push str.cannot_allocate_thread_context_key
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0042fb60
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x54]
call fcn.006159d0
push 0x849d50
lea eax, [ebp - 0x54]
push eax
call fcn.00722044
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret
Function at 0x638820
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x78d210
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x9c]
push ecx
push 0
push esi
push eax
push dword [esi + 0x14]
push 0
call fcn.00726bc4
mov ecx, dword [ebp - 0x9c]
mov edx, eax
add esp, 0x18
mov dword [esi + 8], edx
mov dword [esi + 0xc], ecx
test edx, edx
jne 0x6388ba
push 0x14
push str.cannot_create_thread
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.0042fb60
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x6c]
call fcn.006159d0
push 0x849d50
lea eax, [ebp - 0x6c]
push eax
call fcn.00722044
mov eax, dword [esi + 0x10]
test eax, eax
je 0x638903
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x638903
push str.cannot_set_thread_priority
lea ecx, [ebp - 0x40]
call fcn.00404f70
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x98]
call fcn.006159d0
push 0x849d50
lea eax, [ebp - 0x98]
push eax
call fcn.00722044
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret 8

Function at 0x63e450
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 0x18], 0xffffffff
jne 0x63e472
call fcn.0063e230
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x63e47d
mov edi, dword [edi]
push 0
lea ecx, [ebp - 0x34]
push ecx
push eax
push edi
push dword [esi + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
call edi
push 0
test eax, eax
je 0x63e4d5
lea eax, [ebp - 0x34]
push eax
push 2
push 0x7a68fc
push dword [esi + 0x18]
call edi
test eax, eax
jne 0x63e4ad
push eax
jmp 0x63e4d5
cmp byte [ebp + 0xc], 0
je 0x63e4c3
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
jne 0x63e4c3
push eax
jmp 0x63e4d5
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00722035
mov esp, ebp
pop ebp
ret 8
push esi
lea ecx, [ebp - 0x30]
call fcn.00615c40
push 0x870218
lea eax, [ebp - 0x30]
push eax
call fcn.00722044
int3

Function at 0x6442c0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.006442d0

Function at 0x644540
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x64454c
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.00644560