Function at 0x51bd30
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x46c
mov eax, dword [0x5b00cc]
xor eax, esp
mov dword [esp + 0x468], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push edi
push ecx
push edx
lea ecx, [esp + 0x3c]
lea ebx, [esp + 0x4c]
mov dword [esp + 0x60], esi
mov dword [esp + 0x18], eax
call fcn.0051b990
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x34]
mov edx, eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], edx
jg 0x51c3b6
mov ecx, eax
shl ecx, 4
add eax, 1
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], eax
jmp 0x51bdac
mov esi, dword [esp + 0x58]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
cmp edx, dword [esi + 0xc]
je 0x51c27f
cmp edx, dword [esi + 0xc]
lea eax, [esi + 4]
mov dword [esp + 0x38], eax
jb 0x51bdc8
mov edx, dword [esp + 0x14]
mov dword [eax + 8], edx
mov eax, dword [eax + 4]
mov ebx, dword [eax + ecx]
mov edi, dword [eax + ecx + 4]
mov edx, dword [eax + ecx + 0xc]
add eax, ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
call fcn.004ab2e0
mov esi, eax
call fcn.00479330
mov esi, eax
push 0
push 0xffffffffffffffff
mov edx, esi
mov ecx, ebx
mov dword [esp + 0x44], esi
call fcn.0051bb70
mov eax, dword [ebp + 0x14]
cmp eax, 5
ja case.default.0x51be16
jmp dword [eax*4 + 0x51c428]
mov ecx, dword [esp + 0x10]
movzx edx, byte [ecx]
xor eax, eax
cmp byte [ebx + 0x18], al
setne al
cmp eax, edx
jmp 0x51be7a
mov ecx, dword [esp + 0x10]
movzx edx, byte [ecx]
xor eax, eax
cmp byte [ebx + 0x19], al
setne al
cmp eax, edx
jmp 0x51be7a
mov ecx, dword [esp + 0x10]
movzx edx, byte [ecx]
xor eax, eax
cmp byte [ebx + 0x1a], al
setne al
cmp eax, edx
jmp 0x51be7a
mov eax, dword [ebx + 0x24]
mov ecx, dword [esp + 0x10]
cmp eax, dword [ecx]
jmp 0x51be7a
mov edx, dword [ebx + 0x1c]
mov eax, dword [esp + 0x10]
cmp edx, dword [eax]
jmp 0x51be7a
mov ecx, dword [esp + 0x10]
lea eax, [ebx + 0x20]
call fcn.004acb80
test eax, eax
sete al
test al, al
je 0x51becb
mov ecx, dword [ebp + 8]
cmp ecx, edi
jg 0x51be92
mov ecx, dword [esp + 0x2c]
add dword [esp + 0x18], ecx
jmp 0x51be9e
mov eax, dword [esp + 0x2c]
sub eax, ecx
add eax, edi
add dword [esp + 0x18], eax
test esi, esi
je 0x51c249
mov eax, dword [esi + 0xc]
test eax, eax
jle 0x51c249
add eax, 0xffffffff
mov dword [esi + 0xc], eax
jne 0x51c249
push esi
call fcn.004ff480
add esp, 4
jmp 0x51c249
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x2c]
add edx, eax
add ecx, edi
cmp eax, edi
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ecx
jg 0x51bf8a
cmp edx, ecx
jl case.default.0x51bef4
mov edx, dword [ebp + 0x14]
jmp dword [edx*4 + 0x51c440]
mov eax, dword [esp + 0x10]
mov cl, byte [eax]
mov byte [ebx + 0x18], cl
jmp 0x51bf4a
mov edx, dword [esp + 0x10]
mov al, byte [edx]
mov byte [ebx + 0x19], al
jmp 0x51bf4a
mov ecx, dword [esp + 0x10]
mov dl, byte [ecx]
mov byte [ebx + 0x1a], dl
jmp 0x51bf4a
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [ebx + 0x24], ecx
jmp 0x51bf4a
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
mov dword [ebx + 0x1c], eax
jmp 0x51bf4a
lea edi, [ebx + 0x20]
mov ebx, dword [esp + 0x10]
call fcn.004abdf0
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
add dword [esp + 0x18], ecx
cmp edx, dword [eax + 8]
jb 0x51bf66
mov edx, dword [esp + 0x14]
mov dword [eax + 8], edx
mov eax, dword [eax + 4]
add eax, dword [esp + 0x20]
push esi
mov dword [eax], ebx
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
call fcn.004ff540
add esp, 4
jmp 0x51c249
cmp eax, ecx
jg 0x51c0d8
call fcn.004ab2e0
mov esi, eax
call fcn.00479330
test eax, eax
mov dword [esp + 0x5c], eax
jne 0x51bfc6
push 0x214
push str.........CommonStyledTextBaseImp.cpp
xor esi, esi
mov edx, str.leftSrd
lea ecx, [eax + 4]
call fcn.004f1fc0
mov eax, dword [esp + 0x64]
add esp, 8
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x3c]
sub esi, edi
push 0xffffffffffffffff
push esi
mov edx, eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], esi
call fcn.0051bb70
sub dword [esp + 0x2c], esi
mov eax, dword [ebx + 0x28]
mov edx, dword [ebp + 8]
add esi, 1
push esi
push eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], 0
call fcn.00405700
mov esi, dword [ebx + 0x28]
add esp, 8
test esi, esi
mov edi, eax
je 0x51c01e
call fcn.004ab850
mov ecx, dword [ebp + 0x14]
mov dword [ebx + 0x28], edi
jmp dword [ecx*4 + 0x51c458]
mov edx, dword [esp + 0x10]
mov al, byte [edx]
mov byte [ebx + 0x18], al
jmp 0x51c072
mov ecx, dword [esp + 0x10]
mov dl, byte [ecx]
mov byte [ebx + 0x19], dl
jmp 0x51c072
mov eax, dword [esp + 0x10]
mov cl, byte [eax]
mov byte [ebx + 0x1a], cl
jmp 0x51c072
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
mov dword [ebx + 0x24], eax
jmp 0x51c072
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov dword [ebx + 0x1c], edx
jmp 0x51c072
lea edi, [ebx + 0x20]
mov ebx, dword [esp + 0x10]
call fcn.004abdf0
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x60]
push eax
mov eax, edi
call fcn.0051ccd0
add dword [esp + 0x20], 0x10
mov eax, 1
add dword [esp + 0x14], eax
add dword [esp + 0x34], eax
add edi, eax
cmp edi, dword [esi + 8]
mov dword [esp + 0x1c], edi
jb 0x51c0aa
mov ecx, dword [esp + 0x14]
mov dword [esi + 8], ecx
mov eax, dword [esi + 4]
add eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
mov dword [eax], ebx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x44]
cmp edx, ecx
jge 0x51c225
call fcn.004ab2e0
mov esi, eax
call fcn.00479330
test eax, eax
mov dword [esp + 0x40], eax
jne 0x51c114
push 0x258
push str.........CommonStyledTextBaseImp.cpp
xor esi, esi
mov edx, str.rightSrd
lea ecx, [eax + 4]
call fcn.004f1fc0
mov eax, dword [esp + 0x48]
add esp, 8
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
sub ecx, esi
add ecx, edi
push 1
mov dword [esp + 0x54], ecx
push ecx
mov ecx, dword [esp + 0x44]
mov edx, eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], esi
call fcn.0051bb70
mov eax, dword [ebx + 0x28]
sub esi, edi
push esi
push eax
mov dword [esp + 0x34], esi
call fcn.004053f0
mov esi, dword [ebx + 0x28]
add esp, 8
test esi, esi
mov dword [esp + 0x40], eax
je 0x51c165
call fcn.004ab850
mov ecx, dword [esp + 0x40]
mov edx, dword [ebp + 0x14]
mov dword [ebx + 0x28], ecx
mov dword [esp + 0x30], 0
jmp dword [edx*4 + 0x51c470]
mov eax, dword [esp + 0x10]
mov cl, byte [eax]
mov byte [ebx + 0x18], cl
jmp 0x51c1c9
mov edx, dword [esp + 0x10]
mov al, byte [edx]
mov byte [ebx + 0x19], al
jmp 0x51c1c9
mov ecx, dword [esp + 0x10]
mov dl, byte [ecx]
mov byte [ebx + 0x1a], dl
jmp 0x51c1c9
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [ebx + 0x24], ecx
jmp 0x51c1c9
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
mov dword [ebx + 0x1c], eax
jmp 0x51c1c9
lea edi, [ebx + 0x20]
mov ebx, dword [esp + 0x10]
call fcn.004abdf0
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x48]
push ecx
call fcn.0051ccd0
mov ecx, dword [esp + 0x1c]
mov edx, 1
add dword [esp + 0x34], edx
mov eax, esi
cmp ecx, dword [eax + 8]
jb 0x51c1f6
mov ecx, dword [esp + 0x14]
mov dword [eax + 8], ecx
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
add dword [esp + 0x1c], edx
add dword [esp + 0x14], edx
add eax, ecx
mov dword [eax], ebx
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov esi, dword [esp + 0x30]
add ecx, 0x10
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x20], ecx
test esi, esi
je 0x51c241
mov eax, dword [esi + 0xc]
test eax, eax
jle 0x51c241
add eax, 0xffffffff
mov dword [esi + 0xc], eax
jne 0x51c241
push esi
call fcn.004ff480
add esp, 4
mov edx, dword [esp + 0x2c]
add dword [esp + 0x18], edx
mov eax, dword [esp + 0x1c]
add dword [esp + 0x14], 1
add dword [esp + 0x20], 0x10
add eax, 1
cmp eax, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
jle 0x51bda0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x468]
xor ecx, esp
call fcn.00566120
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
cmp dword [esp + 0x18], eax
je 0x51c3b6
lea edi, [esi + 4]
lea esi, [esp + 0x48]
mov dword [esp + 0x38], edi
call fcn.0051cdd0
xor edi, edi
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.004ab2e0
mov esi, eax
call fcn.00479330
mov ecx, dword [ebp + 0x14]
cmp ecx, 5
mov dword [esp + 0x24], eax
ja case.default.0x51c2ca
jmp dword [ecx*4 + 0x51c488]
mov ecx, dword [esp + 0x10]
mov dl, byte [ecx]
mov byte [eax + 0x18], dl
jmp 0x51c314
mov ecx, dword [esp + 0x10]
mov dl, byte [ecx]
mov byte [eax + 0x19], dl
jmp 0x51c314
mov ecx, dword [esp + 0x10]
mov dl, byte [ecx]
mov byte [eax + 0x1a], dl
jmp 0x51c314
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov dword [eax + 0x24], edx
jmp 0x51c314
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov dword [eax + 0x1c], edx
jmp 0x51c314
mov ebx, dword [esp + 0x10]
lea edi, [eax + 0x20]
call fcn.004abdf0
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x38]
add eax, ecx
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x18]
lea ebx, [esp + 0x24]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
call fcn.0051cd70
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x468]
xor ecx, esp
call fcn.00566120
mov esp, ebp
pop ebp
ret 0x10
push str.Trying_to_set_a_range_with_an_unknown_attribute.
push 0x57e0a8
push 0x196
push str.........CommonStyledTextBaseImp.cpp
mov eax, 4
call fcn.004f1f50
push eax
push 4
push str.Runtime_Error__d:__s_nPress_OK_to_Continue_nPress_Cancel_to_Quit._n_nPlease_report_what_caused_this_error_nalong_with_the_information_below._n_n_s:__d_nFailure_Condition:__s_n_s
lea eax, [esp + 0x8c]
push 0x400
push eax
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea ecx, [esp + 0x78]
push ecx
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x51c3b6
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [esp + 0x474]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00566120
mov esp, ebp
pop ebp
ret 0x10
push str.Trying_to_set_a_range_with_an_unknown_attribute.
push 0x57e0a8
push 0x1c1
push str.........CommonStyledTextBaseImp.cpp
push str.Failed_Assertion
push 4
push str.Runtime_Error__d:__s_nPress_OK_to_Continue_nPress_Cancel_to_Quit._n_nPlease_report_what_caused_this_error_nalong_with_the_information_below._n_n_s:__d_nFailure_Condition:__s_n_s
lea edx, [esp + 0x8c]
push 0x400
push edx
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea eax, [esp + 0x78]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x51c3b6
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]