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

Disassembly:
test dword [0x7eda90], 0xffffff80
jne 0x4dd414
test dword [0x7eda90], 0xffffffff
jne 0x4dd770
call fcn.006a6b5c
jmp fcn.004dd3ec
push edi
push esi
push ebp
push ebx
sub esp, 8
mov ebp, ecx
push str.Loading_Tally_9...
push 2
push 0
push dword [0x6ffbb4]
call fcn.005221cc
add esp, 0x10
push str.TallyDataMigrationTool
push 0
push str.::InMigration
mov ecx, dword [ebp + 0xaf]
call fcn.0052a1e4
test eax, eax
jne 0x4dd46b
push str.Failed_starting_Tally_9...
push 2
push 1
push dword [0x6ffbb4]
call fcn.005221cc
add esp, 0x18
pop ebx
pop ebp
pop esi
pop edi
ret
xor eax, eax
push 0x800
push eax
push eax
push 0x6a
mov ecx, dword [ebp + 0xaf]
call fcn.00529f24
test eax, eax
je 0x4dd58e
mov eax, dword [0x6e9160]
lea esi, [eax + eax]
mov edx, 1
cmp eax, 0
cmove esi, edx
mov ecx, 0x80
call fcn.004dbd48
mov ecx, eax
mov dword [esp + 4], ecx
test esi, esi
jbe 0x4dd5bc
xor ebx, ebx
mov dword [esp], esi
jmp 0x4dd4bf
mov ecx, dword [esp + 4]
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], eax
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], eax
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], eax
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x44], eax
mov dword [ecx + 0x48], eax
mov dword [ecx + 0x4c], eax
mov dword [ecx + 0x50], eax
mov dword [ecx + 0x54], eax
mov dword [ecx + 0x58], eax
mov dword [ecx + 0x5c], eax
mov dword [ecx + 0x60], eax
mov dword [ecx + 0x64], eax
mov dword [ecx + 0x68], eax
mov dword [ecx + 0x6c], eax
mov dword [ecx + 0x70], eax
mov dword [ecx + 0x74], eax
mov dword [ecx + 0x78], eax
mov dword [ecx + 0x7c], eax
lea eax, [esp + 4]
push 0x80
push eax
push 0
push 0x65
mov ecx, dword [ebp + 0xaf]
call fcn.00529f24
test eax, eax
je 0x4dd73a
mov ecx, dword [esp + 4]
mov edi, ecx
mov esi, str.LICENSE_OK
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x4dd56c
test dl, dl
je 0x4dd568
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4dd56c
add edi, 2
add esi, 2
test dl, dl
jne 0x4dd54c
xor eax, eax
jmp 0x4dd571
sbb eax, eax
or eax, 1
test eax, eax
je 0x4dd5bc
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
mov eax, dword [esp]
cmp ebx, eax
jb 0x4dd4bb
jmp 0x4dd5b8
push str.Failed_connecting_to_Tally_9...
push 2
push 1
push dword [0x6ffbb4]
call fcn.005221cc
add esp, 0x10
mov ecx, dword [ebp + 0xaf]
call fcn.0052a160
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret
mov ecx, dword [esp + 4]
mov edi, ecx
mov esi, str.LICENSE_OK
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x4dd5e3
test dl, dl
je 0x4dd5df
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4dd5e3
add edi, 2
add esi, 2
test dl, dl
jne 0x4dd5c3
xor eax, eax
jmp 0x4dd5e8
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4dd6ea
call fcn.004db418
push str.Loaded_Tally_9_driver.
push 2
push 0
push dword [0x6ffbb4]
call fcn.005221cc
push str.Binding_to_Tally_9...
push 2
push 0
push dword [0x6ffbb4]
call fcn.005221cc
add esp, 0x20
mov ecx, dword [ebp + 0xb3]
call fcn.004db418
mov ecx, 0x800
call fcn.004dbd48
mov dword [ebp + 0xb3], eax
lea eax, [ebp + 0xb3]
push 0x800
push eax
push 0
push 0x66
mov ecx, dword [ebp + 0xaf]
call fcn.00529f24
test eax, eax
jne 0x4dd67c
push str.Failed_binding_to_Tally_9_driver...
push 2
push 1
push dword [0x6ffbb4]
call fcn.005221cc
add esp, 0x10
mov ecx, dword [ebp + 0xaf]
call fcn.0052a160
push str.Ready_for_Migration_
push 2
push 0
push dword [0x6ffbb4]
call fcn.005221cc
push 0x6c3590
push dword [0x6ffbb4]
call fcn.0052226c
push 0x6c35cc
push dword [0x6ffbb4]
call fcn.0052226c
add esp, 0x20
mov dword [ebp + 0xb7], 1
mov ecx, dword [0x7e838c]
test ecx, ecx
je 0x4dd6d1
push 0x3ff
call fcn.004f7850
mov ecx, dword [0x6ffbb0]
test ecx, ecx
je 0x4dd6e2
push 1
call fcn.004e2224
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret
push str.You_need_a_valid_Tally_9_license_to_migrate...
push 2
push 1
push dword [0x6ffbb4]
call fcn.005221cc
add esp, 0x10
xor eax, eax
push eax
push eax
mov ecx, 1
mov edx, str.You_need_a_valid__nTally_9_license_n_to_migrate_
call fcn.0040a580
mov dword [0x6ff878], 1
mov ecx, dword [0x6ff94f]
call fcn.0052a160
mov ecx, dword [esp + 4]
call fcn.004db418
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret
push str.Failed_getting_license_information_from_Tally_9...
push 2
push 1
push dword [0x6ffbb4]
call fcn.005221cc
add esp, 0x10
mov ecx, dword [ebp + 0xaf]
call fcn.0052a160
mov ecx, dword [esp + 4]
call fcn.004db418
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret
push edi
push esi
push ebp
push ebx
sub esp, 8
mov ebp, ecx
push str.Loading_Tally_9...
push 2
push 0
push dword [0x6ffbb4]
call fcn.005221cc
add esp, 0x10
push str.TallyDataMigrationTool
push 0
push str.::InMigration
mov ecx, dword [ebp + 0xaf]
call fcn.0052a1e4
test eax, eax
jne 0x4dd7c7
push str.Failed_starting_Tally_9...
push 2
push 1
push dword [0x6ffbb4]
call fcn.005221cc
add esp, 0x18
pop ebx
pop ebp
pop esi
pop edi
ret
xor eax, eax
push 0x800
push eax
push eax
push 0x6a
mov ecx, dword [ebp + 0xaf]
call fcn.00529f24
test eax, eax
je 0x4dd8fe
mov eax, dword [0x6e9160]
test eax, eax
je 0x4dd807
imul ecx, eax, 0x3e8
mov eax, 0x10624dd3
imul ecx
mov esi, edx
sar esi, 5
sar ecx, 0x1f
sub esi, ecx
jmp 0x4dd80c
mov esi, 1
mov ecx, 0x80
call fcn.004dbd48
mov ecx, eax
mov dword [esp + 4], ecx
test esi, esi
jbe 0x4dd92c
xor ebx, ebx
mov dword [esp], esi
jmp 0x4dd82f
mov ecx, dword [esp + 4]
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], eax
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], eax
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], eax
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x44], eax
mov dword [ecx + 0x48], eax
mov dword [ecx + 0x4c], eax
mov dword [ecx + 0x50], eax
mov dword [ecx + 0x54], eax
mov dword [ecx + 0x58], eax
mov dword [ecx + 0x5c], eax
mov dword [ecx + 0x60], eax
mov dword [ecx + 0x64], eax
mov dword [ecx + 0x68], eax
mov dword [ecx + 0x6c], eax
mov dword [ecx + 0x70], eax
mov dword [ecx + 0x74], eax
mov dword [ecx + 0x78], eax
mov dword [ecx + 0x7c], eax
lea eax, [esp + 4]
push 0x80
push eax
push 0
push 0x65
mov ecx, dword [ebp + 0xaf]
call fcn.00529f24
test eax, eax
je 0x4ddaaa
mov ecx, dword [esp + 4]
mov edi, ecx
mov esi, str.LICENSE_OK
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x4dd8dc
test dl, dl
je 0x4dd8d8
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4dd8dc
add edi, 2
add esi, 2
test dl, dl
jne 0x4dd8bc
xor eax, eax
jmp 0x4dd8e1
sbb eax, eax
or eax, 1
test eax, eax
je 0x4dd92c
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
mov eax, dword [esp]
cmp ebx, eax
jb 0x4dd82b
jmp 0x4dd928
push str.Failed_connecting_to_Tally_9...
push 2
push 1
push dword [0x6ffbb4]
call fcn.005221cc
add esp, 0x10
mov ecx, dword [ebp + 0xaf]
call fcn.0052a160
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret
mov ecx, dword [esp + 4]
mov edi, ecx
mov esi, str.LICENSE_OK
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x4dd953
test dl, dl
je 0x4dd94f
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4dd953
add edi, 2
add esi, 2
test dl, dl
jne 0x4dd933
xor eax, eax
jmp 0x4dd958
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4dda5a
call fcn.004db418
push str.Loaded_Tally_9_driver.
push 2
push 0
push dword [0x6ffbb4]
call fcn.005221cc
push str.Binding_to_Tally_9...
push 2
push 0
push dword [0x6ffbb4]
call fcn.005221cc
add esp, 0x20
mov ecx, dword [ebp + 0xb3]
call fcn.004db418
mov ecx, 0x800
call fcn.004dbd48
mov dword [ebp + 0xb3], eax
lea eax, [ebp + 0xb3]
push 0x800
push eax
push 0
push 0x66
mov ecx, dword [ebp + 0xaf]
call fcn.00529f24
test eax, eax
jne 0x4dd9ec
push str.Failed_binding_to_Tally_9_driver...
push 2
push 1
push dword [0x6ffbb4]
call fcn.005221cc
add esp, 0x10
mov ecx, dword [ebp + 0xaf]
call fcn.0052a160
push str.Ready_for_Migration_
push 2
push 0
push dword [0x6ffbb4]
call fcn.005221cc
push 0x6c3590
push dword [0x6ffbb4]
call fcn.0052226c
push 0x6c35cc
push dword [0x6ffbb4]
call fcn.0052226c
add esp, 0x20
mov dword [ebp + 0xb7], 1
mov ecx, dword [0x7e838c]
test ecx, ecx
je 0x4dda41
push 0x3ff
call fcn.004f7850
mov ecx, dword [0x6ffbb0]
test ecx, ecx
je 0x4dda52
push 1
call fcn.004e2224
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret
push str.You_need_a_valid_Tally_9_license_to_migrate...
push 2
push 1
push dword [0x6ffbb4]
call fcn.005221cc
add esp, 0x10
xor eax, eax
push eax
push eax
mov ecx, 1
mov edx, str.You_need_a_valid__nTally_9_license_n_to_migrate_
call fcn.0040a580
mov dword [0x6ff878], 1
mov ecx, dword [0x6ff94f]
call fcn.0052a160
mov ecx, dword [esp + 4]
call fcn.004db418
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret
push str.Failed_getting_license_information_from_Tally_9...
push 2
push 1
push dword [0x6ffbb4]
call fcn.005221cc
add esp, 0x10
mov ecx, dword [ebp + 0xaf]
call fcn.0052a160
mov ecx, dword [esp + 4]
call fcn.004db418
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret