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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x34
mov esi, dword [esp + 0x4c]
movsx eax, byte [esp + 0x48]
lea ecx, [eax - 0x42]
cmp ecx, 0x36
ja case.default.0x4c13d8
jmp dword [ecx*4 + 0x4c1548]
mov ecx, esi
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
jmp 0x4c1730
mov ecx, esi
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
jmp 0x4c1630
test eax, eax
jne case.0x4c13d8.67
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov edx, ecx
or edx, 1
bsr edi, eax
xor edi, 0x1f
bsr edx, edx
xor edx, 0x1f
or edx, 0x20
test eax, eax
cmovne edx, edi
xor edx, 0x3f
movzx ebx, word [edx + edx + 0x591990]
cmp ecx, dword [ebx*8 + 0x590da8]
sbb eax, dword [ebx*8 + 0x590dac]
sbb ebx, 0
lea ebp, [esi + 0x18]
mov edi, dword [esi + 0x1c]
mov eax, dword [esi]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebp
sub esp, 0x10
movsd xmm0, qword [esp + 0x24]
movsd qword [esp + 4], xmm0
mov dword [esp + 0xc], eax
mov dword [esp], ebx
lea ecx, [esp + 0x10]
call fcn.004b74e0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
push eax
push eax
push dword [esp + 0x14]
push ecx
call 0x4c1eb0
add esp, 0x14
mov dword [esi], eax
jmp 0x4c14fe
mov ecx, esi
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
jmp 0x4c1930
mov edi, dword [esi]
mov ebx, dword [esi + 0x10]
mov ecx, dword [edi + 8]
lea eax, [ecx + 1]
cmp dword [edi + 0xc], eax
jae 0x4c14f5
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx]
mov ecx, dword [edi + 8]
lea eax, [ecx + 1]
mov edx, dword [edi + 4]
mov dword [edi + 8], eax
mov byte [edx + ecx], bl
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
jmp 0x4c1830
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
sub esp, 0x10
mov dword [esp], eax
mov dword [esp + 0x10], 0x590abc
mov dword [esp + 0xc], 0x6b2
mov dword [esp + 8], str.external_fmtlib_include_fmt_format.h
call fcn.004a8080
add esp, 0x14
call fcn.0049aa70
nop
fist word [ebx]
dec esp
add byte [edx + 0x1514004c], dl
dec esp
add byte [edx + 0x1514004c], dl
dec esp
add byte [edx + 0x1514004c], dl
dec esp
add byte [edx + 0x1514004c], dl
dec esp
add byte [edx + 0x14ca004c], dl
dec esp
add byte [edx + 0x1514004c], dl
dec esp
add byte [edx + 0x1514004c], dl
dec esp
add byte [edx + 0x1514004c], dl
dec esp
add byte [edx + 0x1514004c], dl
dec esp
add byte [edx + 0x1514004c], dl
dec esp
add byte [edx + 0x13ed004c], dl
dec esp
add byte [edx + 0x1514004c], dl
dec esp
add byte [edx + 0x1514004c], dl
dec esp
add byte [edx + 0x1514004c], dl
dec esp
add byte [edx + 0x1514004c], dl
dec esp
add byte [edx + 0x13df004c], dl
dec esp
add al, bl
adc al, 0x4c
add byte [ebx], al
adc al, 0x4c
add byte [edx + 0x1514004c], dl
dec esp
add byte [edx + 0x1514004c], dl
dec esp
add byte [edx + 0x1514004c], dl
dec esp
add byte [edx + 0x1514004c], dl
dec esp
add byte [edx + 0x1514004c], dl
dec esp
add byte [esi], al
adc eax, 0x1514004c
dec esp
add byte [edx + 0x1514004c], dl
dec esp
add byte [edx + 0x1514004c], dl
dec esp
add byte [edx + 0x1514004c], dl
dec esp
add byte [edx + 0x13ed004c], dl
dec esp
add ah, cl
int3
push ebp
push ebx
push edi
push esi
sub esp, 0x34
mov esi, ecx
mov eax, dword [ecx + 8]
cmp byte [eax + 9], 0
jns 0x4c1664
mov eax, dword [esi + 0x1c]
lea ecx, [eax + 1]
mov dword [esi + 0x1c], ecx
mov byte [esi + eax + 0x18], 0x30
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x1c]
movzx eax, byte [eax + 8]
lea edx, [ecx + 1]
mov dword [esi + 0x1c], edx
mov byte [esi + ecx + 0x18], al
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
xor edi, edi
mov eax, 0xf
mov ebx, edx
nop word cs:[eax + eax]
mov ebp, edx
shld ebp, ecx, 0x1c
inc edi
shr ebx, 4
cmp eax, ecx
mov ecx, 0
sbb ecx, edx
mov ecx, ebp
mov edx, ebx
jb 0x4c1680
lea ebp, [esi + 0x18]
mov ebx, dword [esi + 0x1c]
mov eax, dword [esi]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebp
sub esp, 0x10
movsd xmm0, qword [esp + 0x24]
movsd qword [esp + 4], xmm0
mov dword [esp + 0xc], eax
mov dword [esp], edi
lea ecx, [esp + 0x10]
call fcn.004b74e0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
push eax
push eax
push dword [esp + 0x14]
push ecx
call fcn.004c2180
add esp, 0x14
mov dword [esi], eax
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
push ebp
push ebx
push edi
push esi
sub esp, 0x34
mov esi, ecx
mov eax, dword [ecx + 8]
cmp byte [eax + 9], 0
jns 0x4c1764
mov eax, dword [esi + 0x1c]
lea ecx, [eax + 1]
mov dword [esi + 0x1c], ecx
mov byte [esi + eax + 0x18], 0x30
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x1c]
movzx eax, byte [eax + 8]
lea edx, [ecx + 1]
mov dword [esi + 0x1c], edx
mov byte [esi + ecx + 0x18], al
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
xor edi, edi
mov eax, 1
mov ebx, edx
nop word cs:[eax + eax]
mov ebp, edx
shld ebp, ecx, 0x1f
inc edi
shr ebx, 1
cmp eax, ecx
mov ecx, 0
sbb ecx, edx
mov ecx, ebp
mov edx, ebx
jb 0x4c1780
lea ebp, [esi + 0x18]
mov ebx, dword [esi + 0x1c]
mov eax, dword [esi]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebp
sub esp, 0x10
movsd xmm0, qword [esp + 0x24]
movsd qword [esp + 4], xmm0
mov dword [esp + 0xc], eax
mov dword [esp], edi
lea ecx, [esp + 0x10]
call fcn.004b74e0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
push eax
push eax
push dword [esp + 0x14]
push ecx
call fcn.004c2460
add esp, 0x14
mov dword [esi], eax
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
push ebp
push ebx
push edi
push esi
sub esp, 0x34
mov esi, ecx
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
xor edi, edi
mov edx, 7
mov dword [esp + 4], eax
mov dword [esp], ecx
mov ebx, ecx
nop
mov ebp, ecx
shld ebp, eax, 0x1d
inc edi
shr ebx, 3
cmp edx, eax
mov eax, 0
sbb eax, ecx
mov eax, ebp
mov ecx, ebx
jb 0x4c1850
mov eax, dword [esi + 8]
cmp byte [eax + 9], 0
jns 0x4c1891
cmp dword [eax + 4], edi
jg 0x4c1891
mov ecx, dword [esp]
or dword [esp + 4], ecx
je 0x4c1891
mov eax, dword [esi + 0x1c]
lea ecx, [eax + 1]
mov dword [esi + 0x1c], ecx
mov byte [esi + eax + 0x18], 0x30
mov eax, dword [esi + 8]
mov dword [esp], eax
lea ebp, [esi + 0x18]
mov ecx, dword [esi]
mov dword [esp + 4], ecx
mov ebx, dword [esi + 0x1c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebp
sub esp, 0x10
movsd xmm0, qword [esp + 0x24]
movsd qword [esp + 4], xmm0
mov dword [esp + 0xc], eax
mov dword [esp], edi
lea ecx, [esp + 0x18]
call fcn.004b74e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
push eax
push eax
push dword [esp + 0xc]
push ecx
call fcn.004c2700
add esp, 0x14
mov dword [esi], eax
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
push ebp
push ebx
push edi
push esi
sub esp, 0x26c
mov ebp, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0
mov eax, dword [ecx + 4]
lea ecx, [esp + 0x64]
test eax, eax
je 0x4c1967
push eax
call fcn.0043f7e0
jmp 0x4c196c
call fcn.0043f710
mov esi, dword [0x591c28]
lea edi, [esp + 0x64]
mov ecx, edi
push esi
call fcn.004401e0
mov edx, dword [eax]
lea ecx, [esp + 8]
push eax
call dword [edx + 0x14]
mov ecx, edi
call fcn.0043f7f0
movzx eax, byte [esp + 8]
test al, 1
je 0x4c19ba
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4c19c0
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x64]
test eax, eax
je 0x4c1a8c
push eax
call fcn.0043f7e0
jmp 0x4c1a91
shr eax, 1
test eax, eax
jne 0x4c19a0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, ecx
or edx, 1
bsr esi, eax
xor esi, 0x1f
bsr edx, edx
xor edx, 0x1f
or edx, 0x20
test eax, eax
cmovne edx, esi
xor edx, 0x3f
movzx ebx, word [edx + edx + 0x591990]
cmp ecx, dword [ebx*8 + 0x590da8]
sbb eax, dword [ebx*8 + 0x590dac]
sbb ebx, 0
lea edi, [ebp + 0x18]
mov esi, dword [ebp + 0x1c]
mov eax, dword [ebp]
mov dword [esp], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
sub esp, 0x10
movsd xmm0, qword [esp + 0x28]
movsd qword [esp + 4], xmm0
mov dword [esp + 0xc], eax
mov dword [esp], ebx
lea ecx, [esp + 0x4c]
call fcn.004b74e0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x70], ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebx
mov ecx, dword [esp]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x64]
push edx
push eax
push eax
push dword [esp + 0x20]
push ecx
call 0x4c1eb0
add esp, 0x14
mov dword [ebp], eax
jmp 0x4c1e5f
call fcn.0043f710
lea edi, [esp + 0x64]
mov ecx, edi
push esi
call fcn.004401e0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x10]
mov ebx, eax
mov ecx, edi
call fcn.0043f7f0
mov edi, ebp
mov ebp, dword [ebp + 0x10]
mov edx, dword [edi + 0x14]
mov eax, ebp
or eax, 1
bsr ecx, edx
xor ecx, 0x1f
bsr eax, eax
xor eax, 0x1f
or eax, 0x20
test edx, edx
cmovne eax, ecx
xor eax, 0x3f
movzx esi, word [eax + eax + 0x591990]
cmp ebp, dword [esi*8 + 0x590da8]
mov dword [esp], edx
mov eax, edx
sbb eax, dword [esi*8 + 0x590dac]
setb al
movzx ecx, al
mov eax, esi
mov dword [esp + 0x34], ecx
sub eax, ecx
mov byte [esp + 0x14], bl
test bl, bl
je 0x4c1b25
mov dword [esp + 0x20], edi
movzx ecx, byte [esp + 8]
lea edx, [esp + 9]
test cl, 1
je 0x4c1bb6
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
jmp 0x4c1bb8
lea ebp, [edi + 0x18]
mov ebx, dword [edi + 0x1c]
mov ecx, dword [edi]
mov dword [esp], ecx
mov ecx, dword [edi + 8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebp
sub esp, 0x10
movsd xmm0, qword [esp + 0x28]
movsd qword [esp + 4], xmm0
mov dword [esp + 0xc], ecx
mov dword [esp], eax
lea ecx, [esp + 0x4c]
mov esi, eax
call fcn.004b74e0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x70], ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], esi
mov ecx, dword [esp]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x64]
push edx
push eax
push eax
push dword [esp + 0x20]
push ecx
call 0x4c1eb0
add esp, 0x14
mov dword [edi], eax
jmp 0x4c1e5f
shr ecx, 1
mov dword [esp + 0x30], esi
lea ebx, [edx + ecx]
test ecx, ecx
mov dword [esp + 0x28], eax
je 0x4c1c00
mov dword [esp + 4], ebx
lea esi, [eax + ecx]
mov dword [esp + 0x2c], esi
mov edi, eax
mov esi, eax
nop word cs:[eax + eax]
movsx ebx, byte [edx]
sub eax, ebx
jle 0x4c1c09
add bl, 0x81
cmp bl, 0x82
jb 0x4c1c09
inc edi
inc edx
mov esi, eax
dec ecx
jne 0x4c1be0
mov ebx, dword [esp + 4]
mov edi, dword [esp + 0x2c]
jmp 0x4c1c1a
mov esi, eax
mov edi, eax
mov ecx, dword [esp]
jmp 0x4c1c10
mov ecx, dword [esp]
mov ebx, dword [esp + 4]
mov dword [esp + 4], edi
mov eax, esi
cmp edx, ebx
jne 0x4c1c2b
dec eax
movsx ecx, byte [ebx - 1]
cdq
idiv ecx
mov ecx, dword [esp]
add eax, edi
mov dword [esp + 4], eax
xorps xmm0, xmm0
movups xmmword [esp + 0x4c], xmm0
movups xmmword [esp + 0x3c], xmm0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x28]
lea edi, [esp + eax]
add edi, 0x3c
cmp ebp, 0x64
mov eax, ecx
sbb eax, 0
jb 0x4c1ca4
nop dword [eax]
lea eax, [edi - 2]
mov dword [esp], eax
push 0
push 0x64
push ecx
push ebp
mov esi, ecx
call fcn.004a5b80
add esp, 0x10
imul ecx, eax, 0x64
mov ebx, ebp
sub ebx, ecx
mov ecx, 0x270f
cmp ecx, ebp
mov ecx, 0
sbb ecx, esi
mov esi, dword [esp]
movzx ecx, word [ebx + ebx + str.000102030405060708091011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798990123456789abcdef]
mov word [edi - 2], cx
mov ebp, eax
mov ecx, edx
mov edi, esi
jb 0x4c1c60
jmp 0x4c1caa
mov esi, edi
mov eax, ebp
mov edx, ecx
xor ecx, ecx
mov edi, 9
cmp edi, eax
sbb ecx, edx
jb 0x4c1cbe
add al, 0x30
mov byte [esi - 1], al
jmp 0x4c1cca
movzx eax, word [eax + eax + str.000102030405060708091011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798990123456789abcdef]
mov word [esi - 2], ax
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 4]
lea eax, [esp + 0x6c]
push 0x200
push 0
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
mov dword [esp + 0x64], 0x591ac8
lea ebp, [esp + 0x74]
mov dword [esp + 0x68], ebp
mov dword [esp + 0x70], 0x1f4
add edi, dword [esi + 0x1c]
js 0x4c1e7d
mov esi, 0x1f4
cmp edi, 0x1f5
jb 0x4c1d4c
cmp edi, 0x2ef
mov esi, 0x2ee
cmovae esi, edi
push esi
call fcn.00420cd0
add esp, 4
mov ebp, eax
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4c1d44
push eax
lea eax, [esp + 0x78]
push eax
push ebp
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov dword [esp + 0x68], ebp
mov dword [esp + 0x70], esi
cmp esi, edi
cmovae esi, edi
mov dword [esp + 0x6c], esi
lea esi, [edi + ebp]
dec esi
cmp dword [esp + 0x28], 2
mov dword [esp + 4], edi
jl 0x4c1e03
mov ecx, dword [esp + 0x34]
neg ecx
test byte [esp + 8], 1
lea edx, [esp + 9]
je 0x4c1d7d
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
lea ebp, [ecx + eax]
inc ebp
mov dword [esp], 0
jmp 0x4c1dc2
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
add edi, edx
cmp eax, edi
mov edx, ecx
cmovne edx, eax
movzx eax, byte [esp + 0x14]
mov byte [esi - 1], al
mov eax, 0
mov ecx, dword [esp]
cmovne ecx, eax
mov dword [esp], ecx
add esi, 0xfffffffe
mov edi, esi
dec ebp
mov esi, edi
cmp ebp, 2
jbe 0x4c1e05
movzx eax, byte [esp + ebp + 0x3a]
lea edi, [esi - 1]
mov byte [esi], al
movzx ebx, byte [edx]
test bl, bl
jle 0x4c1dba
mov ecx, edx
mov eax, dword [esp]
inc eax
mov dword [esp], eax
cdq
idiv ebx
test edx, edx
jne 0x4c1dff
cmp bl, 0x7f
mov edx, ecx
je 0x4c1dba
lea eax, [edx + 1]
movzx edx, byte [esp + 8]
test dl, 1
jne 0x4c1d8e
shr edx, 1
lea edi, [esp + 9]
jmp 0x4c1d96
mov edx, ecx
jmp 0x4c1dba
mov edi, esi
movzx eax, byte [esp + 0x3c]
mov byte [edi], al
mov esi, dword [esp + 0x20]
cmp dword [esi + 0x1c], 0
je 0x4c1e1a
mov byte [edi - 1], 0x2d
mov eax, dword [esp + 0x68]
mov ecx, dword [esi]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x18], eax
mov edi, dword [esp + 4]
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x18]
push edx
push edi
push edi
push ecx
push eax
call fcn.004c29a0
add esp, 0x14
mov dword [esi], eax
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x74]
cmp eax, ecx
je 0x4c1e5f
push eax
call fcn.00420e70
add esp, 4
test byte [esp + 8], 1
je 0x4c1e72
push dword [esp + 0x10]
call fcn.00420e70
add esp, 4
add esp, 0x26c
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
sub esp, 0x10
mov dword [esp], eax
mov dword [esp + 0x10], str.negative_value
mov dword [esp + 0xc], 0x146
mov dword [esp + 8], str.external_fmtlib_include_fmt_core.h
call fcn.004a8080
add esp, 0x14
call fcn.0049aa70
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, dword [esp + 0x24]
mov ebp, dword [esi]
test ebp, ebp
js 0x4c1f46
mov eax, dword [esp + 0x28]
xor ecx, ecx
sub ebp, dword [esp + 0x2c]
cmovb ebp, ecx
lea edi, [esp + 0x20]
movzx edx, byte [esi + 9]
and edx, 0xf
movzx ecx, byte [edx + 0x591875]
mov edi, dword [edi]
movzx edx, byte [esi + 0xe]
add eax, dword [edi + 8]
imul edx, ebp
add eax, edx
cmp dword [edi + 0xc], eax
jae 0x4c1f02
mov ebx, ecx
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx]
mov ecx, ebx
add esi, 0xa
mov ebx, ebp
shr ebx, cl
mov dword [esp + 8], edi
mov eax, dword [esp + 8]
push esi
push ebx
push eax
call fcn.004baa80
add esp, 0xc
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
push eax
call fcn.004c1f80
mov dword [esp], eax
sub ebp, ebx
mov eax, dword [esp]
push esi
push ebp
push eax
call fcn.004baa80
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
sub esp, 0x10
mov dword [esp], eax
mov dword [esp + 0x10], str.negative_value
mov dword [esp + 0xc], 0x146
mov dword [esp + 8], str.external_fmtlib_include_fmt_core.h
call fcn.004a8080
add esp, 0x14
call fcn.0049aa70
int3