joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c320
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f808
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov ebx, dword [ebp + 8]
lea edi, [esi + 4]
mov dword [ebp - 4], 0
cmp dword [edi], 0
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], 0
je 0x42c3a2
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x42c379
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], 0
test ecx, ecx
je 0x42c38d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [edi]
mov dword [esi + 8], 0
test ecx, ecx
je 0x42c3b0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x42c3b0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [esi + 0x10], eax
test eax, eax
jns 0x42c3e0
cmp eax, 0x80010119
jne 0x42c483
lea eax, [ebp - 0x18]
push eax
push 0x487374
push 1
push 0
push 0x487444
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [esi + 0x10], eax
test eax, eax
js 0x42c483
push ebx
lea ecx, [ebp - 0x1c]
call fcn.0042b7b0
mov byte [ebp - 4], 1
mov eax, dword [eax]
test eax, eax
je 0x42c41a
mov edx, dword [eax]
jmp 0x42c41c
xor edx, edx
mov eax, dword [ebp - 0x18]
push edi
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 0
call fcn.0040e620
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x18], 0
jl 0x42c483
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [edi]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [esi + 0x10], eax
test eax, eax
jns 0x42c4a9
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00452da4
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x42c48b

Function at 0x42d930
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x194], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x42d988
mov eax, dword [esp]
cmp al, 2
jne 0x42d982
shr eax, 8
cmp al, 2
jne 0x42d982
call fcn.0043e0e0
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00452da4
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x194]
mov eax, 2
xor ecx, esp
call fcn.00452da4
mov esp, ebp
pop ebp
ret
Function at 0x431830
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edi, edx
mov eax, dword [esi]
cmp dword [eax + 4], 2
jne 0x43185b
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x43184e
pop edi
xor eax, eax
pop esi
pop ebp
ret
push dword [eax + 8]
push dword [ebp + 8]
push 1
push edi
call ecx
jmp 0x43188f
cmp dword [esi + 8], 0
jne 0x431880
push 0x48bbb4
push dword [eax + 8]
call dword [sym.imp.MSVCR120.dll_fopen]
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x431880
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret
push dword [esi + 8]
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.MSVCR120.dll_fread]
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4318b2
mov eax, dword [esi + 8]
test eax, eax
je 0x4318ac
push eax
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x436110
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x394
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.no_proxy
mov dword [ebp - 0x394], ecx
xor esi, esi
call dword [sym.imp.MSVCR120.dll_getenv]
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
add esp, 4
mov byte [ebp - 0x188], 0
test eax, eax
je 0x436179
push 0x104
lea ecx, [ebp - 0x188]
push ecx
push eax
call edi
cmp byte [ebp - 0x188], 0
je 0x436179
lea eax, [ebp - 0x188]
push eax
call dword [0x4a1124]
add esp, 4
mov ebx, eax
jmp 0x43617b
xor ebx, ebx
test ebx, ebx
jne 0x4361c4
push str.NO_PROXY
call dword [sym.imp.MSVCR120.dll_getenv]
add esp, 4
mov byte [ebp - 0x28c], bl
test eax, eax
je 0x4361c2
push 0x104
lea ecx, [ebp - 0x28c]
push ecx
push eax
call edi
cmp byte [ebp - 0x28c], bl
je 0x4361c2
lea eax, [ebp - 0x28c]
push eax
call dword [0x4a1124]
add esp, 4
mov ebx, eax
jmp 0x4361c4
xor ebx, ebx
mov edi, dword [ebp - 0x394]
mov edx, ebx
mov ecx, dword [edi + 0x98]
call fcn.00435fc0
test al, al
jne 0x4362d9
mov eax, dword [edi + 0x27c]
lea esi, [ebp - 0x84]
mov edi, dword [eax]
mov al, byte [edi]
test al, al
je 0x43620c
movsx eax, al
push eax
call dword [sym.imp.MSVCR120.dll_tolower]
mov byte [esi], al
lea edi, [edi + 1]
mov al, byte [edi]
add esp, 4
inc esi
test al, al
jne 0x4361f3
mov eax, dword [str._proxy]
mov dword [esi], eax
mov ax, word [0x48e708]
mov word [esi + 4], ax
mov al, byte [0x48e70a]
mov byte [esi + 6], al
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.MSVCR120.dll_getenv]
add esp, 4
mov byte [ebp - 0x390], 0
test eax, eax
je 0x436270
push 0x104
lea ecx, [ebp - 0x390]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [ebp - 0x390], 0
je 0x436270
lea eax, [ebp - 0x390]
push eax
call dword [0x4a1124]
add esp, 4
mov esi, eax
jmp 0x436272
xor esi, esi
test esi, esi
jne 0x4362d9
lea edx, [ebp - 0x84]
mov ecx, str.http_proxy
call fcn.0044a1c0
test eax, eax
jne 0x4362bd
mov esi, 0x80
lea edx, [ebp - 0x84]
mov cl, byte [edx]
mov al, cl
sub al, 0x61
cmp al, 0x19
ja 0x4362a2
sub cl, 0x20
mov byte [edx], cl
inc edx
test cl, cl
je 0x4362ac
dec esi
jne 0x436295
lea ecx, [ebp - 0x84]
call fcn.0044a290
mov esi, eax
test esi, esi
jne 0x4362d9
mov ecx, str.all_proxy
call fcn.0044a290
mov esi, eax
test esi, esi
jne 0x4362d9
mov ecx, str.ALL_PROXY
call fcn.0044a290
mov esi, eax
push ebx
call dword [0x4a1134]
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00452da4
mov esp, ebp
pop ebp
ret
Function at 0x43aef0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp + 0x10]
push esi
push edi
push eax
push dword [ebp + 0xc]
lea esi, [ebx + 0x5a4]
mov dword [ebp - 8], 0
mov edx, 0x448430
mov dword [ebp - 0xc], esi
lea ecx, [ebp - 0xc]
mov dword [ebp - 4], 0x4000
call fcn.00447a50
mov eax, dword [ebp - 4]
add esp, 8
test eax, eax
je 0x43af42
cmp eax, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
jne 0x43af3f
mov byte [eax - 1], 0
jmp 0x43af42
mov byte [eax], 0
mov eax, dword [ebx + 0x160]
test eax, eax
je 0x43af70
cmp byte [ebx + 0x85d0], 0
jne 0x43af70
push esi
push 0x48b6a4
push 0x100
push eax
call fcn.00448460
add esp, 0x10
mov byte [ebx + 0x85d0], 1
cmp byte [ebx + 0x310], 0
je 0x43afee
mov edi, esi
lea ecx, [edi + 1]
mov edi, edi
mov al, byte [edi]
inc edi
test al, al
jne 0x43af80
sub edi, ecx
cmp edi, 0x3fff
jae 0x43afa1
mov byte [ebx + edi + 0x5a4], 0xa
inc edi
mov byte [ebx + edi + 0x5a4], al
mov eax, dword [ebx + 0x1d0]
test eax, eax
je 0x43afc2
push dword [ebx + 0x15c]
push edi
push esi
push 0
push ebx
call eax
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebx + 0x158]
mov esi, dword [sym.imp.MSVCR120.dll_fwrite]
push 1
push 2
push 0x48ad14
call esi
push dword [ebx + 0x158]
lea eax, [ebx + 0x5a4]
push 1
push edi
push eax
call esi
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43b000
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ecx + eax*4 + 0x154]
call dword [sym.imp.WS2_32.dll_send]
mov edi, dword [ebp + 0x18]
mov esi, eax
mov dword [edi], 0
cmp esi, 0xffffffff
jne 0x43b07e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x2733
jne 0x43b04e
mov dword [edi], 0x51
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
mov ecx, dword [ebp + 8]
mov edx, ebx
call fcn.0044bc40
push eax
mov eax, dword [ebp + 8]
push str.Send_failure:__s
push dword [eax]
call fcn.0043aef0
mov eax, dword [ebp + 8]
add esp, 0xc
mov eax, dword [eax]
mov dword [eax + 0x85d4], ebx
mov eax, esi
mov dword [edi], 0x37
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x43b4e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
mov eax, dword [edi + 0x1d0]
test eax, eax
je 0x43b506
push dword [edi + 0x15c]
push dword [ebp + 0xc]
push dword [ebp + 8]
push edx
push edi
call eax
add esp, 0x14
pop edi
pop ebp
ret
cmp edx, 2
ja 0x43b53c
push dword [edi + 0x158]
lea eax, [edx*2 + 0x48ad14]
push 1
add eax, edx
push 2
push eax
call dword [sym.imp.MSVCR120.dll_fwrite]
push dword [edi + 0x158]
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCR120.dll_fwrite]
add esp, 0x20
xor eax, eax
pop edi
pop ebp
ret
Function at 0x43b550
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov esi, edx
cmp byte [edi + 0x2f8], 0
je case.default.0x43b594
test eax, eax
je case.default.0x43b594
mov edx, dword [eax + 0x9c]
test edx, edx
je case.default.0x43b594
lea ecx, [esi - 1]
mov eax, str.Data
cmp ecx, 3
ja case.default.0x43b594
jmp dword [ecx*4 + 0x43b668]
mov eax, str.Header
mov ecx, str.from
jmp 0x43b5b1
mov eax, str.Header
mov ecx, 0x48ef98
push edx
push ecx
push eax
push str.__s__s__s_
lea eax, [ebp - 0xac]
push 0xa0
push eax
call fcn.00448460
lea ecx, [ebp - 0xac]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43b5d6
sub ecx, edx
lea eax, [ebp - 0xac]
push ecx
push eax
xor edx, edx
mov ecx, edi
call fcn.0043b4e0
add esp, 8
test eax, eax
jne 0x43b657
mov eax, dword [edi + 0x1d0]
test eax, eax
je 0x43b623
push dword [edi + 0x15c]
push dword [ebp + 0xc]
push ebx
push esi
push edi
call eax
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00452da4
mov esp, ebp
pop ebp
ret
cmp esi, 2
ja 0x43b655
push dword [edi + 0x158]
lea eax, [esi*2 + 0x48ad14]
push 1
add eax, esi
mov esi, dword [sym.imp.MSVCR120.dll_fwrite]
push 2
push eax
call esi
push dword [edi + 0x158]
push 1
push dword [ebp + 0xc]
push ebx
call esi
add esp, 0x20
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00452da4
mov esp, ebp
pop ebp
ret

