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

Disassembly:
test dword [0x7eeab0], 0xffffff80
jne 0x4dd538
test dword [0x7eeab0], 0xffffffff
jne 0x4dd894
call fcn.006a7b4c
jmp fcn.004dd510
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 [0x700bd4]
call fcn.0052236c
add esp, 0x10
push str.TallyDataMigrationTool
push 0
push str.::InMigration
mov ecx, dword [ebp + 0xbb]
call fcn.0052a3a4
test eax, eax
jne 0x4dd58f
push str.Failed_starting_Tally_9...
push 2
push 1
push dword [0x700bd4]
call fcn.0052236c
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 + 0xbb]
call fcn.0052a0e4
test eax, eax
je 0x4dd6b2
mov eax, dword [0x6ea160]
lea esi, [eax + eax]
mov edx, 1
cmp eax, 0
cmove esi, edx
mov ecx, 0x80
call fcn.004dbe28
mov ecx, eax
mov dword [esp + 4], ecx
test esi, esi
jbe 0x4dd6e0
xor ebx, ebx
mov dword [esp], esi
jmp 0x4dd5e3
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 + 0xbb]
call fcn.0052a0e4
test eax, eax
je 0x4dd85e
mov ecx, dword [esp + 4]
mov edi, ecx
mov esi, str.LICENSE_OK
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x4dd690
test dl, dl
je 0x4dd68c
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4dd690
add edi, 2
add esi, 2
test dl, dl
jne 0x4dd670
xor eax, eax
jmp 0x4dd695
sbb eax, eax
or eax, 1
test eax, eax
je 0x4dd6e0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
mov eax, dword [esp]
cmp ebx, eax
jb 0x4dd5df
jmp 0x4dd6dc
push str.Failed_connecting_to_Tally_9...
push 2
push 1
push dword [0x700bd4]
call fcn.0052236c
add esp, 0x10
mov ecx, dword [ebp + 0xbb]
call fcn.0052a320
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 0x4dd707
test dl, dl
je 0x4dd703
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4dd707
add edi, 2
add esi, 2
test dl, dl
jne 0x4dd6e7
xor eax, eax
jmp 0x4dd70c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4dd80e
call fcn.004db4f8
push str.Loaded_Tally_9_driver.
push 2
push 0
push dword [0x700bd4]
call fcn.0052236c
push str.Binding_to_Tally_9...
push 2
push 0
push dword [0x700bd4]
call fcn.0052236c
add esp, 0x20
mov ecx, dword [ebp + 0xbf]
call fcn.004db4f8
mov ecx, 0x800
call fcn.004dbe28
mov dword [ebp + 0xbf], eax
lea eax, [ebp + 0xbf]
push 0x800
push eax
push 0
push 0x66
mov ecx, dword [ebp + 0xbb]
call fcn.0052a0e4
test eax, eax
jne 0x4dd7a0
push str.Failed_binding_to_Tally_9_driver...
push 2
push 1
push dword [0x700bd4]
call fcn.0052236c
add esp, 0x10
mov ecx, dword [ebp + 0xbb]
call fcn.0052a320
push str.Ready_for_Migration_
push 2
push 0
push dword [0x700bd4]
call fcn.0052236c
push 0x6c4590
push dword [0x700bd4]
call fcn.0052240c
push 0x6c45cc
push dword [0x700bd4]
call fcn.0052240c
add esp, 0x20
mov dword [ebp + 0xc3], 1
mov ecx, dword [0x7e93ac]
test ecx, ecx
je 0x4dd7f5
push 0x3ff
call fcn.004f7998
mov ecx, dword [0x700bd0]
test ecx, ecx
je 0x4dd806
push 1
call fcn.004e2350
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 [0x700bd4]
call fcn.0052236c
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.0040a5a0
mov dword [0x700878], 1
mov ecx, dword [0x70095b]
call fcn.0052a320
mov ecx, dword [esp + 4]
call fcn.004db4f8
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 [0x700bd4]
call fcn.0052236c
add esp, 0x10
mov ecx, dword [ebp + 0xbb]
call fcn.0052a320
mov ecx, dword [esp + 4]
call fcn.004db4f8
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 [0x700bd4]
call fcn.0052236c
add esp, 0x10
push str.TallyDataMigrationTool
push 0
push str.::InMigration
mov ecx, dword [ebp + 0xbb]
call fcn.0052a3a4
test eax, eax
jne 0x4dd8eb
push str.Failed_starting_Tally_9...
push 2
push 1
push dword [0x700bd4]
call fcn.0052236c
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 + 0xbb]
call fcn.0052a0e4
test eax, eax
je 0x4dda22
mov eax, dword [0x6ea160]
test eax, eax
je 0x4dd92b
imul ecx, eax, 0x3e8
mov eax, 0x10624dd3
imul ecx
mov esi, edx
sar esi, 5
sar ecx, 0x1f
sub esi, ecx
jmp 0x4dd930
mov esi, 1
mov ecx, 0x80
call fcn.004dbe28
mov ecx, eax
mov dword [esp + 4], ecx
test esi, esi
jbe 0x4dda50
xor ebx, ebx
mov dword [esp], esi
jmp 0x4dd953
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 + 0xbb]
call fcn.0052a0e4
test eax, eax
je 0x4ddbce
mov ecx, dword [esp + 4]
mov edi, ecx
mov esi, str.LICENSE_OK
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x4dda00
test dl, dl
je 0x4dd9fc
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4dda00
add edi, 2
add esi, 2
test dl, dl
jne 0x4dd9e0
xor eax, eax
jmp 0x4dda05
sbb eax, eax
or eax, 1
test eax, eax
je 0x4dda50
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
mov eax, dword [esp]
cmp ebx, eax
jb 0x4dd94f
jmp 0x4dda4c
push str.Failed_connecting_to_Tally_9...
push 2
push 1
push dword [0x700bd4]
call fcn.0052236c
add esp, 0x10
mov ecx, dword [ebp + 0xbb]
call fcn.0052a320
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 0x4dda77
test dl, dl
je 0x4dda73
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4dda77
add edi, 2
add esi, 2
test dl, dl
jne 0x4dda57
xor eax, eax
jmp 0x4dda7c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4ddb7e
call fcn.004db4f8
push str.Loaded_Tally_9_driver.
push 2
push 0
push dword [0x700bd4]
call fcn.0052236c
push str.Binding_to_Tally_9...
push 2
push 0
push dword [0x700bd4]
call fcn.0052236c
add esp, 0x20
mov ecx, dword [ebp + 0xbf]
call fcn.004db4f8
mov ecx, 0x800
call fcn.004dbe28
mov dword [ebp + 0xbf], eax
lea eax, [ebp + 0xbf]
push 0x800
push eax
push 0
push 0x66
mov ecx, dword [ebp + 0xbb]
call fcn.0052a0e4
test eax, eax
jne 0x4ddb10
push str.Failed_binding_to_Tally_9_driver...
push 2
push 1
push dword [0x700bd4]
call fcn.0052236c
add esp, 0x10
mov ecx, dword [ebp + 0xbb]
call fcn.0052a320
push str.Ready_for_Migration_
push 2
push 0
push dword [0x700bd4]
call fcn.0052236c
push 0x6c4590
push dword [0x700bd4]
call fcn.0052240c
push 0x6c45cc
push dword [0x700bd4]
call fcn.0052240c
add esp, 0x20
mov dword [ebp + 0xc3], 1
mov ecx, dword [0x7e93ac]
test ecx, ecx
je 0x4ddb65
push 0x3ff
call fcn.004f7998
mov ecx, dword [0x700bd0]
test ecx, ecx
je 0x4ddb76
push 1
call fcn.004e2350
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 [0x700bd4]
call fcn.0052236c
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.0040a5a0
mov dword [0x700878], 1
mov ecx, dword [0x70095b]
call fcn.0052a320
mov ecx, dword [esp + 4]
call fcn.004db4f8
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 [0x700bd4]
call fcn.0052236c
add esp, 0x10
mov ecx, dword [ebp + 0xbb]
call fcn.0052a320
mov ecx, dword [esp + 4]
call fcn.004db4f8
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret