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

Disassembly:
push edi
push esi
push ebp
push ebx
push ecx
mov eax, 0x24
call fcn.006021b0
mov ecx, dword [esp + 0x24]
mov ebp, ecx
xor ebx, ebx
push str.Loading_Tally_9...
push 2
push 0
push dword [0x65e788]
call fcn.0050692c
add esp, 0x10
push str.TallyDataMigrationTool
push 0
push 0x74eef4
mov ecx, dword [ebp + 0xaf]
call fcn.0050c22c
test eax, eax
jne 0x4dd68d
push str.Failed_starting_Tally_9...
push 2
push 1
push dword [0x65e788]
call fcn.0050692c
add esp, 0x38
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.0050c420
test eax, eax
je 0x4dd93a
mov eax, dword [0x65e754]
test eax, eax
je 0x4dd6dc
lea esi, [eax + eax]
add esi, esi
sub esi, eax
lea edi, [eax + esi*8]
lea esi, [edi + edi*4]
add esi, esi
add esi, esi
add esi, esi
mov eax, 0x10624dd3
imul esi
sar edx, 5
sar esi, 0x1f
sub edx, esi
mov dword [esp + 0x24], edx
jmp 0x4dd6e5
mov eax, 1
mov dword [esp + 0x24], eax
mov ecx, 0x80
call fcn.004dbf60
mov ecx, eax
mov dword [esp], ecx
mov edx, dword [esp + 0x24]
test edx, edx
ja 0x4dd704
jmp 0x4dd7d5
mov ecx, dword [esp]
xor edx, edx
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], edx
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x1c], edx
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x24], edx
mov dword [ecx + 0x28], edx
mov dword [ecx + 0x2c], edx
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x34], edx
mov dword [ecx + 0x38], edx
mov dword [ecx + 0x3c], edx
mov dword [ecx + 0x40], edx
mov dword [ecx + 0x44], edx
mov dword [ecx + 0x48], edx
mov dword [ecx + 0x4c], edx
mov dword [ecx + 0x50], edx
mov dword [ecx + 0x54], edx
mov dword [ecx + 0x58], edx
mov dword [ecx + 0x5c], edx
mov dword [ecx + 0x60], edx
mov dword [ecx + 0x64], edx
mov dword [ecx + 0x68], edx
mov dword [ecx + 0x6c], edx
mov dword [ecx + 0x70], edx
mov dword [ecx + 0x74], edx
mov dword [ecx + 0x78], edx
mov dword [ecx + 0x7c], edx
lea eax, [esp]
push 0x80
push eax
push 0
push 0x65
mov ecx, dword [ebp + 0xaf]
call fcn.0050c420
test eax, eax
je 0x4dd96c
mov ecx, dword [esp]
mov esi, str.LICENSE_OK
mov edi, ecx
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x4dd7af
or dl, dl
je 0x4dd7ab
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4dd7af
add edi, 2
add esi, 2
or dl, dl
jne 0x4dd78f
xor eax, eax
jmp 0x4dd7b4
sbb eax, eax
or eax, 1
test eax, eax
je 0x4dd7d5
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
mov eax, dword [esp + 0x24]
cmp ebx, eax
jb 0x4dd701
jmp 0x4dd964
mov esi, str.LICENSE_OK
mov edi, ecx
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x4dd7fc
or dl, dl
je 0x4dd7f8
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4dd7fc
add edi, 2
add esi, 2
or dl, dl
jne 0x4dd7dc
xor eax, eax
jmp 0x4dd801
sbb eax, eax
or eax, 1
test eax, eax
je 0x4dd85e
push str.You_need_a_valid_Tally_9_license_to_migrate...
push 2
push 1
push dword [0x65e788]
call fcn.0050692c
add esp, 0x10
lea ecx, [esp + 4]
call fcn.005075b4
lea ecx, [esp + 4]
xor eax, eax
push eax
push eax
push str.You_need_a_valid__nTally_9_license_n_to_migrate_
push 1
call fcn.0050766c
mov dword [0x74c338], 1
mov ecx, dword [0x74c1ef]
call fcn.0050c3a0
mov ecx, dword [esp]
call fcn.004dbc10
add esp, 0x28
pop ebx
pop ebp
pop esi
pop edi
ret
call fcn.004dbc10
push str.Loaded_Tally_9_driver.
push 2
push 0
push dword [0x65e788]
call fcn.0050692c
push str.Binding_to_Tally_9...
push 2
push 0
push dword [0x65e788]
call fcn.0050692c
add esp, 0x20
mov ecx, dword [ebp + 0xb3]
call fcn.004dbc10
mov ecx, 0x800
call fcn.004dbf60
mov dword [ebp + 0xb3], eax
lea eax, [ebp + 0xb3]
push 0x800
push eax
push 0
push 0x66
mov ecx, dword [ebp + 0xaf]
call fcn.0050c420
test eax, eax
jne 0x4dd8ea
push str.Failed_binding_to_Tally_9_driver...
push 2
push 1
push dword [0x65e788]
call fcn.0050692c
add esp, 0x10
mov ecx, dword [ebp + 0xaf]
call fcn.0050c3a0
push str.Ready_for_Migration_
push 2
push 0
push dword [0x65e788]
call fcn.0050692c
push 0x62c550
push dword [0x65e788]
call fcn.0050685c
push 0x62c58c
push dword [0x65e788]
call fcn.0050685c
add esp, 0x20
mov dword [ebp + 0xb7], 1
mov ecx, ebp
call fcn.004dd9a0
add esp, 0x28
pop ebx
pop ebp
pop esi
pop edi
ret
push str.Failed_connecting_to_Tally_9...
push 2
push 1
push dword [0x65e788]
call fcn.0050692c
add esp, 0x10
mov ecx, dword [ebp + 0xaf]
call fcn.0050c3a0
add esp, 0x28
pop ebx
pop ebp
pop esi
pop edi
ret
mov ecx, dword [esp]
jmp 0x4dd7d5
push str.Failed_getting_license_information_from_Tally_9...
push 2
push 1
push dword [0x65e788]
call fcn.0050692c
add esp, 0x10
mov ecx, dword [ebp + 0xaf]
call fcn.0050c3a0
mov ecx, dword [esp]
call fcn.004dbc10
add esp, 0x28
pop ebx
pop ebp
pop esi
pop edi
ret