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

Disassembly:
push ebp
xor eax, eax
push edi
mov ecx, 0xe
push esi
push ebx
sub esp, 0x5c
lea edi, [esp + 0x18]
mov edx, dword [esp + 0x74]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x78]
mov ebp, dword [esp + 0x88]
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x7c]
mov eax, dword [eax]
lea ecx, [edx + ebp*2]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edx
lea edi, [edx + eax*2]
xor eax, eax
cmp ebp, 0xffffffff
mov ebp, dword [esp + 0x80]
cmovne eax, ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp]
mov ebp, dword [ebx + 0x14]
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], esi
add ecx, esi
test ebp, ebp
mov dword [esp + 0x34], ecx
je 0x4272ca
cmp dword [ebx + 0x24], 0
je 0x4272ca
cmp dword [esp + 0x84], 0
je 0x4272bf
cmp dword [ebx + 0x3c], 0
je 0x4272ca
sub ecx, esi
cmp dword [ebx + 0x30], ecx
je 0x427386
mov eax, dword [ebx + 4]
lea edi, [esp + 0x18]
mov dword [esp], edi
call dword [eax]
test eax, eax
je 0x427447
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov esi, eax
cmp eax, edx
jae 0x4274cb
mov ebx, dword [esp + 0x38]
sub ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x42730b
mov ecx, esi
sub ecx, dword [esp + 0x1c]
sar ecx, 1
mov dword [edi + ecx*4], ebx
mov edi, 1
test edi, edi
jne 0x42733e
add eax, 2
cmp eax, edx
mov dword [esp + 0x24], eax
je 0x427600
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x427310
mov ecx, eax
sub ecx, dword [esp + 0x1c]
sar ecx, 1
test edi, edi
mov dword [ebx + ecx*4], 0xffffffff
je 0x427314
movzx eax, word [eax]
mov dword [esp + 4], eax
lea eax, [esp + 0x18]
mov dword [esp], eax
call sym.brltty.exe_getCharacterEntry
test eax, eax
je 0x42735f
test byte [eax + 8], 1
jne 0x4275e0
mov edx, dword [esp + 0x28]
test edx, edx
je 0x427611
cmp esi, edx
ja 0x427611
mov eax, dword [esp + 0x24]
cmp edx, eax
jb 0x427711
mov esi, eax
jmp 0x427615
test eax, eax
mov ecx, dword [ebx + 0x40]
je 0x427720
sub eax, edx
sar eax, 1
cmp ecx, eax
jne 0x4272ca
movzx eax, byte [0x4c1326]
cmp byte [ebx + 0x44], al
jne 0x4272ca
movzx eax, byte [0x4c133d]
cmp byte [ebx + 0x45], al
jne 0x4272ca
sub edi, edx
sar edi, 1
cmp edi, dword [ebx + 0x1c]
jne 0x4272ca
mov dword [esp + 8], edi
mov dword [esp + 4], ebp
mov dword [esp], edx
call fcn.0046efd0
test eax, eax
jne 0x4272ca
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax + 0x20]
lea edx, [edx + ecx*2]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], edx
test ecx, ecx
je 0x42741d
mov edi, dword [eax + 0x3c]
mov eax, dword [eax + 0x34]
mov dword [esp], ecx
lea edx, [edi*4]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + 0x24]
mov dword [esp + 8], ecx
lea ebx, [edx + ecx]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 0x38], ebx
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x1c]
jmp 0x4275b7
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x24], esi
cmp esi, edx
mov dword [esp + 0x38], ebx
jae 0x4274cf
cmp ebx, dword [esp + 0x34]
jae 0x42777b
mov eax, ebx
jmp 0x427482
mov ebx, dword [esp + 0x38]
cmp ebx, dword [esp + 0x34]
jae 0x427708
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ecx, ebx
sub ecx, eax
test edx, edx
je 0x427499
mov eax, esi
sub eax, dword [esp + 0x1c]
sar eax, 1
mov dword [edx + eax*4], ecx
lea eax, [ebx + 1]
mov dword [esp + 0x38], eax
lea eax, [esi + 2]
mov dword [esp + 0x24], eax
movzx eax, word [esi]
mov dword [esp + 4], eax
mov eax, dword [sym.brltty.exe_textTable]
mov dword [esp], eax
call sym.brltty.exe_convertCharacterToDots
mov byte [ebx], al
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, esi
cmp esi, edx
jb 0x427470
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
sub edx, esi
mov ebx, edx
sar ebx, 1
cmp ebx, dword [ebp + 0x18]
ja 0x427680
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0046ef20
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
sub eax, dword [esp + 0x1c]
sar eax, 1
mov dword [edx + 0x1c], ebx
mov ebx, edx
mov dword [edx + 0x20], eax
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x38]
sub esi, ebp
cmp esi, dword [ebx + 0x28]
ja 0x427640
mov eax, dword [ebx + 0x24]
mov dword [esp + 8], esi
mov dword [esp + 4], ebp
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x30], eax
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x427730
mov esi, dword [esp + 0x20]
sub esi, dword [esp + 0x1c]
sar esi, 1
cmp esi, dword [ebx + 0x38]
ja 0x4276c2
mov eax, dword [ebx + 0x34]
lea edx, [esi*4]
mov dword [esp + 8], edx
mov dword [esp + 4], ebp
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov ebx, dword [esp + 0x18]
mov dword [ebx + 0x3c], esi
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
mov eax, ecx
sub eax, esi
mov edx, esi
sar eax, 1
test ecx, ecx
mov ecx, 0xffffffff
cmove edx, esi
cmove eax, ecx
mov dword [ebx + 0x40], eax
movzx eax, byte [0x4c1326]
mov byte [ebx + 0x44], al
movzx eax, byte [0x4c133d]
mov byte [ebx + 0x45], al
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x78]
sub eax, edx
sar eax, 1
mov dword [edi], eax
mov edi, dword [esp + 0x80]
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
mov dword [edi], eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x24]
mov edi, 1
mov edx, dword [esp + 0x20]
add eax, 2
cmp eax, edx
mov dword [esp + 0x24], eax
jne 0x427323
lea esi, [esi]
test edi, edi
jne 0x4274cb
mov dword [esp + 0x24], esi
jmp 0x4274cb
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
test ecx, ecx
je 0x427630
mov edx, esi
sub edx, dword [esp + 0x1c]
sar edx, 1
mov dword [ecx + edx*4], eax
mov eax, esi
xor edi, edi
mov edx, dword [esp + 0x20]
jmp 0x427314
mov edi, esi
or edi, 0x7f
mov dword [esp], edi
call sub.msvcrt.dll_malloc
test eax, eax
je 0x427751
mov edx, dword [ebx + 0x24]
test edx, edx
je 0x427674
mov dword [esp], edx
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_free
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0xc]
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], edi
jmp 0x427521
mov edi, ebx
or edi, 0x7f
lea eax, [edi + edi]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
je 0x42773c
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x4276b7
mov dword [esp], edx
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_free
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], edi
jmp 0x4274e5
mov edi, esi
or edi, 0x7f
lea eax, [edi*4]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
je 0x427766
mov edx, dword [ebx + 0x34]
test edx, edx
je 0x4276fd
mov dword [esp], edx
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_free
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0xc]
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], edi
jmp 0x427565
sub ebx, dword [esp + 0x30]
jmp 0x4272f8
xor edi, edi
mov edx, dword [esp + 0x20]
jmp 0x427314
mov eax, 0xffffffff
jmp 0x427395
mov dword [ebx + 0x3c], 0
jmp 0x427583
call sym.brltty.exe_logMallocError
mov ebx, dword [esp + 0x18]
mov dword [ebx + 0x1c], 0
jmp 0x42750b
call sym.brltty.exe_logMallocError
mov ebx, dword [esp + 0x18]
mov dword [ebx + 0x2c], 0
jmp 0x427543
call sym.brltty.exe_logMallocError
mov ebx, dword [esp + 0x18]
mov dword [ebx + 0x3c], 0
jmp 0x427583
xor ebx, ebx
mov eax, esi
jmp 0x4272f8