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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x60
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x80]
mov edi, dword [esp + 0x7c]
mov edx, dword [esp + 0x74]
cmp esi, 0x101
jae 0x42cbe7
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], str.from_str_radix_int:_must_lie_in_the_range___2__36_____found__
xor ebx, ebx
mov eax, dword [esp + 0x84]
cmp edi, esi
mov dword [esp + 0xc], ebx
jbe 0x42cc32
jmp 0x42cca9
mov eax, 0x100
nop dword [eax]
cmp byte [edx + eax], 0xc0
jge 0x42cbfd
dec eax
jne 0x42cbf0
xor ebx, ebx
jmp 0x42cc0f
cmp eax, esi
jae 0x42cc05
mov ebx, eax
jmp 0x42cc0f
cmp esi, eax
mov ebx, esi
jne 0x42cd4e
mov dword [esp], edx
mov dword [esp + 4], ebx
mov ebx, 5
mov dword [esp + 8], str._..._byte_index__is_out_of_bounds_of__
mov eax, dword [esp + 0x84]
cmp edi, esi
mov dword [esp + 0xc], ebx
ja 0x42cca9
cmp ecx, esi
ja 0x42cca9
cmp edi, ecx
jbe 0x42cd18
lea ecx, [esp + 0x7c]
lea esi, [esp + 0x80]
mov edx, esp
mov dword [esp + 0x18], 0x430314
mov dword [esp + 0x1c], 4
mov dword [esp + 0x20], 0
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], fcn.0041d510
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], fcn.0041d510
mov dword [esp + 0x40], edx
lea edx, [esp + 0x30]
lea esi, [esp + 8]
mov dword [esp + 0x44], 0x41dac0
mov dword [esp + 0x48], esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x4c], 0x41dac0
mov dword [esp + 0x2c], 4
jmp 0x42cd08
cmp edi, esi
lea esi, [esp + 0x58]
mov edx, esp
mov dword [esp + 0x18], 0x4302d8
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], 0
mov dword [esp + 0x30], esi
cmova ecx, edi
mov dword [esp + 0x34], fcn.0041d510
mov dword [esp + 0x38], edx
lea edx, [esp + 0x30]
lea esi, [esp + 8]
mov dword [esp + 0x3c], 0x41dac0
mov dword [esp + 0x40], esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x44], 0x41dac0
mov dword [esp + 0x2c], 3
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.0042c9b0
add esp, 8
ud2
test edi, edi
jne 0x42cd42
test ecx, ecx
mov dword [esp + 0x10], ecx
jne 0x42cd79
xor ecx, ecx
cmp ecx, esi
je 0x42cd81
mov bl, byte [edx + ecx]
movzx esi, bl
test bl, bl
js 0x42cd93
mov dword [esp + 0x14], esi
mov esi, 1
jmp 0x42ce10
cmp edi, esi
jae 0x42cd62
cmp byte [edx + edi], 0xbf
jg 0x42cd1c
jmp 0x42cd66
push 0x430220
push eax
push 0
push esi
push edx
call fcn.0042cba0
add esp, 0x14
ud2
cmp esi, edi
je 0x42cd1c
mov ecx, edi
mov dword [esp + 0x10], edi
jmp 0x42cd79
cmp byte [edx + ecx], 0xbf
jg 0x42cd26
dec ecx
je 0x42cd24
cmp ecx, esi
jb 0x42cd70
cmp esi, ecx
jne 0x42cd76
push eax
push 0x2b
push 0x42fcca
call fcn.0042c900
add esp, 0xc
ud2
movzx ebp, byte [edx + ecx + 1]
and esi, 0x1f
and ebp, 0x3f
cmp bl, 0xdf
jbe 0x42cdd4
movzx edi, byte [edx + ecx + 2]
shl ebp, 6
and edi, 0x3f
or edi, ebp
cmp bl, 0xf0
jb 0x42cddd
movzx edx, byte [edx + ecx + 3]
and esi, 7
shl edi, 6
shl esi, 0x12
and edx, 0x3f
or edx, edi
or edx, esi
cmp edx, 0x110000
je 0x42cd81
jmp 0x42cde4
shl esi, 6
or esi, ebp
mov edx, esi
jmp 0x42cde4
shl esi, 0xc
or edi, esi
mov edx, edi
mov esi, 1
cmp edx, 0x80
mov dword [esp + 0x14], edx
jb 0x42ce10
mov esi, 2
cmp edx, 0x800
jb 0x42ce10
cmp edx, 0x10000
mov esi, 4
sbb esi, 0
add esi, ecx
mov dword [esp + 0x58], ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x18], 0x430368
mov dword [esp + 0x1c], 5
mov dword [esp + 0x20], 0
mov dword [esp + 0x5c], esi
lea esi, [esp + 0x10]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], fcn.0041d510
mov dword [esp + 0x38], edx
lea esi, [esp + 0x58]
mov edx, esp
mov dword [esp + 0x3c], 0x41bb40
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], 0x419d40
mov dword [esp + 0x48], edx
lea edx, [esp + 0x30]
lea esi, [esp + 8]
mov dword [esp + 0x4c], 0x41dac0
mov dword [esp + 0x50], esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x54], 0x41dac0
mov dword [esp + 0x2c], 5
jmp 0x42cd08