Function at 0x43ba10
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0xf0000040
push 1
push 0
push 0
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
mov ebx, ecx
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x43ba60
lea eax, [ebp - 8]
push eax
push 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [ebp - 4]
test eax, eax
jne 0x43bacc
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp byte [0x4a54aa], 0
jne 0x43badc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov eax, 0x10624dd3
mul esi
push str.WARNING:_Using_weak_random_seed_n
mov edi, edx
shr edi, 6
imul ecx, edi, 0x3e8
push ebx
sub esi, ecx
imul esi, esi, 0x3e8
call fcn.0043ae30
mov eax, dword [0x4a5ba0]
add esp, 8
add eax, esi
mov byte [0x4a54aa], 1
add eax, edi
imul eax, eax, 0x41c64e6d
add eax, 0x3039
imul eax, eax, 0x41c64e6d
add eax, 0x3039
imul eax, eax, 0x41c64e6d
add eax, 0x3039
jmp 0x43bae1
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4a5ba0]
imul eax, eax, 0x41c64e6d
pop edi
pop esi
pop ebx
add eax, 0x3039
mov dword [0x4a5ba0], eax
rol eax, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x4544a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
sub ecx, 4
jmp method.CryptoPP::FilterWithBufferedInput.virtual_0
push 0xffffffffffffffff
push 0x47fbc8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CryptoPP::FilterWithBufferedInput.0
mov dword [esi + 4], vtable.CryptoPP::FilterWithBufferedInput.1.0
mov eax, dword [esi + 0x30]
lea edx, [esi + 0x30]
cmp eax, dword [esi + 0x34]
lea ecx, [esi + 0x34]
mov dword [esp + 0x18], 0
cmovb ecx, edx
mov edx, dword [esi + 0x38]
test edx, edx
je 0x454505
mov ecx, dword [ecx]
mov edi, edx
xor al, al
rep stosb byte es:[edi], al
push edx
call sub.MSVCR120.dll_free
add esp, 4
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x18], 0xffffffff
test ecx, ecx
je 0x45451a
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [esp + 0x20], 1
je 0x45452a
push esi
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x454980
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47fd61
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
push 0x35
push str.BufferedTransformation:_this_object_is_not_attachable
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
call fcn.0040206a
lea ecx, [esp + 4]
mov dword [esp + 0x50], 0
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_void_]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x34]
mov byte [esp + 0x58], 1
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], vtable.CryptoPP::Exception.0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.00401e8e
push 0x49e2ac
lea eax, [esp + 8]
mov byte [esp + 0x54], 0
push eax
mov dword [esp + 0xc], vtable.CryptoPP::NotImplemented.0
call sub.MSVCR120.dll__CxxThrowException
int3
Function at 0x454e80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47fd61
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
push 0x3f
push str.StreamTransformation:_this_object_doesnt_support_random_access
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
call fcn.0040206a
lea ecx, [esp + 4]
mov dword [esp + 0x50], 0
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_void_]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x34]
mov byte [esp + 0x58], 1
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], vtable.CryptoPP::Exception.0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.00401e8e
push 0x49e2ac
lea eax, [esp + 8]
mov byte [esp + 0x54], 0
push eax
mov dword [esp + 0xc], vtable.CryptoPP::NotImplemented.0
call sub.MSVCR120.dll__CxxThrowException
int3

