Function at 0x4dd720
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x68
call fcn.005e6090
mov eax, dword [0x63b3e0]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esi + 0x104], eax
mov eax, dword [0x63b3e4]
xor ebp, ebp
cmp eax, ebp
push edi
jne 0x4dd7d1
mov eax, dword [esi + 0x104]
xor ecx, ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
push str.MinimizeIcon
mov dword [esp + 0x74], ecx
push eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x58], 0x2208
mov dword [esp + 0x68], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push ebp
mov dword [esp + 0x6c], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 2
mov dword [esp + 0x6c], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
lea edx, [esp + 0x50]
push edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], str.Ganeshji
mov dword [esp + 0x58], 0x531080
call dword [sym.imp.USER32.dll_RegisterClassA]
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebp
mov edi, eax
lea eax, [esp + 0x28]
push eax
push ebp
push 0x30
mov dword [esp + 0x20], ebp
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
mov ebx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
je 0x4dd816
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
sub edx, eax
mov ebp, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov dword [esi + 0x10], edx
sub eax, ecx
jmp 0x4dd823
push 8
push edi
call ebx
push 0xa
push edi
mov dword [esi + 0x10], eax
call ebx
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x10]
cdq
sub eax, edx
push 0x58
sar eax, 1
push edi
mov dword [esi + 0x10], eax
call ebx
push 0x5a
push edi
mov word [esi + 8], ax
call ebx
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov word [esi + 0xa], ax
mov eax, 2
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov eax, 1
push 0xe
push edi
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], edx
call ebx
push 0xc
push edi
mov dword [esi + 0x108], eax
call ebx
push 0x26
push edi
mov dword [esi + 0x10c], eax
call ebx
test ah, 1
je 0x4dd88c
push 0x68
push edi
call ebx
jmp 0x4dd8a5
mov ecx, dword [esi + 0x10c]
xor eax, eax
cmp ecx, 8
setg al
dec eax
and eax, 0xffff0100
add eax, 0x10000
push edi
mov dword [esi + 0x64], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0xc
call edi
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esi + 0x14]
lea eax, [eax + eax*2]
cdq
and edx, 3
add eax, edx
sar ecx, 1
sar eax, 2
sub eax, ecx
push 0xb
mov dword [0x63b6dc], eax
call edi
mov edx, dword [esi + 0x10]
sub edx, eax
mov eax, edx
cdq
sub eax, edx
sar eax, 1
mov ecx, 0x84
mov dword [0x63b6d8], eax
call fcn.004dc530
test eax, eax
je 0x4dd903
push esi
mov ecx, eax
call fcn.00504f90
jmp 0x4dd905
xor eax, eax
mov edi, dword [sym.imp.GDI32.dll_CreateRectRgn]
push 0
push 0
push 0
push 0
mov dword [esi + 4], eax
call edi
push 0
push 0
push 0
push 0
mov dword [0x63b6e0], eax
call edi
push 0
mov dword [0x63b6e4], eax
mov eax, dword [esi + 0x104]
movsx ecx, word [esi + 0x14]
movsx edx, word [esi + 0x10]
push eax
mov eax, dword [esp + 0x18]
push 0
push 0
push ecx
push edx
push eax
push ebp
push 0xca0000
push str.Tally.ERP_9_Data_Migration_Tool
push str.Ganeshji
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [esi + 0xfc], eax
mov dword [esi + 0x100], eax
movsx ecx, word [0x63b3e8]
push ecx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0xfc]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
lea ebx, [ebx]
push 1
push 0
push 0
push 0
lea eax, [esp + 0x44]
push eax
call edi
test eax, eax
je 0x4dd9c3
lea ecx, [esp + 0x34]
push ecx
call ebp
lea edx, [esp + 0x34]
push edx
call ebx
jmp 0x4dd9a0
mov ecx, dword [esi + 0xfc]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [0x63b6e4]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_SetRectRgn]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
sub edi, ebx
mov ebx, dword [esp + 0x1c]
sub ebx, edx
mov eax, 0x66666667
imul edi
sar edx, 2
mov cx, di
mov word [esi], cx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, ecx
imul edx, edx, 0x586
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0x74], eax
mov dword [esi + 0x68], ecx
mov dword [esi + 0x70], ecx
mov dword [esi + 0x78], ecx
add ecx, ecx
mov edx, edi
sub edx, ecx
mov dword [esi + 0x80], edx
lea eax, [edi + edi*2]
cdq
and edx, 3
add eax, edx
sar eax, 2
sub eax, 0x10
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], edi
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x84], ebx
mov dword [0x63b6dc], eax
mov eax, dword [esi + 0x28]
sub eax, 0x20
cdq
pop edi
pop esi
sub eax, edx
sar eax, 1
pop ebp
mov dword [0x63b6d8], eax
pop ebx
add esp, 0x68
ret