Function at 0x4322c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ef2c
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x495574]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x154], esi
cmp dword [esi + 0xc], 0
jne 0x432302
xor al, al
jmp 0x432762
lea ecx, [ebp - 0x19c]
call fcn.0043a63e
mov dword [ebp - 4], 0
movaps xmm0, xmmword [0x48ae70]
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 - 0x140], 0
mov dword [ebp - 0x13c], 0x11
movups xmmword [ebp - 0x138], xmm0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x164], 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], 0x485d5c
push ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x16c]
push dword [esi + 0xc]
call fcn.00411fa0
mov edx, dword [ebp - 0x168]
xor ecx, ecx
cmp dword [esi + 0xc], ecx
jle 0x4323a3
mov eax, dword [esi + 8]
mov ax, word [eax + ecx*8]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, dword [esi + 0xc]
jl 0x432392
xor eax, eax
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x164], eax
jle 0x432659
nop word [eax + eax]
movzx edi, word [edx + eax*2]
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x170], edi
call fcn.0043a63e
mov eax, dword [ebp - 0x154]
xor esi, esi
mov byte [ebp - 4], 3
xor ecx, ecx
mov edx, dword [eax + 0xc]
test edx, edx
jle 0x4323fd
mov eax, dword [eax + 8]
nop dword [eax]
cmp word [eax], di
je 0x432418
inc ecx
add eax, 8
cmp ecx, edx
jl 0x4323f0
xor al, al
xor ecx, ecx
test al, al
cmove esi, ecx
lea ecx, [ebp - 0x188]
test esi, esi
je 0x43241f
push esi
call fcn.0043a69f
jmp 0x432428
mov esi, dword [eax + 4]
mov al, 1
jmp 0x4323ff
push 0xffffffffffffffff
push 0
call fcn.0043a88f
mov eax, dword [ebp - 0x180]
xor ecx, ecx
mov dword [ebp - 0x14c], ecx
test eax, eax
jle 0x432624
nop
test ecx, ecx
js 0x43277d
cmp ecx, eax
jge 0x43277d
mov eax, dword [ebp - 0x184]
mov esi, ecx
neg esi
sbb esi, esi
mov edi, dword [eax + ecx*4]
lea eax, [ecx - 1]
and esi, eax
mov dword [ebp - 0x158], edi
and esi, 0xfff
mov eax, ecx
neg eax
lea ecx, [ebp - 0x19c]
sbb eax, eax
and eax, 0xd000
or esi, eax
mov eax, dword [ebp - 0x170]
movzx eax, ax
shl esi, 0x10
or esi, eax
push esi
push dword [ebp - 0x194]
call fcn.0043a85c
cmp edi, esi
je 0x432609
push 0x1f31d
push esi
call fcn.0045bf41
imul edi, edx, 0x41a7
add esp, 8
imul eax, eax, 0xb14
sub edi, eax
jns 0x4324c9
add edi, 0x7fffffff
mov ecx, dword [ebp - 0x13c]
xor edx, edx
mov eax, edi
mov dword [ebp - 0x148], ecx
div ecx
mov eax, dword [ebp - 0x140]
mov ecx, edx
mov dword [ebp - 0x174], ecx
test eax, eax
jne 0x432550
mov eax, dword [ebp - 0x148]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436739
mov edx, eax
add esp, 4
mov dword [ebp - 0x140], edx
test edx, edx
je 0x43277d
mov eax, dword [ebp - 0x148]
lea ecx, [eax*4]
push ecx
push 0
push edx
call fcn.0044e9c0
mov eax, dword [ebp - 0x148]
add esp, 0xc
cmp dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], eax
je 0x43277d
jmp 0x43256b
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x43256b
cmp dword [eax + 0xc], edi
jne 0x432564
cmp dword [eax], esi
je 0x432600
mov eax, dword [eax + 8]
test eax, eax
jne 0x432557
mov eax, dword [ebp - 0x134]
test eax, eax
jne 0x4325bf
push 0x10
push dword [ebp - 0x12c]
lea eax, [ebp - 0x130]
push eax
call fcn.0043c0c5
mov edx, dword [ebp - 0x12c]
mov ecx, edx
shl ecx, 4
add ecx, 0xfffffff8
add ecx, eax
add edx, 0xffffffff
mov eax, dword [ebp - 0x134]
js 0x4325b7
mov dword [ecx + 8], eax
mov eax, ecx
sub ecx, 0x10
mov dword [ebp - 0x134], eax
sub edx, 1
jns 0x4325a4
test eax, eax
je 0x43277d
mov ecx, dword [eax + 8]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x174]
movups xmmword [eax], xmm0
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x134]
mov ecx, dword [ecx + 8]
inc dword [ebp - 0x138]
mov dword [ebp - 0x134], ecx
mov dword [eax], esi
mov dword [eax + 0xc], edi
mov ecx, dword [ebp - 0x140]
mov ecx, dword [ecx + edx*4]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x140]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp - 0x158]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x180]
inc ecx
mov dword [ebp - 0x14c], ecx
cmp ecx, eax
jl 0x432440
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 2
call fcn.0043a655
mov eax, dword [ebp - 0x150]
inc eax
mov dword [ebp - 0x150], eax
cmp eax, dword [ebp - 0x164]
jge 0x432653
mov edx, dword [ebp - 0x168]
jmp 0x4323c0
mov esi, dword [ebp - 0x154]
lea ecx, [ebp - 0x19c]
call fcn.004172a0
mov byte [ebp - 0x125], al
test al, al
je 0x4326d4
lea ecx, [ebp - 0x144]
call fcn.00416d40
mov byte [ebp - 0x125], al
test al, al
je 0x4326d4
push 0x110
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.0044e9c0
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 0x4326c4
cmp dword [ebp - 0x11c], 2
jae 0x4326c6
jmp 0x4326d4
jbe 0x4326d4
lea ecx, [esi + 4]
call fcn.00418950
mov byte [ebp - 0x125], al
mov eax, dword [ebp - 0x168]
test eax, eax
je 0x4326e7
push eax
call fcn.00436734
add esp, 4
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x140]
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 edx, edx
je 0x432728
mov esi, dword [ebp - 0x13c]
xor ecx, ecx
test esi, esi
je 0x432715
nop dword [eax + eax]
inc ecx
cmp ecx, esi
jb 0x432710
push edx
call fcn.00436734
add esp, 4
mov dword [ebp - 0x140], 0
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
call fcn.0043c0f6
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x130], 0
call fcn.0043a655
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.0044c2a6
mov esp, ebp
pop ebp
ret
call fcn.00437e01
int3