Function at 0x412680
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xad0
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, eax
lea eax, [eax + edx - 1]
mov dword [ebp - 0x4c], eax
mov eax, 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x6d0]
xor edx, edx
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0xad0]
push ebx
mov dword [ebp - 0x650], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x2c], 0xd
cmp byte [eax], dl
je 0x4135f9
jmp 0x4126f3
mov edx, dword [ebp - 0x20]
cmp dword [ebp - 0x2c], 0xe
je 0x4135f9
test edx, edx
jl 0x4135f9
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 4]
movzx eax, byte [esi]
mov ecx, edi
and edi, 7
sar ecx, 3
shl edi, 6
add edi, dword [ebp + ecx*4 - 0x650]
xor ebx, ebx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x413119
cmp eax, 0x80
jge 0x412743
cmp eax, 0x25
je 0x412823
inc esi
jmp 0x4127a1
push 4
push esi
push ebx
call dword [0x43c0ec]
add esp, 0xc
cmp eax, ebx
jge 0x41279f
test byte [0x44da7c], 1
jne 0x41277a
or dword [0x44da7c], 1
push str.BTK_USE_STRICT_PRINTF
call fcn.00408a52
add esp, 4
test eax, eax
setne byte [0x44da78]
cmp byte [0x44da78], 0
je 0x41279a
push 0x718
push str.s:_advappsTK_2_basictk_rtlcore_srcwrappers_btkprintf.cxx
push str.btk_vsnprintf:_invalid_multibyte_character_sequence
call fcn.004184e0
add esp, 0xc
mov eax, 1
add esi, eax
movzx eax, byte [esi]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x412730
cmp eax, ebx
mov dword [ebp - 4], esi
jle 0x413119
xor ebx, ebx
cmp dword [ebp - 0x2c], 0xd
mov dword [ebp - 8], ebx
jge 0x41289a
jmp 0x4127d0
mov edx, dword [ebp - 4]
movzx esi, byte [edx]
cmp esi, 0x80
mov dword [ebp + 0xc], esi
jg 0x41289a
mov ecx, dword [ebp - 0x2c]
mov eax, dword [esi*4 + str._b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_a_b_b_a]
shl ecx, 4
movzx eax, byte [ecx + eax + 0x436b80]
mov ecx, eax
and eax, 0xf
and ecx, 0x1f0
mov dword [ebp - 0x2c], eax
lea eax, [ecx - 0x10]
mov dword [ebp - 0x1c], ecx
cmp eax, 0xe0
ja case.0x41281c.17
movzx eax, byte [eax + 0x41367c]
jmp dword [eax*4 + 0x413648]
or eax, 0xffffffff
mov dword [edi], esi
inc esi
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
cmp byte [esi], 0x25
mov dword [ebp - 4], esi
jne 0x412864
inc esi
mov dword [edi + 8], 0x25
mov dword [ebp - 4], esi
mov dword [edi + 0x28], 0x10000000
mov dword [ebp - 0x2c], 0xd
jmp 0x4127b8
mov dword [edi + 0x28], ebx
mov dword [ebp - 0x2c], ebx
jmp 0x4127b8
add esi, 0xffffffe0
cmp esi, 0x10
ja case.0x41281c.17
movzx ecx, byte [esi + 0x413778]
jmp dword [ecx*4 + 0x413760]
mov dword [edi + 0xc], 0x2b
inc edx
mov dword [ebp - 4], edx
cmp dword [ebp - 0x2c], 0xd
jl 0x4127d0
cmp dword [ebp - 0x2c], 0xe
je 0x4130cd
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x44]
mov ecx, dword [ebp - 4]
inc eax
cmp eax, esi
mov dword [edi + 4], ecx
mov dword [ebp - 0x30], eax
jl 0x4128ed
lea edi, [eax + 8]
sar edi, 3
sar esi, 3
cmp esi, edi
jge 0x4128e3
mov eax, 0x208
call fcn.004079f0
mov eax, esp
add eax, 7
and eax, 0xfffffff8
mov dword [ebp + esi*4 - 0x650], eax
inc esi
cmp esi, edi
jl 0x4128c5
lea edx, [edi*8]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x38]
mov ecx, eax
sar ecx, 3
mov edx, dword [ebp + ecx*4 - 0x650]
mov ecx, dword [ebp - 0xc]
and eax, 7
shl eax, 6
cmp dword [edx + eax + 0x14], ecx
jg 0x412705
jmp 0x413119
or dword [edi + 0x28], 0x200
jmp case.0x41281c.17
or dword [edi + 0x28], 0x1000
jmp case.0x41281c.17
or dword [edi + 0x28], 0x400
jmp case.0x41281c.17
cmp dword [edi + 0xc], 0
jne case.0x41281c.17
mov dword [edi + 0xc], 0x20
jmp case.0x41281c.17
mov eax, ebx
test ebx, ebx
jge 0x41295d
or dword [edi + 0x28], 0x200
neg eax
movsx edx, ax
mov dword [edi + 0x18], edx
mov ecx, dword [ebp - 4]
lea eax, [edi + 0x28]
push eax
push ecx
push esi
call fcn.0040da80
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x412890
xor ecx, ecx
cmp ebx, ecx
jge 0x41298b
or dword [edi + 0x28], 0x200
neg ebx
movsx eax, bx
mov dword [edi + 0x18], eax
jmp 0x412995
xor ecx, ecx
add esi, 0xffffffbd
xor ebx, ebx
cmp esi, 0x35
ja case.0x4129aa.72
movzx eax, byte [esi + 0x4137c8]
jmp dword [eax*4 + 0x41378c]
mov ebx, 4
mov dword [ebp + 0xc], 0x64
or ebx, 0x4002000
mov dword [edi + 0x24], 0xa
jmp case.0x4129aa.72
mov ebx, 4
mov dword [ebp + 0xc], 0x6f
or ebx, 0x4000000
mov dword [edi + 0xc], ecx
mov dword [edi + 0x24], 8
jmp case.0x4129aa.72
mov ebx, 0x4000000
mov dword [edi + 0xc], ecx
mov dword [edi + 0x24], 0xa
jmp case.0x4129aa.72
cmp dword [edi + 0x1c], ecx
jne case.0x4129aa.69
mov dword [edi + 0x1c], 1
cmp dword [edi + 0x1c], 0xffffffff
jne 0x412a1a
mov dword [edi + 0x1c], 6
mov ebx, 0x8000000
jmp case.0x4129aa.72
mov ebx, 4
or ebx, 0x1000000
jmp case.0x4129aa.72
mov al, byte [edx]
cmp al, 0x66
je 0x412a56
cmp al, 0x64
je 0x412a56
mov ebx, 0x804
mov dword [ebp + 0xc], 0x78
or ebx, 0x4000000
mov dword [edi + 0xc], ecx
mov dword [edi + 0x24], 0x10
jmp case.0x4129aa.72
inc edx
mov dword [ebp + 0xc], 0x7e
mov dword [ebp - 4], edx
mov ebx, 0x1000000
jmp case.0x4129aa.72
mov ebx, 0x40000000
jmp case.0x4129aa.72
mov ebx, 4
or ebx, 0x2000000
mov eax, dword [edi + 0x28]
test eax, 0xff000000
je 0x412ad3
and eax, ebx
test eax, 0xff000000
jne 0x412ad3
test byte [0x44da7c], 1
jne 0x412ab3
or dword [0x44da7c], 1
push str.BTK_USE_STRICT_PRINTF
call fcn.00408a52
add esp, 4
test eax, eax
setne byte [0x44da78]
cmp byte [0x44da78], 0
je 0x412ad3
push 0x718
push str.s:_advappsTK_2_basictk_rtlcore_srcwrappers_btkprintf.cxx
push str.btk_vsnprintf:_invalid_modifier_and_specifier_combination
call fcn.004184e0
add esp, 0xc
mov ecx, dword [edi + 0x28]
mov eax, dword [edi + 0x10]
and ecx, 0xffffff
or ebx, ecx
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x28], ebx
cmp eax, 0xffffffff
je 0x412b93
cmp eax, ecx
je 0x412b93
mov esi, eax
and esi, 7
mov edx, eax
sar edx, 3
shl esi, 4
add esi, dword [ebp + edx*4 - 0x250]
cmp eax, ecx
jge 0x412b7d
mov eax, dword [esi]
xor eax, ebx
test eax, 0xff000000
je 0x412d08
test byte [0x44da7c], 1
jne 0x412b45
or dword [0x44da7c], 1
push str.BTK_USE_STRICT_PRINTF
call fcn.00408a52
add esp, 4
test eax, eax
setne byte [0x44da78]
cmp byte [0x44da78], 0
je 0x412d08
push 0x718
push str.s:_advappsTK_2_basictk_rtlcore_srcwrappers_btkprintf.cxx
push str.btk_vsnprintf:_redefinition_of_specifier
call fcn.004184e0
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp - 8]
add esp, 0xc
inc dword [ebp - 4]
mov dword [edi + 8], ecx
mov dword [edi + 0x2c], esi
jmp 0x412890
mov ecx, dword [ebp + 0xc]
inc dword [ebp - 4]
mov dword [esi], ebx
mov ebx, dword [ebp - 8]
mov dword [edi + 8], ecx
mov dword [edi + 0x2c], esi
jmp 0x412890
mov dword [ebp - 0x20], ecx
mov dword [edi + 0x10], ecx
inc ecx
cmp ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
jle 0x412bdf
mov esi, dword [ebp - 0x10]
mov edi, ecx
add edi, 7
sar edi, 3
sar esi, 3
cmp esi, edi
jge 0x412bd2
mov eax, 0x88
call fcn.004079f0
mov eax, esp
add eax, 7
and eax, 0xfffffff8
mov dword [ebp + esi*4 - 0x250], eax
inc esi
cmp esi, edi
jl 0x412bb4
lea ecx, [edi*8]
mov edi, dword [ebp - 0x40]
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x14]
mov edx, esi
and esi, 7
sar edx, 3
shl esi, 4
add esi, dword [ebp + edx*4 - 0x250]
mov eax, ebx
and eax, 0xff000000
mov dword [esi], ebx
cmp eax, 0x8000000
ja 0x412c7b
je 0x412c5c
cmp eax, 0x1000000
je 0x412cd7
cmp eax, 0x2000000
jne 0x412c89
add ecx, 4
mov dword [ebp + 0x14], ecx
test bl, 4
je 0x412c42
mov ax, word [ecx - 4]
mov ecx, dword [ebp + 0xc]
inc dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov word [esi + 8], ax
mov dword [edi + 8], ecx
mov dword [edi + 0x2c], esi
jmp 0x412890
mov cl, byte [ecx - 4]
inc dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov byte [esi + 8], cl
mov ecx, dword [ebp + 0xc]
mov dword [edi + 8], ecx
mov dword [edi + 0x2c], esi
jmp 0x412890
fld qword [ecx]
mov ebx, dword [ebp - 8]
add ecx, 8
fstp qword [esi + 8]
inc dword [ebp - 4]
mov dword [ebp + 0x14], ecx
mov ecx, dword [ebp + 0xc]
mov dword [edi + 8], ecx
mov dword [edi + 0x2c], esi
jmp 0x412890
cmp eax, 0x20000000
je 0x412cd7
cmp eax, 0x40000000
je 0x412cd7
test bl, 4
je 0x412cad
mov edx, dword [ecx]
mov ebx, dword [ebp - 8]
add ecx, 4
inc dword [ebp - 4]
mov dword [ebp + 0x14], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 8], edx
mov dword [edi + 8], ecx
mov dword [edi + 0x2c], esi
jmp 0x412890
test bl, 8
je 0x412c8e
mov eax, dword [ecx]
mov ebx, dword [ebp - 8]
add ecx, 8
inc dword [ebp - 4]
mov dword [esi + 8], eax
mov dword [ebp + 0x14], ecx
mov ecx, dword [ecx - 4]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov dword [edi + 8], ecx
mov dword [edi + 0x2c], esi
jmp 0x412890
add ecx, 4
cmp dword [ebp + 0xc], 0x7e
mov dword [ebp + 0x14], ecx
mov ecx, dword [ecx - 4]
mov dword [esi + 8], ecx
jne 0x412d08
push ecx
lea eax, [ebp - 0x8d0]
call fcn.0040ded0
lea eax, [ebp - 0x8d0]
add esp, 4
mov dword [esi + 8], eax
mov dword [ebp + 0xc], 0x73
mov ecx, dword [ebp + 0xc]
inc dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov dword [edi + 8], ecx
mov dword [edi + 0x2c], esi
jmp 0x412890
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push eax
push esi
call fcn.0040a2e0
mov ebx, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x412890
mov eax, dword [edi + 0x14]
cmp eax, ebx
jg 0x412d41
mov eax, ebx
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x28]
cmp eax, ebx
jge 0x412dbb
cmp ebx, dword [ebp - 0x10]
jle 0x412d91
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
add ebx, 7
sar ebx, 3
sar esi, 3
cmp esi, ebx
jge 0x412d81
mov eax, 0x88
call fcn.004079f0
mov eax, esp
add eax, 7
and eax, 0xfffffff8
mov dword [ebp + esi*4 - 0x250], eax
inc esi
cmp esi, ebx
jl 0x412d63
mov eax, dword [ebp - 0x28]
lea ecx, [ebx*8]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
lea ecx, [ebx - 1]
cmp eax, ecx
jge 0x412db8
mov edx, eax
mov esi, eax
sar edx, 3
mov edx, dword [ebp + edx*4 - 0x250]
and esi, 7
shl esi, 4
inc eax
cmp eax, ecx
mov dword [esi + edx], 0
jl 0x412d98
mov dword [ebp - 0x28], ebx
dec ebx
inc dword [ebp - 4]
mov dword [ebp - 8], ebx
mov dword [edi + 0x10], ebx
jmp 0x412890
inc edx
cmp ebx, dword [ebp - 0xc]
lea esi, [ebx - 1]
mov dword [ebp - 4], edx
mov dword [ebp - 0x20], esi
jg 0x412e78
mov eax, esi
and esi, 7
sar eax, 3
shl esi, 4
add esi, dword [ebp + eax*4 - 0x250]
cmp dword [esi], 0x4000000
je 0x412e43
test byte [0x44da7c], 1
jne 0x412e20
or dword [0x44da7c], 1
push str.BTK_USE_STRICT_PRINTF
call fcn.00408a52
mov ecx, dword [ebp - 0x1c]
add esp, 4
test eax, eax
setne byte [0x44da78]
cmp byte [0x44da78], 0
je 0x412e43
push 0x718
push str.s:_advappsTK_2_basictk_rtlcore_srcwrappers_btkprintf.cxx
push str.btk_vsnprintf:_incorrect_type_of_argument_for_variable_width_or_precision
call fcn.004184e0
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
mov esi, dword [esi + 8]
cmp ecx, 0x90
jne 0x412e66
test esi, esi
jge 0x412e5b
or dword [edi + 0x28], 0x200
neg esi
movsx ecx, si
mov dword [edi + 0x18], ecx
jmp 0x412890
test esi, esi
jge 0x412e6d
or esi, 0xffffffff
movsx edx, si
mov dword [edi + 0x1c], edx
jmp 0x412890
cmp ecx, 0x90
jne 0x412e89
mov eax, ebx
neg eax
mov dword [edi + 0x18], eax
jmp 0x412e90
mov ecx, ebx
neg ecx
mov dword [edi + 0x20], ecx
mov eax, dword [edi + 0x14]
cmp eax, ebx
jg 0x412e99
mov eax, ebx
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x28]
cmp eax, ebx
jge 0x412f18
cmp ebx, dword [ebp - 0x10]
jle 0x412ef1
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
add ebx, 7
sar ebx, 3
sar esi, 3
cmp esi, ebx
jge 0x412ede
jmp 0x412ec0
mov eax, 0x88
call fcn.004079f0
mov eax, esp
add eax, 7
and eax, 0xfffffff8
mov dword [ebp + esi*4 - 0x250], eax
inc esi
cmp esi, ebx
jl 0x412ec0
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
lea edx, [ebx*8]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
cmp eax, esi
jge 0x412f15
mov ecx, eax
mov edx, eax
sar ecx, 3
mov ecx, dword [ebp + ecx*4 - 0x250]
and edx, 7
shl edx, 4
inc eax
cmp eax, esi
mov dword [edx + ecx], 0
jl 0x412ef5
mov dword [ebp - 0x28], ebx
mov edx, esi
sar edx, 3
mov eax, dword [ebp + edx*4 - 0x250]
and esi, 7
shl esi, 4
mov dword [esi + eax], 0x4000000
jmp 0x412890
inc edx
add ecx, 0x10
mov dword [ebp - 4], edx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
inc eax
cmp eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
jle 0x412f89
mov esi, dword [ebp - 0x10]
mov ebx, eax
add ebx, 7
sar ebx, 3
sar esi, 3
cmp esi, ebx
jge 0x412f7f
mov eax, 0x88
call fcn.004079f0
mov eax, esp
add eax, 7
and eax, 0xfffffff8
mov dword [ebp + esi*4 - 0x250], eax
inc esi
cmp esi, ebx
jl 0x412f61
lea ecx, [ebx*8]
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov edx, esi
and esi, 7
sar edx, 3
shl esi, 4
add esi, dword [ebp + edx*4 - 0x250]
cmp dword [ebp - 0x28], eax
jl 0x412ff9
mov eax, dword [esi]
test eax, eax
je 0x412ff9
cmp eax, 0x4000000
je 0x412ff9
test byte [0x44da7c], 1
jne 0x412fd9
or dword [0x44da7c], 1
push str.BTK_USE_STRICT_PRINTF
call fcn.00408a52
add esp, 4
test eax, eax
setne byte [0x44da78]
cmp byte [0x44da78], 0
je 0x412ff9
push 0x718
push str.s:_advappsTK_2_basictk_rtlcore_srcwrappers_btkprintf.cxx
push str.btk_vsnprintf:_incorrect_type_of_argument_for_variable_width_or_precision
call fcn.004184e0
add esp, 0xc
mov eax, dword [ebp + 0x14]
add eax, 4
cmp dword [ebp - 0x1c], 0x50
mov dword [esi], 0x4000000
mov dword [ebp + 0x14], eax
mov eax, dword [eax - 4]
mov dword [esi + 8], eax
jne 0x41302f
test eax, eax
jge 0x413021
or dword [edi + 0x28], 0x200
neg eax
mov ebx, dword [ebp - 8]
movsx ecx, ax
mov dword [edi + 0x18], ecx
jmp 0x412890
test eax, eax
jge 0x413036
or eax, 0xffffffff
mov ebx, dword [ebp - 8]
movsx edx, ax
mov dword [edi + 0x1c], edx
jmp 0x412890
mov eax, ebx
test ebx, ebx
jge 0x413053
or dword [edi + 0x28], 0x200
neg eax
cwde
mov dword [edi + 0x18], eax
jmp case.0x41281c.17
cmp esi, 0x23
je 0x412890
cmp esi, 0x20
je 0x412890
cmp esi, 0x2d
sete al
mov byte [ebp + 0xf], al
test al, al
je 0x413097
mov eax, dword [ebp - 4]
movsx esi, byte [eax + 1]
inc eax
push esi
mov dword [ebp - 4], eax
call fcn.00405527
add esp, 4
test eax, eax
je 0x412890
mov edx, dword [ebp - 4]
lea ecx, [ebp - 8]
push ecx
push edx
push esi
call fcn.0040a2e0
add esp, 0xc
cmp byte [ebp + 0xf], 0
mov dword [ebp - 4], eax
je 0x4130b8
or dword [edi + 0x28], 0x200
mov ebx, dword [ebp - 8]
mov eax, ebx
test ebx, ebx
jge 0x4130c4
or eax, 0xffffffff
cwde
mov dword [edi + 0x1c], eax
jmp 0x412890
test byte [0x44da7c], 1
jne 0x4130f3
or dword [0x44da7c], 1
push str.BTK_USE_STRICT_PRINTF
call fcn.00408a52
add esp, 4
test eax, eax
setne byte [0x44da78]
cmp byte [0x44da78], 0
je 0x413113
push 0x718
push str.s:_advappsTK_2_basictk_rtlcore_srcwrappers_btkprintf.cxx
push str.btk_vsnprintf:_invalid_format_specification
call fcn.004184e0
add esp, 0xc
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 4], edx
cmp dword [ebp - 0x30], 0
jle 0x4135ea
mov eax, dword [ebp - 4]
cmp byte [eax], 0
jne 0x4131da
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x28]
cmp esi, edi
jge 0x4131da
mov edx, dword [ebp + 0x14]
mov eax, esi
and eax, 7
mov ecx, esi
sar ecx, 3
shl eax, 4
add eax, dword [ebp + ecx*4 - 0x250]
mov ebx, dword [eax]
mov ecx, ebx
and ecx, 0xff000000
cmp ecx, 0x8000000
ja 0x41319c
je 0x413192
cmp ecx, 0x1000000
je 0x4131c6
cmp ecx, 0x2000000
jne 0x4131ac
add edx, 4
test bl, 4
je 0x41318a
mov cx, word [edx - 4]
mov word [eax + 8], cx
jmp 0x4131ce
mov cl, byte [edx - 4]
mov byte [eax + 8], cl
jmp 0x4131ce
fld qword [edx]
add edx, 8
fstp qword [eax + 8]
jmp 0x4131ce
cmp ecx, 0x20000000
je 0x4131c6
cmp ecx, 0x40000000
je 0x4131c6
test bl, 4
jne 0x4131c6
test bl, 8
je 0x4131c6
mov ecx, dword [edx]
add edx, 8
mov dword [eax + 8], ecx
mov ecx, dword [edx - 4]
mov dword [eax + 0xc], ecx
jmp 0x4131ce
mov ecx, dword [edx]
add edx, 4
mov dword [eax + 8], ecx
inc esi
cmp esi, edi
jl 0x413140
mov dword [ebp + 0x14], edx
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x3c]
mov esi, eax
and esi, 7
mov ecx, eax
sar ecx, 3
shl esi, 6
add esi, dword [ebp + ecx*4 - 0x650]
mov ecx, dword [esi + 0x14]
cmp ecx, dword [ebp - 0xc]
jg 0x4135da
mov eax, dword [esi + 0x18]
test eax, eax
jge 0x413236
not eax
mov ecx, eax
and eax, 7
sar ecx, 3
mov ecx, dword [ebp + ecx*4 - 0x250]
shl eax, 4
mov eax, dword [ecx + eax + 8]
test eax, eax
jge 0x413232
or dword [esi + 0x28], 0x200
neg eax
cwde
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x20]
test eax, eax
jge 0x413267
not eax
mov ecx, eax
and eax, 7
sar ecx, 3
mov ecx, dword [ebp + ecx*4 - 0x250]
shl eax, 4
mov eax, dword [ecx + eax + 8]
test eax, eax
jge 0x41325c
or eax, 0xffffffff
cwde
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0
mov ecx, dword [esi]
sub ecx, edx
mov dword [ebp - 0x20], ecx
test ecx, ecx
jle 0x41328f
mov eax, edx
add edx, ecx
mov dword [ebp + 0xc], edx
cmp edi, ebx
je 0x41328c
cmp eax, dword [ebp + 0xc]
je 0x41328c
mov dl, byte [eax]
mov byte [edi], dl
inc edi
inc eax
cmp edi, ebx
jne 0x41327d
add dword [ebp - 0x14], ecx
mov eax, dword [esi + 4]
xor edx, edx
mov dword [ebp - 0x48], edx
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x3c], eax
mov eax, ecx
and eax, 0xff000000
cmp eax, 0x8000000
ja 0x4133d3
je 0x4133b3
cmp eax, 0x1000000
je 0x413341
cmp eax, 0x2000000
je 0x4132f0
cmp eax, 0x4000000
jne 0x41344c
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x250]
push esi
mov dword [ebp - 0x24], edx
call fcn.0040dcf0
add esp, 8
mov dword [ebp - 0x34], eax
jmp 0x41344c
lea eax, [ebp - 0x450]
mov dword [ebp - 0x24], eax
mov dword [esi + 0xc], edx
test cl, 4
je 0x413328
mov ecx, dword [esi + 0x2c]
movzx eax, word [ecx + 8]
push eax
lea edx, [ebp - 0x450]
push edx
call dword [0x43c0f0]
add esp, 8
cmp eax, 0xffffffff
jne 0x413339
xor eax, eax
mov dword [ebp - 0x34], eax
jmp 0x41344c
mov eax, dword [esi + 0x2c]
mov cl, byte [eax + 8]
mov byte [ebp - 0x450], cl
mov eax, 1
mov dword [ebp - 0x34], eax
jmp 0x41344c
mov edx, dword [esi + 0x2c]
mov eax, dword [ebp + 8]
cmp dword [edx + 8], eax
jne 0x413391
cmp eax, edi
je 0x413391
test byte [0x44da7c], 1
jne 0x413377
or dword [0x44da7c], 1
push str.BTK_USE_STRICT_PRINTF
call fcn.00408a52
add esp, 4
test eax, eax
setne al
mov byte [0x44da78], al
push 0x718
push str.s:_advappsTK_2_basictk_rtlcore_srcwrappers_btkprintf.cxx
push str.btk_vsnprintf:_I_O_buffers_overlapping_is_not_allowed
call fcn.004184e0
add esp, 0xc
mov byte [edi], 0
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x450]
push esi
mov dword [ebp - 0x24], ecx
call fcn.0040ab70
add esp, 0xc
mov dword [ebp - 0x34], eax
jmp 0x41344c
push 0x43bc54
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x450]
push esi
mov dword [ebp - 0x24], ecx
call fcn.00411d10
add esp, 0xc
mov dword [ebp - 0x34], eax
jmp 0x41344c
cmp eax, 0x10000000
je 0x41343e
cmp eax, 0x20000000
je 0x4132d2
cmp eax, 0x40000000
jne 0x41344c
mov eax, dword [esi + 0x2c]
mov esi, dword [eax + 8]
test cl, 1
je 0x413401
mov cl, byte [ebp - 0x14]
mov byte [esi], cl
jmp 0x4135ca
test cl, 2
je 0x413412
mov dx, word [ebp - 0x14]
mov word [esi], dx
jmp 0x4135ca
test cl, 4
je 0x413421
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
jmp 0x4135ca
test cl, 8
je 0x413434
mov eax, dword [ebp - 0x14]
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x4135ca
mov ecx, dword [ebp - 0x14]
mov dword [esi], ecx
jmp 0x4135ca
mov dword [ebp - 0x24], 0x436d50
mov dword [ebp - 0x34], 1
mov ecx, dword [esi + 0x18]
mov edx, dword [ebp - 0x34]
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 0x20]
cmp ecx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x50], ecx
jle 0x41346a
mov dword [ebp - 8], ecx
jmp 0x41346f
mov ecx, edx
mov dword [ebp - 8], edx
cmp dword [esi + 0xc], 0
je 0x413478
inc ecx
jmp 0x413482
test eax, 0x800
je 0x413485
add ecx, 2
mov dword [ebp - 8], ecx
mov edx, eax
and edx, 0x600
mov dword [ebp - 0x40], edx
jne 0x4134b7
mov eax, dword [ebp - 0x1c]
sub eax, ecx
mov edx, 0
sets dl
dec edx
and eax, edx
add eax, edi
cmp edi, ebx
je 0x4134b4
cmp edi, eax
je 0x4134b4
mov byte [edi], 0x20
inc edi
cmp edi, ebx
jne 0x4134a8
mov eax, dword [ebp - 0x18]
cmp dword [esi + 0xc], 0
je 0x4134dd
mov al, byte [esi + 0xc]
mov byte [ebp + 0xf], al
lea eax, [ebp + 0xf]
cmp edi, ebx
je 0x413506
lea edx, [ebp + 0x10]
cmp eax, edx
je 0x413506
mov dl, byte [eax]
mov byte [edi], dl
inc edi
inc eax
cmp edi, ebx
jne 0x4134ca
jmp 0x413506
test eax, 0x800
je 0x413506
mov al, byte [esi + 8]
mov byte [ebp + 0x11], al
mov byte [ebp + 0x10], 0x30
lea eax, [ebp + 0x10]
cmp edi, ebx
je 0x413506
lea edx, [ebp + 0x12]
cmp eax, edx
je 0x413506
mov dl, byte [eax]
mov byte [edi], dl
inc edi
inc eax
cmp edi, ebx
jne 0x4134f5
cmp dword [ebp - 0x40], 0x400
jne 0x413531
mov eax, dword [ebp - 0x1c]
sub eax, ecx
mov ecx, 0
sets cl
dec ecx
and eax, ecx
add eax, edi
cmp edi, ebx
je 0x413531
cmp edi, eax
je 0x413531
mov byte [edi], 0x30
inc edi
cmp edi, ebx
jne 0x413525
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x34]
sub eax, ecx
mov edx, 0
sets dl
dec edx
and eax, edx
add eax, edi
cmp edi, ebx
je 0x41355c
lea ebx, [ebx]
cmp edi, eax
je 0x41355c
mov byte [edi], 0x30
inc edi
cmp edi, ebx
jne 0x413550
mov esi, dword [ebp - 0x24]
xor edx, edx
test ecx, ecx
setl dl
mov eax, esi
dec edx
and edx, ecx
add esi, edx
cmp edi, ebx
je 0x41357f
cmp eax, esi
je 0x41357f
mov cl, byte [eax]
mov byte [edi], cl
inc edi
inc eax
cmp edi, ebx
jne 0x413571
test dword [ebp - 0x18], 0x200
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 8]
je 0x4135af
mov eax, ecx
sub eax, esi
mov edx, 0
sets dl
dec edx
and eax, edx
add eax, edi
cmp edi, ebx
je 0x4135af
cmp edi, eax
je 0x4135af
mov byte [edi], 0x20
inc edi
cmp edi, ebx
jne 0x4135a3
cmp ecx, esi
mov eax, ecx
jg 0x4135b7
mov eax, esi
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4135ca
push eax
call fcn.004175f0
add esp, 4
mov eax, dword [ebp - 0x38]
inc eax
cmp eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
jl 0x4131e3
mov dword [ebp - 0x18], edi
cmp eax, dword [ebp - 0x30]
jne 0x4135ea
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
cmp byte [eax], 0
mov ecx, dword [ebp - 0x18]
jne 0x4126f0
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x3c]
sub esi, eax
test esi, esi
jle 0x413633
mov edx, dword [ebp - 0x4c]
lea edi, [esi + eax]
cmp ecx, edx
je 0x41361e
nop
cmp eax, edi
je 0x41361e
mov bl, byte [eax]
mov byte [ecx], bl
inc ecx
inc eax
cmp ecx, edx
jne 0x413610
mov eax, dword [ebp - 0x14]
add eax, esi
mov byte [ecx], 0
lea esp, [ebp - 0xadc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov byte [ecx], 0
lea esp, [ebp - 0xadc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret