Function at 0x422100
Capabilities:
Check os version
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x178]
xor ebx, ebx
cmp eax, ebx
jne 0x41ff61
cmp dword [esi + 0x198], 6
jne 0x420000
cmp eax, ebx
je 0x41ff67
mov dword [esi + 0x198], ebx
cmp byte [esi + 0x1c7], bl
mov dword [esi + 0x178], ebx
mov dword [esi + 0x1b0], ebx
mov dword [esi + 0x1bc], ebx
mov ecx, esi
jne 0x41ff90
push ebx
push str.Logined_IB
call fcn.0041bc70
jmp 0x41ff9a
push str.InboxPage
call fcn.0041bde0
mov al, 1
push ebx
lea ecx, [esi + 0x98]
mov byte [esi + 0x1c7], al
mov byte [esi + 0x1c5], al
mov eax, dword [ecx + 0x14]
push 0x4663fc
push eax
push ebx
call fcn.004018c0
test eax, eax
jne 0x41ffe1
mov ecx, esi
call fcn.0041b040
test al, al
jne 0x41ffe1
push ebx
push str.GetRootUrlPart_Error.
mov ecx, esi
call fcn.0041bc70
mov ecx, esi
jmp fcn.0041de80
mov ecx, esi
call fcn.004197d0
test al, al
jne 0x420000
push ebx
push str.pushMessage_Error
mov ecx, esi
call fcn.0041bc70
mov ecx, esi
jmp fcn.0041de80
pop esi
pop ebx
ret
push esi
mov esi, ecx
mov eax, dword [esi + 0x178]
mov ecx, 0x13
cmp eax, ecx
jne 0x420033
cmp dword [esi + 0x198], 6
jne 0x4200c8
cmp eax, ecx
je 0x42003d
mov dword [esi + 0x198], 0
mov dword [esi + 0x178], ecx
mov dword [esi + 0x1b0], ecx
push str.JunkPage
mov ecx, esi
call fcn.0041bde0
mov eax, dword [esi + 0xac]
push 0
lea ecx, [esi + 0x98]
push 0x4663fc
push eax
push 0
call fcn.004018c0
test eax, eax
jne 0x420094
mov ecx, esi
call fcn.0041b040
test al, al
jne 0x420094
push 0
push str.GetRootUrlPart_J_Error.
mov ecx, esi
call fcn.0041bc70
mov ecx, esi
jmp fcn.0041de80
mov eax, dword [esi + 0x1a4]
test eax, eax
mov ecx, esi
jg 0x4200ca
call fcn.00419290
test al, al
jne 0x4200be
push 0
push str.pushDeleteMessagesButton_J_Error
mov ecx, esi
call fcn.0041bc70
mov ecx, esi
jmp fcn.0041de80
mov dword [esi + 0x178], 0xffffffff
pop esi
ret
call fcn.004197d0
test al, al
jne 0x4200c8
push 0
push str.pushMessage_J_Error
mov ecx, esi
call fcn.0041bc70
mov ecx, esi
jmp fcn.0041de80
push 0xffffffffffffffff
push 0x45d8b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [0x4774f0]
push ebx
xor ebx, ebx
push esi
mov dword [esp + 0x40], eax
mov esi, ecx
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
mov ecx, dword [esi + 0x178]
mov eax, 0x11
cmp ecx, eax
mov dword [esp + 0x4c], ebx
je 0x420adb
push ebx
push str.MessagePage
mov ecx, esi
mov dword [esi + 0x178], eax
call fcn.0041bc70
lea eax, [esp + 8]
push eax
mov ecx, esi
mov dword [esi + 0x1bc], ebx
call fcn.0041b870
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 1
call fcn.00403490
cmp dword [esp + 0x20], 0x10
mov byte [esp + 0x4c], bl
jb 0x42096d
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00446038
add esp, 4
mov edx, dword [esp + 0x38]
push ebx
push 0x4663fc
push edx
push ebx
lea ecx, [esp + 0x34]
call fcn.004018c0
test eax, eax
jne 0x42099a
push ebx
push str.getMessageId_Error
mov ecx, esi
call fcn.0041bc70
mov ecx, esi
jmp fcn.0041de80
mov eax, dword [esi + 0x170]
push edi
push ebx
lea edi, [esi + 0x15c]
push 0x4663fc
push eax
push ebx
mov ecx, edi
call fcn.004018c0
test eax, eax
je 0x420a6f
cmp dword [edi + 0x18], 0x10
mov ecx, dword [edi + 0x14]
jb 0x4209cc
mov eax, dword [edi + 4]
jmp 0x4209cf
lea eax, [edi + 4]
push ecx
mov ecx, dword [esp + 0x40]
push eax
push ecx
push ebx
lea ecx, [esp + 0x38]
call fcn.004018c0
test eax, eax
jne 0x420a69
mov ecx, dword [esi + 0x1a0]
inc ecx
mov eax, ecx
cmp eax, 5
mov dword [esi + 0x1a0], ecx
mov ecx, esi
jle 0x420a10
push ebx
push str.Parse_Error
call fcn.0041bc70
mov ecx, esi
jmp fcn.0041de80
push str.Msg_Not_Deleted
call fcn.0041bde0
cmp dword [esi + 0x1b0], ebx
mov ecx, esi
jne 0x420a41
call fcn.0041dba0
test al, al
jne 0x420a5e
push ebx
push str.GoToInboxPage2_Error
mov ecx, esi
call fcn.0041bc70
mov ecx, esi
jmp fcn.0041de80
call fcn.0041dd10
test al, al
jne 0x420a5e
push ebx
push str.GoToJunkPage2_Error
mov ecx, esi
call fcn.0041bc70
mov ecx, esi
jmp fcn.0041de80
lea ecx, [esp + 0x28]
call fcn.00402e40
jmp 0x420ada
mov dword [esi + 0x1a0], ebx
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x30]
push edx
mov ecx, edi
call fcn.00403490
mov ecx, dword [esi + 0x1ac]
inc ecx
mov eax, ecx
cmp eax, 0xa
mov dword [esi + 0x1ac], ecx
mov ecx, esi
jge 0x420ab1
call fcn.004193e0
test al, al
jne 0x420abc
push ebx
push str.pushDeleteButton_Error
mov ecx, esi
call fcn.0041bc70
mov ecx, esi
jmp fcn.0041de80
mov dword [esi + 0x1ac], ebx
call fcn.0041fed0
cmp dword [esp + 0x40], 0x10
mov dword [esi + 0x178], 0xffffffff
jb 0x420ada
mov eax, dword [esp + 0x2c]
push eax
call fcn.00446038
add esp, 4
pop edi
mov ecx, dword [esp + 0x44]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x3c]
pop ebx
call fcn.004305ce
add esp, 0x48
ret
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0x14]
test al, al
je 0x422113
mov ecx, esi
jmp 0x41f700
mov eax, dword [esi + 0x1bc]
cmp eax, 0xa
lea ecx, [eax + 1]
mov dword [esi + 0x1bc], ecx
jle 0x42212f
mov ecx, esi
pop esi
jmp 0x421e20
cmp ecx, 3
jge 0x42213f
mov ecx, esi
call fcn.00418890
test al, al
je 0x42217f
mov ecx, esi
call fcn.00419000
test al, al
mov ecx, esi
je 0x422152
pop esi
jmp 0x4208d0
call fcn.004175f0
test al, al
je 0x422187
push 0x4663fc
lea ecx, [esi + 0x15c]
call fcn.004037b0
mov ecx, esi
call fcn.00419570
test al, al
mov ecx, esi
je 0x422181
push 0
call fcn.00420840
pop esi
ret
pop esi
jmp 0x41ff40
mov ecx, esi
call fcn.00417a70
test al, al
je 0x42217f
push 0x4663fc
lea ecx, [esi + 0x15c]
call fcn.004037b0
mov ecx, esi
call fcn.00419570
test al, al
je 0x4221ec
mov ecx, dword [esi + 0x188]
cmp ecx, dword [esi + 0x17c]
mov dword [esi + 0x1bc], 0
push 0
mov ecx, esi
jl 0x4221da
push str.Done
call fcn.0041bc70
mov ecx, esi
jmp fcn.0041de80
push str.Deleted_J
call fcn.0041bc70
mov ecx, esi
pop esi
jmp fcn.0041fed0
mov ecx, esi
pop esi
jmp 0x420010