Function at 0x456550
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x480163
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esi + 0x30]
lea edx, [esi + 0x30]
cmp eax, dword [esi + 0x34]
lea ecx, [esi + 0x34]
mov dword [esp + 0x18], 1
cmovb ecx, edx
mov edx, dword [esi + 0x38]
test edx, edx
je 0x4565a8
mov ecx, dword [ecx]
mov edi, edx
xor al, al
rep stosb byte es:[edi], al
push edx
call sub.MSVCR120.dll_free
add esp, 4
mov eax, dword [esi + 0x20]
lea ecx, [esi + 0x20]
cmp eax, dword [esi + 0x24]
lea edx, [esi + 0x24]
mov byte [esp + 0x18], 0
cmovb edx, ecx
mov ecx, dword [edx]
mov edx, dword [esi + 0x28]
test edx, edx
je 0x4565d4
mov edi, edx
xor al, al
rep stosb byte es:[edi], al
push edx
call sub.MSVCR120.dll_free
add esp, 4
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x18], 0xffffffff
test ecx, ecx
je 0x4565e9
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x457170
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x480371
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x17
push str.Gunzip:_CRC_check_error
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.0040206a
mov ecx, esi
mov dword [esp + 0x30], 0
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_void_]
push 0xffffffffffffffff
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CryptoPP::Exception.0
mov dword [esi + 0xc], 3
lea eax, [esp + 0x10]
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [esp + 0x3c], 1
mov byte [ecx], 0
call fcn.00401e8e
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.CryptoPP::Inflator::Err.0
jb 0x457227
push dword [esp + 0xc]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::Gunzip::CrcErr.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00452da4
add esp, 0x2c
ret

