Function at 0x4f864d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x100
mov dword [esp + 0x5c], ecx
mov ebx, edx
mov ecx, 0x64
mov edx, 4
mov al, byte [0x5c91e8]
call fcn.0041aa20
test eax, eax
je 0x4f8ce8
mov esi, dword [ebp + 8]
xor ecx, ecx
mov edi, eax
inc ecx
add edi, 0xc
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, 0x15
rep movsd dword es:[edi], dword [esi]
mov dword [eax + 0x60], 0
mov dword [esp + 0x38], eax
lock inc dword [eax]
jle 0x4f8ce4
mov al, byte [0x5c91e8]
mov ecx, 0x10
mov edx, 4
call fcn.0041aa20
test eax, eax
je 0x4f8cf4
mov esi, eax
xor eax, eax
inc eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 8], 0
mov dword [esi + 0xc], eax
mov al, byte [ebx + 0x224]
mov byte [esp + 7], al
call fcn.004b3870
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], esi
or ecx, dword [ebx + 4]
je 0x4f8847
mov eax, dword [ebx + 8]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [0x5c91e4]
cmp eax, 3
jbe 0x4f875c
lea ecx, [esp + 0xb8]
xor eax, eax
mov edx, 4
mov dword [ecx], str.Starting_pinger
mov dword [ecx + 4], 1
mov dword [ecx + 8], str.failed_to_write_whole_buffer
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
push 0x259
push 0x5997f8
call fcn.0046a714
add esp, 8
lea edi, [esp + 0xb8]
mov ecx, edi
call fcn.004e4364
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov ecx, dword [edi + 8]
inc dword [esi]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
je 0x4f8ce4
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x4c]
mov edx, dword [esp + 8]
lea edi, [esp + 0xc0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov ecx, edi
push dword [esp + 0x1c]
call fcn.004c5382
add esp, 4
mov eax, dword [esp + 0x30]
mov byte [edi + 0x34], 0
mov dword [edi + 0x30], esi
mov ecx, 0x40
mov edx, 8
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x10]
mov dword [edi - 8], eax
mov eax, dword [esp + 0xc]
mov dword [edi - 4], eax
mov al, byte [0x5c91e8]
call fcn.0041aa20
test eax, eax
je 0x4f8d18
lea esi, [esp + 0xb8]
mov ecx, 0x10
mov edi, eax
mov edx, 0x5940c0
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
call fcn.004bca16
cmp al, 2
je 0x4f884f
lea eax, [esp + 0x3c]
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
mov byte [eax], 1
push 0x594134
push 0x5948a8
push eax
call fcn.00447310
add esp, 0xc
ud2
mov dword [esp + 0x28], 0
mov eax, dword [ebx + 0x10]
or eax, dword [ebx + 0x14]
je 0x4f8895
mov edi, dword [ebx + 0x18]
mov esi, dword [ebx + 0x1c]
call fcn.004b3870
mov dword [esp + 8], ecx
mov ecx, eax
push 0
mov dword [esp + 0x50], esi
push esi
mov dword [esp + 0x58], edi
push edi
push dword [esp + 0x14]
call fcn.004b3d30
add esp, 0x10
mov esi, ecx
mov ecx, eax
push esi
call fcn.004c4c4a
add esp, 4
xor edi, edi
mov dword [esp + 0x48], eax
jmp 0x4f889a
mov edi, 0x3b9aca00
mov al, byte [ebx + 0x237]
mov dl, byte [ebx + 0x245]
cmp byte [ebx + 0x244], 0
mov byte [esp + 8], al
mov al, byte [ebx + 0x246]
je 0x4f88c5
mov esi, dword [esp + 0x20]
or dl, al
jne 0x4f88d1
mov dl, 1
jmp 0x4f891c
mov esi, dword [esp + 0x20]
test al, al
je 0x4f8916
test dl, dl
je 0x4f891a
mov eax, dword [0x5c91e4]
xor edx, edx
test eax, eax
je 0x4f891c
lea ecx, [esp + 0xb8]
mov dword [ecx], str.Multiple_compression_methods_specified
mov dword [ecx + 4], 1
mov dword [ecx + 8], str.failed_to_write_whole_buffer
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], edx
xor edx, edx
inc edx
push 0x279
push 0x5997f8
call fcn.0046a714
xor edx, edx
add esp, 8
jmp 0x4f891c
add dl, dl
jmp 0x4f891c
mov dl, 3
mov dword [esp + 0x18], edx
cmp byte [ebx + 0x247], 0
mov dl, byte [ebx + 0x248]
mov al, byte [ebx + 0x249]
je 0x4f893d
or dl, al
jne 0x4f8945
mov dl, 1
jmp 0x4f8990
test al, al
je 0x4f898a
test dl, dl
je 0x4f898e
mov eax, dword [0x5c91e4]
xor edx, edx
test eax, eax
je 0x4f8990
lea ecx, [esp + 0xb8]
mov dword [ecx], str.Multiple_uncompression_methos_specified
mov dword [ecx + 4], 1
mov dword [ecx + 8], str.failed_to_write_whole_buffer
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], edx
xor edx, edx
inc edx
push 0x283
push 0x5997f8
call fcn.0046a714
xor edx, edx
add esp, 8
jmp 0x4f8990
add dl, dl
jmp 0x4f8990
mov dl, 3
inc dword [esi]
mov dword [esp + 0x1c], edx
je 0x4f8ce4
mov edx, dword [ebx + 0x1f4]
mov al, byte [ebx + 0x24e]
test edx, edx
mov byte [esp + 0x14], al
je 0x4f89c4
lea ecx, [esp + 0x3c]
push dword [ebx + 0x1fc]
call fcn.0041bed0
add esp, 4
jmp 0x4f89cc
mov dword [esp + 0x3c], 0
mov edx, dword [ebx + 0x200]
test edx, edx
je 0x4f89ed
lea ecx, [esp + 0xb8]
push dword [ebx + 0x208]
call fcn.0041bed0
add esp, 4
jmp 0x4f89f8
mov dword [esp + 0xb8], 0
mov al, byte [ebx + 0x23d]
mov edx, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x44]
movsd xmm0, qword [esp + 0x3c]
mov byte [esp + 0x10], al
mov al, byte [ebx + 0x23e]
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0xc0]
mov byte [esp + 0xc], al
mov al, byte [ebx + 0x243]
movsd qword [esp + 0x70], xmm0
movsd xmm0, qword [esp + 0xb8]
mov dword [esp + 0x78], edx
mov dword [esp + 0x68], ecx
movsd qword [esp + 0x60], xmm0
mov byte [esp + 6], al
mov edx, dword [ebx + 0x1f4]
test edx, edx
je 0x4f8a73
lea ecx, [esp + 0xac]
push dword [ebx + 0x1fc]
call fcn.0041bed0
add esp, 4
jmp 0x4f8a7e
mov dword [esp + 0xac], 0
mov edx, dword [ebx + 0x200]
test edx, edx
je 0x4f8a9c
lea ecx, [esp + 0x3c]
push dword [ebx + 0x208]
call fcn.0041bed0
add esp, 4
jmp 0x4f8aa4
mov dword [esp + 0x3c], 0
movzx edx, word [ebx + 0xa0]
mov al, byte [ebx + 0x23d]
movzx ecx, word [ebx + 0xa2]
mov esi, edi
mov word [esp + 0x26], dx
mov edx, dword [ebx + 0x20c]
mov byte [esp + 5], al
mov al, byte [ebx + 0x23e]
mov word [esp + 0x24], cx
test edx, edx
mov byte [esp + 4], al
je 0x4f8af3
lea ecx, [esp + 0xb8]
push dword [ebx + 0x214]
call fcn.0041bed0
add esp, 4
jmp 0x4f8afe
mov dword [esp + 0xb8], 0
mov eax, dword [esp + 0xb4]
movsd xmm0, qword [esp + 0xac]
mov ecx, 0x68
mov edx, 8
mov dword [esp + 0xa8], eax
movsd qword [esp + 0xa0], xmm0
movsd xmm0, qword [esp + 0x3c]
mov eax, dword [esp + 0x44]
movsd qword [esp + 0x90], xmm0
mov dword [esp + 0x98], eax
movsd xmm0, qword [esp + 0xb8]
mov eax, dword [esp + 0xc0]
movsd qword [esp + 0x80], xmm0
mov dword [esp + 0x88], eax
mov al, byte [0x5c91e8]
call fcn.0041aa20
test eax, eax
je 0x4f8d00
mov edi, eax
mov eax, dword [esp + 0x58]
mov ecx, 0x34
mov edx, 4
mov dword [edi], eax
mov eax, dword [esp + 0x54]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x50]
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [edi + 0x24], eax
mov al, byte [esp + 0x14]
mov dword [edi + 0x28], esi
mov dword [edi + 0x30], 0
mov esi, dword [esp + 0x20]
mov byte [edi + 0x3c], al
mov al, byte [esp + 8]
xor al, 1
mov byte [edi + 0x3d], al
mov eax, dword [esp + 0x38]
mov dword [edi + 0x40], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 0x44], esi
mov dword [edi + 0x48], eax
mov eax, dword [esp + 0x78]
mov dword [edi + 0x54], eax
movsd xmm0, qword [esp + 0x70]
movsd qword [edi + 0x4c], xmm0
movsd xmm0, qword [esp + 0x60]
movsd qword [edi + 0x58], xmm0
mov eax, dword [esp + 0x68]
mov dword [edi + 0x60], eax
mov al, byte [esp + 0x10]
mov byte [edi + 0x64], al
mov al, byte [esp + 0xc]
mov byte [edi + 0x65], al
mov al, byte [esp + 6]
mov byte [edi + 0x66], al
mov eax, dword [esp + 0x1c]
mov byte [edi + 0x67], al
mov al, byte [0x5c91e8]
call fcn.0041aa20
test eax, eax
je 0x4f8d0c
movzx ecx, word [esp + 0x26]
mov ebx, dword [esp + 0x5c]
mov edx, dword [ebp + 0x14]
mov word [eax], cx
movzx ecx, word [esp + 0x24]
mov word [eax + 2], cx
mov dword [eax + 4], esi
mov esi, dword [ebp + 0x10]
mov ecx, dword [esp + 0xa8]
mov dword [eax + 0x10], ecx
movsd xmm0, qword [esp + 0xa0]
movsd qword [eax + 8], xmm0
movsd xmm0, qword [esp + 0x90]
movsd qword [eax + 0x14], xmm0
mov ecx, dword [esp + 0x98]
mov dword [eax + 0x1c], ecx
movsd xmm0, qword [esp + 0x80]
movsd qword [eax + 0x20], xmm0
mov ecx, dword [esp + 0x88]
mov dword [eax + 0x28], ecx
mov cl, byte [esp + 7]
xor cl, 1
mov byte [eax + 0x2c], cl
mov cl, byte [ebp + 0xc]
mov byte [eax + 0x2d], cl
mov cl, byte [esp + 5]
mov byte [eax + 0x2e], cl
mov cl, byte [esp + 4]
mov byte [eax + 0x2f], cl
mov ecx, dword [esp + 0x18]
mov byte [eax + 0x30], cl
mov dword [ebx], edi
mov dword [ebx + 4], 0x59dbac
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], 0x59dbe0
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
ud2
mov ecx, 4
mov edx, 0x64
jmp 0x4f8d22
mov ecx, 4
mov edx, 0x10
jmp 0x4f8d22
mov ecx, 8
mov edx, 0x68
jmp 0x4f8d22
mov ecx, 4
mov edx, 0x34
jmp 0x4f8d22
mov ecx, 8
mov edx, 0x40
call fcn.0041b1c0
ud2