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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x60
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
mov ebp, dword [esp + 0x80]
mov ebx, dword [esp + 0x7c]
mov ecx, esi
mov edx, edi
push 0x100
call 0x411f94
pop ecx
test eax, eax
jne 0x411e19
xor ecx, ecx
cmp eax, edi
mov dword [esp], esi
mov dword [esp + 4], eax
mov eax, str._..._begin___end_______when_slicing___5oB
mov edx, 0x426e4c
setb cl
cmovb edx, eax
cmp ebx, edi
lea eax, [ecx + ecx*4]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
ja 0x411dc8
cmp ebp, edi
jbe 0x411e40
mov ebx, ebp
lea ecx, [esp + 0x40]
lea eax, [esp + 0x18]
lea edx, [esp + 8]
mov dword [eax], ecx
mov dword [ecx], ebx
mov ecx, esp
mov dword [eax + 4], fcn.0040fef4
mov dword [eax + 8], ecx
mov ecx, fcn.00411039
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
lea ecx, [esp + 0x48]
mov dword [ecx], str.byte_index__is_not_a_char_boundary__it_is_inside___bytes___of__
push 3
pop edx
mov dword [ecx + 4], edx
and dword [ecx + 0x10], 0
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
push dword [esp + 0x84]
push ecx
call fcn.00421654
cmp eax, edi
jae 0x411e29
cmp byte [esi + eax], 0xbf
jg 0x411d98
jmp 0x411e2f
je 0x411d98
push dword [esp + 0x84]
push eax
push 0
push edi
push esi
call fcn.0042163b
cmp ebx, ebp
jbe 0x411e8b
lea ecx, [esp + 0x7c]
lea eax, [esp + 0x18]
lea edx, [esp + 0x80]
mov dword [eax], ecx
mov ecx, fcn.0040fef4
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, esp
lea edx, [esp + 8]
mov dword [eax + 0x10], ecx
mov ecx, fcn.00411039
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ecx
lea ecx, [esp + 0x48]
mov dword [ecx], 0x426f58
push 4
jmp 0x411dfe
test ebx, ebx
je 0x411e99
cmp ebx, edi
jae 0x411e99
cmp byte [esi + ebx], 0xc0
jl 0x411e9b
mov ebx, ebp
mov dword [esp + 0x10], ebx
mov ecx, esi
mov edx, edi
push ebx
call 0x411f94
pop ecx
mov ebx, eax
test eax, eax
jne 0x411ed8
lea eax, [esi + ebx]
add edi, esi
lea esi, [esp + 0x18]
mov ecx, esi
mov dword [esi], eax
mov dword [esi + 4], edi
call fcn.0040b17d
cmp eax, 0x110000
jne 0x411ee4
push dword [esp + 0x84]
call fcn.004215b8
cmp ebx, edi
jae 0x411ef4
cmp byte [esi + ebx], 0xbf
jg 0x411eb0
jmp 0x411ef6
cmp eax, 0x80
mov dword [esp + 0x14], eax
jae 0x411f04
xor eax, eax
inc eax
jmp 0x411f1b
je 0x411eb0
push dword [esp + 0x84]
push edi
push ebx
jmp 0x411e39
cmp eax, 0x800
jae 0x411f10
push 2
pop eax
jmp 0x411f1b
cmp eax, 0x10000
push 4
pop eax
sbb eax, 0
lea ecx, [esp + 0x40]
add eax, ebx
mov dword [ecx], ebx
mov dword [ecx + 4], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], fcn.0040fef4
mov dword [esp + 0x20], eax
mov eax, esp
mov dword [esp + 0x24], 0x410d7e
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], 0x412094
lea ecx, [esp + 8]
mov dword [esp + 0x30], eax
mov eax, fcn.00411039
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x48]
mov dword [eax], str.byte_index__is_not_a_char_boundary__it_is_inside___bytes___of__
push 5
pop ecx
mov dword [eax + 4], ecx
and dword [eax + 0x10], 0
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
push dword [esp + 0x84]
push eax
call fcn.00421654
push edi
push esi
mov esi, dword [esp + 0xc]
cmp edx, esi
jbe 0x411fc6
mov eax, esi
xor edx, edx
sub eax, 3
cmovb eax, edx
lea edx, [esi + 1]
cmp eax, edx
ja 0x411fcb
add edx, ecx
add esi, ecx
sub edx, ecx
sub edx, eax
test edx, edx
je 0x411fc4
dec edx
cmp byte [esi], 0xc0
lea esi, [esi - 1]
jl 0x411fb7
add edx, eax
mov eax, edx
pop esi
pop edi
ret
push 0x42708c
push edx
push eax
call fcn.00421525