Function at 0x457430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x480371
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x1d
push str.Gunzip:_header_decoding_error
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.0040206a
mov ecx, esi
mov dword [esp + 0x30], 0
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_void_]
push 0xffffffffffffffff
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CryptoPP::Exception.0
mov dword [esi + 0xc], 4
lea eax, [esp + 0x10]
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [esp + 0x3c], 1
mov byte [ecx], 0
call fcn.00401e8e
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.CryptoPP::Inflator::Err.0
jb 0x4574e7
push dword [esp + 0xc]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::Gunzip::HeaderErr.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00452da4
add esp, 0x2c
ret
Function at 0x4576b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x480371
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x1a
push str.Gunzip:_length_check_error
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.0040206a
mov ecx, esi
mov dword [esp + 0x30], 0
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_void_]
push 0xffffffffffffffff
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CryptoPP::Exception.0
mov dword [esi + 0xc], 3
lea eax, [esp + 0x10]
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [esp + 0x3c], 1
mov byte [ecx], 0
call fcn.00401e8e
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.CryptoPP::Inflator::Err.0
jb 0x457767
push dword [esp + 0xc]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::Gunzip::LengthErr.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00452da4
add esp, 0x2c
ret

Function at 0x457820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x480371
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x16
push str.Gunzip:_tail_too_short
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.0040206a
mov ecx, esi
mov dword [esp + 0x30], 0
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_void_]
push 0xffffffffffffffff
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CryptoPP::Exception.0
mov dword [esi + 0xc], 4
lea eax, [esp + 0x10]
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [esp + 0x3c], 1
mov byte [ecx], 0
call fcn.00401e8e
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.CryptoPP::Inflator::Err.0
jb 0x4578d7
push dword [esp + 0xc]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::Gunzip::TailErr.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00452da4
add esp, 0x2c
ret