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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov edi, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x28], edi
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x84]
cmp edx, 3
je 0x4ed600
cmp edx, 2
je 0x4ed508
cmp ebp, 0x1f
ja 0x4ed8ae
test ebp, ebp
jne 0x4ed680
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4ed800
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], 0
cmp ebp, 0x1f
ja 0x4ed530
test ebp, ebp
jne 0x4ed535
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4ed8f8
jmp 0x4ed529
mov ebp, 0x20
lea ecx, [esp + 0x30]
movzx eax, al
mov dword [esp + 0x20], ecx
imul ecx, eax, 0x1010101
cmp ebp, 4
jae 0x4ed620
test ebp, ebp
je 0x4ed563
mov byte [esp + 0x30], cl
test ebp, 2
jne 0x4ed915
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4ed6ff
mov eax, dword [esp + 0x1c]
cmp ebp, eax
jae 0x4ed890
test ebp, ebp
je 0x4ed529
mov dword [esp + 0x2c], edi
mov dword [esp + 0x80], ebp
mov ebp, ebx
lea esi, [esi]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0x20]
mov ecx, eax
sub ecx, dword [ebp + 4]
sub esi, ecx
cmp dword [esp + 0x80], esi
jae 0x4ed5f3
jmp 0x4ed7e8
mov dword [esp + 4], ebx
sub edi, esi
add ebx, esi
mov dword [esp + 8], esi
mov dword [esp], eax
call sym._memcpy
add dword [ebp + 0xc], esi
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edx, eax
sub edx, dword [ebp + 4]
sub esi, edx
cmp edi, esi
jb 0x4ed6d0
test esi, esi
jne 0x4ed5c0
mov dword [ebp + 0xc], eax
jmp 0x4ed5d7
mov ecx, ebp
and ebp, 1
shr ecx, 1
add ebp, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ebp
jmp 0x4ed514
lea eax, [ebp - 1]
mov dword [esp + ebp + 0x2c], ecx
cmp eax, 4
jb 0x4ed563
and eax, 0xfffffffc
lea edx, [eax - 1]
mov esi, eax
mov eax, dword [esp + 0x20]
shr edx, 2
mov dword [eax], ecx
mov eax, 4
and edx, 1
cmp eax, esi
jae 0x4ed563
test edx, edx
je 0x4ed669
mov eax, dword [esp + 0x20]
mov dword [eax + 4], ecx
mov eax, 8
cmp eax, esi
jae 0x4ed563
mov edx, dword [esp + 0x20]
mov dword [edx + eax], ecx
mov dword [edx + eax + 4], ecx
add eax, 8
cmp eax, esi
jb 0x4ed66d
jmp 0x4ed563
movsx eax, al
mov dword [esp + 8], ebp
mov dword [esp + 4], eax
lea eax, [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 0x20], eax
call sym._memset
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], ebp
test eax, eax
jne 0x4ed810
mov eax, dword [esp + 0x18]
mov ecx, ebx
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call method.std::__format::_Sink_char_._M_write_std::basic_string_view_char__std::char_traits_char____
mov eax, ebx
sub esp, 8
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
test edi, edi
jne 0x4ed7e8
mov ecx, dword [esp + 0x80]
sub dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
cmp ecx, eax
jb 0x4ed590
mov ebx, ebp
mov edi, dword [esp + 0x2c]
mov ebp, ecx
test eax, eax
jne 0x4ed890
mov edx, dword [esp + 0x28]
test edx, edx
jne 0x4ed810
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4ed4f8
mov eax, dword [esp + 0x18]
cmp ebp, eax
jae 0x4ed91f
test ebp, ebp
jne 0x4ed730
jmp 0x4ed727
lea eax, [esp + 0x30]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x20], eax
nop
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
mov edi, dword [esp + 0x80]
mov ebp, dword [esp + 0x20]
mov ecx, eax
sub ecx, dword [ebx + 4]
sub esi, ecx
cmp dword [esp + 0x80], esi
jae 0x4ed796
jmp 0x4ed7d0
mov dword [esp + 4], ebp
sub edi, esi
add ebp, esi
mov dword [esp + 8], esi
mov dword [esp], eax
call sym._memcpy
add dword [ebx + 0xc], esi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
mov edx, eax
sub edx, dword [ebx + 4]
sub esi, edx
cmp edi, esi
jb 0x4ed7a0
test esi, esi
jne 0x4ed768
mov dword [ebx + 0xc], eax
jmp 0x4ed77f
test edi, edi
jne 0x4ed7d0
mov ecx, dword [esp + 0x80]
sub dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
cmp ecx, eax
jb 0x4ed740
test eax, eax
jne 0x4ed6ab
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], edi
mov dword [esp + 4], ebp
mov dword [esp], eax
call sym._memcpy
add dword [ebx + 0xc], edi
jmp 0x4ed7a4
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._memcpy
add dword [ebp + 0xc], edi
jmp 0x4ed6d8
mov dword [esp + 0x18], 0
lea esi, [esi]
nop
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
mov edx, eax
sub edx, dword [ebx + 4]
sub esi, edx
cmp dword [esp + 0x28], esi
jae 0x4ed85c
jmp 0x4ed870
mov ecx, dword [esp + 0x24]
mov dword [esp + 8], esi
sub edi, esi
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym._memcpy
add dword [ebx + 0xc], esi
add dword [esp + 0x24], esi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
mov edx, eax
sub edx, dword [ebx + 4]
sub esi, edx
cmp edi, esi
jb 0x4ed868
test esi, esi
jne 0x4ed828
mov dword [ebx + 0xc], eax
jmp 0x4ed845
test edi, edi
je 0x4ed70b
mov ecx, dword [esp + 0x24]
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym._memcpy
add dword [ebx + 0xc], edi
jmp 0x4ed70b
mov eax, dword [esp + 0x1c]
mov ecx, ebx
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call method.std::__format::_Sink_char_._M_write_std::basic_string_view_char__std::char_traits_char____
sub esp, 8
jmp 0x4ed6ff
movzx eax, al
mov dword [esp + 0x18], ebp
mov ebp, 0x20
imul eax, eax, 0x1010101
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4ed717
jmp 0x4ed810
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4ed810
mov esi, dword [esp + 0x18]
test esi, esi
je 0x4ed4f8
jmp 0x4ed727
mov word [esp + ebp + 0x2e], cx
jmp 0x4ed563
lea eax, [esp + 0x30]
mov dword [esp + 0x20], eax
jmp 0x4ed6ab