Function at 0x102948d1
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov dword [eax], 0
cmp esi, 0xd7ff
ja 0x102948f5
mov eax, esi
shr eax, 5
jmp 0x10294944
cmp esi, 0xffff
ja 0x10294913
mov ecx, esi
shr ecx, 5
lea eax, [ecx + 0x140]
cmp esi, 0xdc00
cmovae eax, ecx
jmp 0x10294944
mov eax, 0xdd4
cmp esi, 0x10ffff
ja 0x10294954
mov eax, 0x3358
cmp esi, 0xe07ff
ja 0x10294954
mov eax, esi
shr eax, 0xb
movzx ecx, word [eax + eax + 0x103a4fa2]
mov eax, esi
shr eax, 5
and eax, 0x3f
add eax, ecx
movzx eax, word [eax + eax + 0x103a3f62]
mov ecx, esi
and ecx, 0x1f
lea eax, [ecx + eax*4]
movzx ecx, word [eax + eax + 0x103a3f62]
test cl, 8
jne 0x10294985
mov eax, esi
test cl, 2
je 0x10294970
movsx eax, cx
sar eax, 7
add eax, esi
xor ebx, ebx
cmp eax, esi
sete bl
neg ebx
xor ebx, eax
mov eax, ebx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x18], ecx
mov eax, ecx
shr eax, 4
lea edi, [eax*2 + 0x103a2f7a]
movzx edx, word [edi - 2]
bt edx, 0xe
jb 0x102949d6
test dl, dl
jns 0x10294db0
mov eax, edx
and eax, 0x7f
bt edx, 8
movzx eax, byte [eax + 0x103a2b18]
lea ecx, [edi + eax*2]
lea eax, [edi + eax*4 + 2]
cmovae eax, ecx
movzx ebx, word [eax]
and ebx, 0xf
je 0x10294db0
add eax, 2
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jmp 0x1029497b
mov eax, dword [ebp + 0x18]
cmp eax, 3
mov dword [ebp - 0x10], edx
jne 0x10294b36
cmp esi, 0x127
jg 0x10294a16
mov ecx, eax
lea eax, [esi - 0x49]
cmp eax, 2
mov eax, ecx
jb 0x10294a3a
cmp esi, 0xcc
je 0x10294d87
cmp esi, 0xcd
je 0x10294e47
jmp 0x10294db0
cmp esi, 0x12f
jg 0x10294d0e
cmp esi, 0x128
je 0x10294e52
cmp esi, 0x12e
jne 0x10294db0
cmp dword [ebp + 0xc], 0
je 0x10294b00
mov bl, 1
mov ecx, dword [ebp + 0xc]
call dword [section..00cfg]
movsx eax, bl
push eax
push dword [ebp + 0x10]
call ecx
add esp, 8
test eax, eax
setns cl
js 0x10294b04
cmp eax, 0xd7ff
ja 0x10294a74
mov edx, eax
shr edx, 5
jmp 0x10294abf
cmp eax, 0xffff
ja 0x10294a90
mov ebx, eax
shr ebx, 5
lea edx, [ebx + 0x140]
cmp eax, 0xdc00
cmovae edx, ebx
jmp 0x10294abf
mov edx, 0xdd4
cmp eax, 0x10ffff
ja 0x10294acd
mov edx, 0x3358
cmp eax, 0xe07ff
ja 0x10294acd
mov edx, eax
shr edx, 0xb
movzx ebx, word [edx + edx + 0x103a4fa2]
mov edx, eax
shr edx, 5
and edx, 0x3f
add edx, ebx
movzx edx, word [edx + edx + 0x103a3f62]
and eax, 0x1f
lea edx, [eax + edx*4]
movzx eax, word [edx + edx + 0x103a3f62]
test al, 8
je 0x10294ae7
shr eax, 4
movzx eax, word [eax + eax + 0x103a2f78]
shr eax, 7
and eax, 0x60
xor ebx, ebx
cmp eax, 0x60
je 0x10294a46
cmp eax, 0x40
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x18]
je 0x10294b0a
xor ecx, ecx
jmp 0x10294b0a
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x18]
cmp esi, 0xcc
je 0x10294d5f
test cl, cl
jne 0x10294d5f
cmp esi, 0xcd
je 0x10294e47
cmp esi, 0x128
je 0x10294e52
cmp esi, 0x130
jne 0x10294b4c
mov ebx, 0x69
cmp eax, 2
je 0x1029497b
cmp esi, 0x307
jne 0x10294c29
cmp dword [ebp + 0x18], 2
jne 0x10294c29
cmp dword [ebp + 0xc], 0
je 0x10294d95
mov bl, 0xff
mov ecx, dword [ebp + 0xc]
call dword [section..00cfg]
movsx eax, bl
push eax
push dword [ebp + 0x10]
call ecx
mov edx, dword [ebp - 0x10]
add esp, 8
test eax, eax
js 0x10294c29
cmp eax, 0x49
je 0x10294e65
cmp eax, 0xd7ff
ja 0x10294ba5
mov ecx, eax
shr ecx, 5
jmp 0x10294bc2
cmp eax, 0xffff
ja 0x10294bf8
mov edx, eax
shr edx, 5
lea ecx, [edx + 0x140]
cmp eax, 0xdc00
cmovae ecx, edx
mov edx, dword [ebp - 0x10]
movzx ecx, word [ecx + ecx + 0x103a3f62]
and eax, 0x1f
lea ecx, [eax + ecx*4]
movzx eax, word [ecx + ecx + 0x103a3f62]
test al, 8
je 0x10294bea
shr eax, 4
movzx eax, word [eax + eax + 0x103a2f78]
shr eax, 7
not eax
xor ebx, ebx
test al, 0x60
je 0x10294b6e
jmp 0x10294c29
mov ecx, 0xdd4
cmp eax, 0x10ffff
ja 0x10294bd0
mov ecx, 0x3358
cmp eax, 0xe07ff
ja 0x10294bd0
mov ecx, eax
shr ecx, 0xb
movzx edx, word [ecx + ecx + 0x103a4fa2]
mov ecx, eax
shr ecx, 5
and ecx, 0x3f
add ecx, edx
jmp 0x10294bbf
cmp esi, 0x49
jne 0x10294d0e
cmp dword [ebp + 0x18], 2
jne 0x10294d0e
mov ebx, 0x131
cmp dword [ebp + 0xc], 0
je 0x1029497b
mov cl, 1
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0xc]
call dword [section..00cfg]
movsx eax, byte [ebp - 0x14]
push eax
push dword [ebp + 0x10]
call ecx
add esp, 8
test eax, eax
js 0x1029497b
cmp eax, 0x307
mov edx, dword [ebp - 0x10]
je 0x10294d0e
cmp eax, 0xd7ff
ja 0x10294c8a
mov ecx, eax
shr ecx, 5
jmp 0x10294ca4
cmp eax, 0xffff
ja 0x10294cdd
mov edx, eax
shr edx, 5
lea ecx, [edx + 0x140]
cmp eax, 0xdc00
cmovae ecx, edx
movzx ecx, word [ecx + ecx + 0x103a3f62]
and eax, 0x1f
lea ecx, [eax + ecx*4]
movzx eax, word [ecx + ecx + 0x103a3f62]
test al, 8
je 0x10294ccc
shr eax, 4
movzx eax, word [eax + eax + 0x103a2f78]
shr eax, 7
not eax
xor ecx, ecx
test al, 0x60
je 0x10294c4d
jmp 0x1029497b
mov ecx, 0xdd4
cmp eax, 0x10ffff
ja 0x10294cb2
mov ecx, 0x3358
cmp eax, 0xe07ff
ja 0x10294cb2
mov ecx, eax
shr ecx, 0xb
movzx edx, word [ecx + ecx + 0x103a4fa2]
mov ecx, eax
shr ecx, 5
and ecx, 0x3f
add ecx, edx
jmp 0x10294ca4
cmp esi, 0x130
je 0x10294d9d
cmp esi, 0x3a3
jne 0x10294db0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push 1
call fcn.10294e7a
mov edx, dword [ebp - 0x10]
add esp, 4
test al, al
jne 0x10294db0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.10294e7a
mov edx, dword [ebp - 0x10]
add esp, 4
mov ebx, 0x3c2
test al, al
jne 0x1029497b
jmp 0x10294db0
xor ebx, ebx
cmp esi, 0xcc
jg 0x10294e1d
cmp esi, 0x49
je 0x10294d9d
cmp esi, 0x4a
je 0x10294e6c
cmp esi, 0xcc
jne 0x1029497b
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x103a2f26
jmp 0x10294e5b
cmp esi, 0x130
jne 0x10294db0
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x103a2c18
mov ebx, 2
jmp 0x1029497b
test dl, 0x10
je 0x10294dd3
and dword [ebp - 0x18], 2
je 0x10294dd3
mov eax, edx
and eax, 0xf
bt edx, 8
movzx eax, byte [eax + 0x103a2b18]
jb 0x10294dec
movzx eax, word [edi + eax*2]
jmp 0x10294dfa
mov eax, esi
test dl, 1
je 0x10294970
bt edx, 8
jb 0x10294e0c
movzx eax, word [edi]
jmp 0x10294970
movzx ecx, word [edi + eax*4]
shl ecx, 0x10
movzx eax, word [edi + eax*4 + 2]
or eax, ecx
mov ebx, eax
neg ebx
bt edx, 0xa
cmovae ebx, eax
add ebx, esi
jmp 0x1029497b
movzx ecx, word [edi]
shl ecx, 0x10
movzx eax, word [edi + 2]
or eax, ecx
jmp 0x10294970
cmp esi, 0xcd
je 0x10294e47
cmp esi, 0x128
je 0x10294e52
cmp esi, 0x12e
jne 0x1029497b
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x103a2f20
jmp 0x10294da6
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x103a2f2c
jmp 0x10294e5b
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x103a2f32
mov ebx, 3
jmp 0x1029497b
xor ebx, ebx
jmp 0x1029497b
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x103a2f1c
jmp 0x10294da6