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

Disassembly:
test dword [0x7eeab0], 0xffffff80
jne 0x4dd998
test dword [0x7eeab0], 0xffffffff
jne 0x4ddcf4
call fcn.006a7fbc
jmp fcn.004dd970
push edi
push esi
push ebp
push ebx
sub esp, 8
mov ebp, ecx
push str.Loading_Tally.ERP_9...
push 2
push 0
push dword [0x700bd4]
call fcn.005227d8
add esp, 0x10
push str.TallyDataMigrationTool
push 0
push str._MIGRATIONMODE
mov ecx, dword [ebp + 0xbb]
call fcn.0052a810
test eax, eax
jne 0x4dd9ef
push str.Failed_starting_Tally.ERP_9...
push 2
push 1
push dword [0x700bd4]
call fcn.005227d8
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.0052a550
test eax, eax
je 0x4ddb12
mov eax, dword [0x6ea160]
lea esi, [eax + eax]
mov edx, 1
cmp eax, 0
cmove esi, edx
mov ecx, 0x80
call fcn.004dc288
mov ecx, eax
mov dword [esp + 4], ecx
test esi, esi
jbe 0x4ddb40
xor ebx, ebx
mov dword [esp], esi
jmp 0x4dda43
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.0052a550
test eax, eax
je 0x4ddcbe
mov ecx, dword [esp + 4]
mov edi, ecx
mov esi, str.LICENSE_OK
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x4ddaf0
test dl, dl
je 0x4ddaec
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4ddaf0
add edi, 2
add esi, 2
test dl, dl
jne 0x4ddad0
xor eax, eax
jmp 0x4ddaf5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4ddb40
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
mov eax, dword [esp]
cmp ebx, eax
jb 0x4dda3f
jmp 0x4ddb3c
push str.Failed_connecting_to_Tally.ERP_9...
push 2
push 1
push dword [0x700bd4]
call fcn.005227d8
add esp, 0x10
mov ecx, dword [ebp + 0xbb]
call fcn.0052a78c
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 0x4ddb67
test dl, dl
je 0x4ddb63
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4ddb67
add edi, 2
add esi, 2
test dl, dl
jne 0x4ddb47
xor eax, eax
jmp 0x4ddb6c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4ddc6e
call fcn.004db958
push str.Loaded_Tally.ERP_9_driver.
push 2
push 0
push dword [0x700bd4]
call fcn.005227d8
push str.Binding_to_Tally.ERP_9...
push 2
push 0
push dword [0x700bd4]
call fcn.005227d8
add esp, 0x20
mov ecx, dword [ebp + 0xbf]
call fcn.004db958
mov ecx, 0x800
call fcn.004dc288
mov dword [ebp + 0xbf], eax
lea eax, [ebp + 0xbf]
push 0x800
push eax
push 0
push 0x66
mov ecx, dword [ebp + 0xbb]
call fcn.0052a550
test eax, eax
jne 0x4ddc00
push str.Failed_binding_to_Tally.ERP_9_driver...
push 2
push 1
push dword [0x700bd4]
call fcn.005227d8
add esp, 0x10
mov ecx, dword [ebp + 0xbb]
call fcn.0052a78c
push str.Ready_for_Migration_
push 2
push 0
push dword [0x700bd4]
call fcn.005227d8
push 0x6c4614
push dword [0x700bd4]
call fcn.00522878
push 0x6c4650
push dword [0x700bd4]
call fcn.00522878
add esp, 0x20
mov dword [ebp + 0xc3], 1
mov ecx, dword [0x7e93ac]
test ecx, ecx
je 0x4ddc55
push 0x3ff
call fcn.004f7e44
mov ecx, dword [0x700bd0]
test ecx, ecx
je 0x4ddc66
push 1
call fcn.004e27e8
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret
push str.You_need_a_valid_Tally.ERP_9_license_to_migrate...
push 2
push 1
push dword [0x700bd4]
call fcn.005227d8
add esp, 0x10
xor eax, eax
push eax
push eax
mov ecx, 1
mov edx, str.You_need_a_valid__nTally.ERP_9_license_n_to_migrate_
call fcn.0040a700
mov dword [0x700878], 1
mov ecx, dword [0x70095b]
call fcn.0052a78c
mov ecx, dword [esp + 4]
call fcn.004db958
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret
push str.Failed_getting_license_information_from_Tally.ERP_9...
push 2
push 1
push dword [0x700bd4]
call fcn.005227d8
add esp, 0x10
mov ecx, dword [ebp + 0xbb]
call fcn.0052a78c
mov ecx, dword [esp + 4]
call fcn.004db958
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.ERP_9...
push 2
push 0
push dword [0x700bd4]
call fcn.005227d8
add esp, 0x10
push str.TallyDataMigrationTool
push 0
push str._MIGRATIONMODE
mov ecx, dword [ebp + 0xbb]
call fcn.0052a810
test eax, eax
jne 0x4ddd4b
push str.Failed_starting_Tally.ERP_9...
push 2
push 1
push dword [0x700bd4]
call fcn.005227d8
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.0052a550
test eax, eax
je 0x4dde82
mov eax, dword [0x6ea160]
test eax, eax
je 0x4ddd8b
imul ecx, eax, 0x3e8
mov eax, 0x10624dd3
imul ecx
mov esi, edx
sar esi, 5
sar ecx, 0x1f
sub esi, ecx
jmp 0x4ddd90
mov esi, 1
mov ecx, 0x80
call fcn.004dc288
mov ecx, eax
mov dword [esp + 4], ecx
test esi, esi
jbe 0x4ddeb0
xor ebx, ebx
mov dword [esp], esi
jmp 0x4dddb3
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.0052a550
test eax, eax
je 0x4de02e
mov ecx, dword [esp + 4]
mov edi, ecx
mov esi, str.LICENSE_OK
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x4dde60
test dl, dl
je 0x4dde5c
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4dde60
add edi, 2
add esi, 2
test dl, dl
jne 0x4dde40
xor eax, eax
jmp 0x4dde65
sbb eax, eax
or eax, 1
test eax, eax
je 0x4ddeb0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
mov eax, dword [esp]
cmp ebx, eax
jb 0x4dddaf
jmp 0x4ddeac
push str.Failed_connecting_to_Tally.ERP_9...
push 2
push 1
push dword [0x700bd4]
call fcn.005227d8
add esp, 0x10
mov ecx, dword [ebp + 0xbb]
call fcn.0052a78c
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 0x4dded7
test dl, dl
je 0x4dded3
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4dded7
add edi, 2
add esi, 2
test dl, dl
jne 0x4ddeb7
xor eax, eax
jmp 0x4ddedc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4ddfde
call fcn.004db958
push str.Loaded_Tally.ERP_9_driver.
push 2
push 0
push dword [0x700bd4]
call fcn.005227d8
push str.Binding_to_Tally.ERP_9...
push 2
push 0
push dword [0x700bd4]
call fcn.005227d8
add esp, 0x20
mov ecx, dword [ebp + 0xbf]
call fcn.004db958
mov ecx, 0x800
call fcn.004dc288
mov dword [ebp + 0xbf], eax
lea eax, [ebp + 0xbf]
push 0x800
push eax
push 0
push 0x66
mov ecx, dword [ebp + 0xbb]
call fcn.0052a550
test eax, eax
jne 0x4ddf70
push str.Failed_binding_to_Tally.ERP_9_driver...
push 2
push 1
push dword [0x700bd4]
call fcn.005227d8
add esp, 0x10
mov ecx, dword [ebp + 0xbb]
call fcn.0052a78c
push str.Ready_for_Migration_
push 2
push 0
push dword [0x700bd4]
call fcn.005227d8
push 0x6c4614
push dword [0x700bd4]
call fcn.00522878
push 0x6c4650
push dword [0x700bd4]
call fcn.00522878
add esp, 0x20
mov dword [ebp + 0xc3], 1
mov ecx, dword [0x7e93ac]
test ecx, ecx
je 0x4ddfc5
push 0x3ff
call fcn.004f7e44
mov ecx, dword [0x700bd0]
test ecx, ecx
je 0x4ddfd6
push 1
call fcn.004e27e8
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret
push str.You_need_a_valid_Tally.ERP_9_license_to_migrate...
push 2
push 1
push dword [0x700bd4]
call fcn.005227d8
add esp, 0x10
xor eax, eax
push eax
push eax
mov ecx, 1
mov edx, str.You_need_a_valid__nTally.ERP_9_license_n_to_migrate_
call fcn.0040a700
mov dword [0x700878], 1
mov ecx, dword [0x70095b]
call fcn.0052a78c
mov ecx, dword [esp + 4]
call fcn.004db958
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret
push str.Failed_getting_license_information_from_Tally.ERP_9...
push 2
push 1
push dword [0x700bd4]
call fcn.005227d8
add esp, 0x10
mov ecx, dword [ebp + 0xbb]
call fcn.0052a78c
mov ecx, dword [esp + 4]
call fcn.004db958
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret