Function at 0x430880
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f5fd
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x495580]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x160], edi
cmp dword [edi + 0xc], 0
jne 0x4308c2
xor al, al
jmp 0x430f5f
lea ecx, [ebp - 0x1b4]
call fcn.00438f3a
mov dword [ebp - 4], 0
movaps xmm0, xmmword [0x48a0c0]
mov dword [ebp - method.CMap_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const___class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const__.virtual_0], vtable.CMap_unsigned_long_int__unsigned_long_int__unsigned_long_int__unsigned_long_int_.0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0x11
movups xmmword [ebp - 0x148], xmm0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x180], 0
mov dword [ebp - method.CMap_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const___class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const__.virtual_0], 0x484fbc
push ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x188]
push dword [edi + 0xc]
call fcn.00410d30
mov edx, dword [ebp - 0x184]
xor ecx, ecx
cmp dword [edi + 0xc], ecx
jle 0x430963
mov eax, dword [edi + 8]
mov ax, word [eax + ecx*8]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, dword [edi + 0xc]
jl 0x430952
xor eax, eax
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x180], eax
jle 0x430bd3
nop word [eax + eax]
movzx esi, word [edx + eax*2]
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x158], esi
call fcn.00438f3a
mov byte [ebp - 4], 3
xor ecx, ecx
mov edx, dword [edi + 0xc]
test edx, edx
jle 0x4309b6
mov eax, dword [edi + 8]
cmp word [eax], si
je 0x430bb7
inc ecx
add eax, 8
cmp ecx, edx
jl 0x4309a5
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x174]
call fcn.0043916c
mov eax, dword [ebp - 0x16c]
xor edi, edi
test eax, eax
jle 0x430b82
test edi, edi
js 0x430f7a
cmp edi, eax
jge 0x430f7a
mov eax, dword [ebp - 0x170]
lea ecx, [ebp - 0x1b4]
mov esi, edi
neg esi
mov eax, dword [eax + edi*4]
sbb esi, esi
mov dword [ebp - 0x12c], eax
lea eax, [edi - 1]
and esi, eax
mov eax, edi
and esi, 0xfff
neg eax
sbb eax, eax
and eax, 0xd000
or esi, eax
mov eax, dword [ebp - 0x158]
movzx eax, ax
shl esi, 0x10
or esi, eax
push esi
push dword [ebp - 0x1ac]
call fcn.00439139
cmp dword [ebp - 0x12c], esi
je 0x430b73
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x138]
push eax
push esi
lea ecx, [ebp - 0x154]
call fcn.00417740
test eax, eax
jne 0x430b6a
cmp dword [ebp - 0x150], eax
jne 0x430ac8
mov eax, dword [ebp - 0x14c]
mov ecx, 4
mov dword [ebp - 0x130], eax
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.00437bff
add esp, 4
mov dword [ebp - 0x150], eax
test eax, eax
je 0x430f7a
mov ecx, dword [ebp - 0x130]
shl ecx, 2
push ecx
push 0
push eax
call fcn.0044cff0
mov eax, dword [ebp - 0x130]
add esp, 0xc
cmp dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], eax
je 0x430f7a
mov eax, dword [ebp - 0x144]
test eax, eax
jne 0x430b1c
push 0x10
push dword [ebp - 0x13c]
lea eax, [ebp - 0x140]
push eax
call fcn.0043ab26
mov edx, dword [ebp - 0x13c]
mov ecx, edx
shl ecx, 4
add ecx, 0xfffffff8
add ecx, eax
add edx, 0xffffffff
mov eax, dword [ebp - 0x144]
js 0x430b14
mov dword [ecx + 8], eax
mov eax, ecx
sub ecx, 0x10
mov dword [ebp - 0x144], eax
sub edx, 1
jns 0x430b01
test eax, eax
je 0x430f7a
mov ecx, dword [eax + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x144]
mov ecx, dword [ecx + 8]
inc dword [ebp - 0x148]
mov dword [ebp - 0x144], ecx
mov ecx, dword [ebp - 0x15c]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x138]
mov dword [eax], esi
lea edx, [ecx*4]
mov ecx, dword [ebp - 0x150]
mov ecx, dword [edx + ecx]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x150]
mov dword [edx + ecx], eax
mov ecx, dword [ebp - 0x12c]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x16c]
inc edi
cmp edi, eax
jl 0x4309d5
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 2
call fcn.00438f51
mov eax, dword [ebp - 0x134]
inc eax
mov dword [ebp - 0x134], eax
cmp eax, dword [ebp - 0x180]
jge 0x430bd3
mov edi, dword [ebp - 0x160]
mov edx, dword [ebp - 0x184]
jmp 0x430980
mov eax, dword [eax + 4]
test eax, eax
je 0x4309b6
push eax
lea ecx, [ebp - 0x174]
call fcn.00438f9b
jmp 0x4309c5
lea ecx, [ebp - 0x1b4]
call fcn.00415410
mov byte [ebp - 0x125], al
test al, al
je 0x430ee7
mov esi, dword [ebp - 0x148]
lea ecx, [ebp - 0x1a0]
call fcn.00436896
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 4
call fcn.00436896
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 5
call fcn.00436bd6
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x174]
call fcn.00436bd6
xor eax, eax
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x148]
mov esi, eax
neg esi
sbb esi, esi
test eax, eax
je 0x430e4b
nop dword [eax + eax]
mov edx, dword [ebp - 0x150]
test edx, edx
je 0x430f7a
mov ecx, esi
test esi, esi
je 0x430f7a
mov edi, dword [ebp - 0x14c]
cmp esi, 0xffffffff
jne 0x430c94
xor eax, eax
test edi, edi
je 0x430c94
nop dword [eax]
mov ecx, dword [edx + eax*4]
test ecx, ecx
jne 0x430c94
inc eax
cmp eax, edi
jb 0x430c80
test ecx, ecx
je 0x430f7a
mov esi, dword [ecx + 8]
test esi, esi
jne 0x430cbc
mov eax, dword [ecx + 0xc]
xor edx, edx
div edi
inc edx
cmp edx, edi
jae 0x430cbc
mov eax, dword [ebp - 0x150]
nop dword [eax]
mov esi, dword [eax + edx*4]
test esi, esi
jne 0x430cbc
inc edx
cmp edx, edi
jb 0x430cb0
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x158], eax
test ecx, ecx
js 0x430f7a
cmp ecx, dword [ebp - 0x198]
jge 0x430f7a
mov eax, dword [ebp - 0x19c]
lea edi, [eax + ecx*4]
mov dword [ebp - 0x134], edi
cmp ecx, dword [ebp - 0x16c]
jge 0x430f7a
mov eax, dword [ebp - 0x170]
lea eax, [eax + ecx*4]
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x12c], eax
call fcn.00419c50
mov byte [ebp - 4], 6
mov ecx, dword [eax]
mov edi, dword [edi]
sub edi, 0x10
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x430d7c
cmp dword [edi + 0xc], 0
jl 0x430d6d
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x430d6d
push edx
call fcn.00403700
add esp, 4
mov dword [ebp - 0x138], eax
or ecx, 0xffffffff
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x430d60
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
add eax, 0x10
mov dword [ecx], eax
jmp 0x430d7c
push dword [ecx - 0xc]
push ecx
mov ecx, dword [ebp - 0x134]
call fcn.00403e20
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov edi, dword [ebp - 0x15c]
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x430d9e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x158]
lea ecx, [ebp - 0x18c]
call fcn.00419c50
mov byte [ebp - 4], 7
mov ecx, dword [eax]
mov eax, dword [ebp - 0x12c]
lea edx, [ecx - 0x10]
mov edi, dword [eax]
sub edi, 0x10
cmp edx, edi
je 0x430e1b
cmp dword [edi + 0xc], 0
jl 0x430e0c
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x430e0c
push edx
call fcn.00403700
add esp, 4
mov dword [ebp - 0x138], eax
or ecx, 0xffffffff
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x430dff
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x12c]
add eax, 0x10
mov dword [ecx], eax
jmp 0x430e1b
push dword [ecx - 0xc]
push ecx
mov ecx, dword [ebp - 0x12c]
call fcn.00403e20
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov edx, dword [ebp - 0x18c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x430e3d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc dword [ebp - 0x130]
test esi, esi
jne 0x430c50
mov edx, dword [0x58ec78]
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x1a0]
push eax
call fcn.00413eb0
add esp, 8
mov byte [ebp - 0x125], al
lea ecx, [ebp - 0x174]
call fcn.004368ad
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 2
call fcn.004368ad
cmp byte [ebp - 0x125], 0
je 0x430ee7
push pe_nt_image_headers32
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.0044cff0
add esp, 0xc
mov dword [ebp - 0x124], 0x114
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x120], 6
jne 0x430ed1
cmp dword [ebp - 0x11c], 2
jae 0x430ed3
jmp 0x430ee7
jbe 0x430ee7
mov ecx, dword [ebp - 0x160]
add ecx, 4
call fcn.00416580
mov byte [ebp - 0x125], al
mov eax, dword [ebp - 0x184]
test eax, eax
je 0x430efa
push eax
call fcn.00437038
add esp, 4
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x150]
mov dword [ebp - method.CMap_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const___class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const__.virtual_0], vtable.CMap_unsigned_long_int__unsigned_long_int__unsigned_long_int__unsigned_long_int_.0
test eax, eax
je 0x430f25
push eax
call fcn.00437038
add esp, 4
mov dword [ebp - 0x150], 0
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
call fcn.0043ab57
lea ecx, [ebp - 0x1b4]
mov dword [ebp - 0x140], 0
call fcn.00438f51
mov al, byte [ebp - 0x125]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044ae3d
mov esp, ebp
pop ebp
ret
call fcn.00436600
int3