Function at 0x533010
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e0c37
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x30], ebx
call fcn.005280c0
test al, al
je 0x533fe7
mov ecx, edi
call fcn.0049bc30
mov ecx, dword [str.msw.remap]
mov eax, dword [edi + 0x194]
push ecx
lea ecx, [esp + 0xd8]
mov dword [esp + 0x18], eax
call fcn.00402c90
lea edx, [esp + 0xd4]
push edx
mov dword [esp + 0x10c], ebx
call fcn.005a5320
add esp, 4
mov esi, 8
test al, al
je 0x5330e1
mov eax, dword [str.msw.remap]
push eax
lea ecx, [esp + 0xb4]
call fcn.00402c90
lea ecx, [esp + 0xb0]
push ecx
mov byte [esp + 0x10c], 1
mov dword [esp + 0x34], 1
call fcn.005a52b0
add esp, 4
mov dword [esp + 0x38], eax
jmp 0x5330f5
call fcn.004b0380
xor edx, edx
cmp eax, esi
setle dl
lea edx, [edx + edx - 1]
mov dword [esp + 0x38], edx
test byte [esp + 0x30], 1
je 0x533141
mov eax, dword [esp + 0xcc]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xc4], esi
jb 0x533125
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.00584768
add esp, 4
xor edx, edx
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], ebx
mov word [esp + 0xb0], dx
mov eax, dword [esp + 0xf0]
push eax
mov dword [esp + 0x10c], 0xffffffff
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xe8], esi
jb 0x533175
mov ecx, dword [esp + 0xd4]
push ecx
call fcn.00584768
add esp, 4
xor esi, esi
cmp dword [edi + 0x1d8], ebx
jbe 0x53319d
nop
mov eax, dword [edi + 0x138]
push ebx
push ebx
push 0x416
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
inc esi
cmp esi, dword [edi + 0x1d8]
jb 0x533180
mov edx, dword [edi + 0xdc]
shr edx, 7
mov dword [esp + 0x30], ebx
test dl, 1
jne 0x533a40
mov esi, dword [edi + 0x1c0]
imul esi, dword [esp + 0x14]
mov ecx, dword [edi + 0x1c4]
mov eax, dword [edi + 0x1d0]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], esi
call fcn.004e8210
mov dword [esp + 0x108], 2
mov dword [esp + 0x44], ebx
mov edx, dword [esp + 0x34]
push 0xffffffffffffffff
push edx
push esi
lea ecx, [esp + 0x4c]
mov byte [esp + 0x114], 3
mov dword [esp + 0x4c], vtable.wxBitmap.0
call fcn.004d33f0
mov esi, dword [edi + 0x19c]
mov eax, dword [edi + 0x1c4]
mov ecx, dword [edi + 0x1c0]
mov byte [esp + 0x108], 4
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
cmp esi, ebx
je 0x5333e4
nop
mov ecx, dword [esi + 8]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], vtable.wxBitmap.0
cmp dword [ecx + 0xc], 1
mov byte [esp + 0x108], 5
jne 0x5332b6
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.00530a40
lea ecx, [esp + 0x64]
mov byte [esp + 0x108], 6
cmp ecx, eax
je 0x533285
push eax
call fcn.00423b20
lea ecx, [esp + 0x4c]
mov byte [esp + 0x108], 5
call fcn.00506650
mov ecx, dword [esp + 0x68]
cmp ecx, ebx
je 0x5332b6
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x5332b6
lea ecx, [esp + 0x64]
call fcn.004d1b30
test al, al
jne 0x5332d7
lea ecx, [esp + 0x64]
mov byte [esp + 0x108], 4
call fcn.00506650
mov esi, dword [esi + 0xc]
cmp esi, ebx
jne 0x533240
jmp 0x5333e4
push 1
lea ecx, [esp + 0x44]
call fcn.004d1b10
mov eax, dword [esp + 0x44]
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xc4], vtable.wxObject.0
mov dword [esp + 0xc8], eax
cmp eax, ebx
je 0x533322
inc dword [eax + 4]
mov dword [esp + 0xc4], vtable.wxBitmap.0
push 0x20
lea ecx, [esp + 0xb4]
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x110], 7
call fcn.004d2cc0
mov dword [esp + 0xcc], eax
cmp eax, ebx
je 0x533391
mov ecx, dword [esp + 0x34]
mov edx, eax
cmp ecx, ebx
jle 0x533391
mov esi, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
cmp esi, ebx
jle 0x53337d
lea eax, [edx + 1]
mov ecx, esi
mov edi, edi
mov dword [eax - 1], 0
add eax, 4
dec ecx
jne 0x533370
add edx, dword [esp + 0xc0]
dec dword [esp + 0x2c]
jne 0x533365
mov eax, dword [esp + 0xcc]
mov byte [esp + 0x108], 8
cmp eax, ebx
je 0x5333bf
push 1
lea ecx, [esp + 0xc8]
call fcn.004d1b10
lea edx, [esp + 0xb0]
push edx
lea ecx, [esp + 0xc8]
call fcn.004d34f0
lea ecx, [esp + 0xc4]
mov byte [esp + 0x108], 5
call fcn.00506650
lea ecx, [esp + 0x64]
mov byte [esp + 0x108], 4
call fcn.00506650
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x70]
call fcn.004e9130
cmp dword [esp + 0x38], 2
je 0x533487
lea ecx, [esp + 0x40]
call fcn.004d1b30
test al, al
jne 0x533487
lea ecx, [esp + 0x4c]
push ecx
mov ecx, edi
call fcn.0049ef20
push 0x64
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x110], 9
call fcn.004f2fb0
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx]
mov edx, dword [edx + 0x7c]
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0x10c], 0xa
call edx
lea ecx, [esp + 0x80]
mov byte [esp + 0x108], 9
call fcn.00506650
lea ecx, [esp + 0x4c]
mov byte [esp + 0x108], 4
mov dword [esp + 0x4c], vtable.wxObject.0
call fcn.00423980
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc4]
call edx
mov eax, dword [esp + 0x44]
cmp eax, ebx
jne 0x533493
xor esi, esi
jmp 0x533496
mov esi, dword [eax + 0x20]
cmp dword [esp + 0x38], ebx
jne 0x5334cb
push 0x68d948
lea ecx, [esp + 0x70]
call fcn.004e9130
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push esi
call fcn.00531570
add esp, 0xc
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x70]
call fcn.004e9130
mov ecx, edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], ebx
call fcn.005317f0
mov eax, dword [edi + 0x19c]
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x533881
lea esp, [esp]
mov esi, dword [eax + 8]
cmp dword [esi + 0xc], 1
jne 0x533872
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x7c]
push ecx
mov ecx, esi
call fcn.00530a40
mov ecx, dword [esp + 0x7c]
mov byte [esp + 0x108], 0xb
cmp ecx, ebx
je 0x533615
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x533615
lea ecx, [esp + 0x40]
call fcn.004d1b30
test al, al
je 0x5335f7
lea ecx, [esp + 0x78]
call fcn.004d1b30
test al, al
jne 0x5335f7
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x7c]
call fcn.004d4060
lea ecx, [esp + 0xa0]
mov byte [esp + 0x108], 0xc
call fcn.005351d0
mov dword [esp + 0xac], ebx
push 0xffffffffffffffff
lea edx, [esp + 0xa4]
push edx
lea ecx, [esp + 0xb0]
mov byte [esp + 0x110], 0xd
mov dword [esp + 0xb0], vtable.wxBitmap.0
call fcn.004d34d0
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x10c], 0xe
call fcn.00423b20
lea ecx, [esp + 0xa8]
mov byte [esp + 0x108], 0xc
call fcn.00506650
lea ecx, [esp + 0xa0]
mov byte [esp + 0x108], 0xb
mov dword [esp + 0xa0], vtable.wxObject.0
call fcn.00423980
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx]
mov edx, dword [edx + 0x188]
push 1
push ebx
push eax
lea eax, [esp + 0x84]
push eax
call edx
cmp dword [edi + 0x1d4], ebx
je 0x53384f
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x94]
push ecx
mov ecx, esi
call fcn.00530a70
mov ecx, dword [esp + 0x94]
mov byte [esp + 0x108], 0xf
cmp ecx, ebx
je 0x53365a
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
test al, al
jne 0x5337f3
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x7c]
call fcn.004d4060
lea edx, [esp + 0x88]
push edx
mov ecx, eax
mov byte [esp + 0x10c], 0x10
call fcn.00538360
lea ecx, [esp + 0x4c]
mov byte [esp + 0x108], 0x12
mov dword [esp + 0x4c], vtable.wxObject.0
call fcn.00423980
cmp dword [esp + 0x38], 1
jne 0x533772
xor ebx, ebx
mov dword [esp + 0x3c], ebx
cmp dword [edi + 0x1c4], ebx
jle 0x533772
jmp 0x5336c0
xor esi, esi
mov dword [esp + 0x48], esi
cmp dword [edi + 0x1c0], esi
jle 0x533761
push 0x80
push ebx
push esi
lea ecx, [esp + 0x94]
call fcn.00535330
test al, al
je 0x533750
push 0x10
call fcn.004b0630
push 0x10
mov esi, eax
call fcn.004b0630
push 0x10
mov ebx, eax
call fcn.004b0630
mov dword [esp + 0x70], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
add esp, 0xc
mov ecx, esi
call edx
mov edx, dword [ebx]
movzx eax, al
push eax
mov eax, dword [edx + 0x14]
mov ecx, ebx
call eax
movzx ecx, al
push ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov edx, dword [esp + 0x44]
movzx ecx, al
mov eax, dword [esp + 0x50]
push ecx
push edx
push eax
lea ecx, [esp + 0x9c]
call fcn.00534eb0
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x3c]
inc esi
mov dword [esp + 0x48], esi
cmp esi, dword [edi + 0x1c0]
jl 0x5336d2
inc ebx
mov dword [esp + 0x3c], ebx
cmp ebx, dword [edi + 0x1c4]
jl 0x5336c0
xor ebx, ebx
mov dword [esp + 0x84], ebx
push 0xffffffffffffffff
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x88]
mov byte [esp + 0x110], 0x13
mov dword [esp + 0x88], vtable.wxBitmap.0
call fcn.004d34d0
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0x94]
mov byte [esp + 0x10c], 0x14
call fcn.00423b20
lea ecx, [esp + 0x80]
mov byte [esp + 0x108], 0x12
call fcn.00506650
lea ecx, [esp + 0x88]
mov byte [esp + 0x108], 0xf
mov dword [esp + 0x88], vtable.wxObject.0
call fcn.00423980
cmp dword [esp + 0x38], 1
jne 0x533823
mov eax, dword [esp + 0x94]
cmp eax, ebx
jne 0x533809
xor eax, eax
jmp 0x53380c
mov eax, dword [eax + 0x20]
mov ecx, dword [edi + 0x1c4]
mov edx, dword [edi + 0x1c0]
push ecx
push edx
push eax
call fcn.00531570
add esp, 0xc
mov ecx, dword [edi + 0x1d4]
push 0x68d948
lea eax, [esp + 0x94]
push eax
call fcn.0053f8c0
lea ecx, [esp + 0x90]
mov byte [esp + 0x108], 0xb
call fcn.00506650
mov ecx, dword [edi + 0x1c0]
add dword [esp + 0x2c], ecx
inc dword [esp + 0x18]
lea ecx, [esp + 0x78]
mov byte [esp + 0x108], 4
call fcn.00506650
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1c], eax
cmp eax, ebx
jne 0x5334f0
push 0x68d948
lea ecx, [esp + 0x70]
call fcn.004e9130
lea ecx, [esp + 0x40]
call fcn.004d1b30
test al, al
je 0x53391b
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x44]
call fcn.004d4060
push 0xffffffffffffffff
push 1
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x114], 0x15
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xd0], 1
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xc4], ebx
call fcn.005441a0
mov esi, dword [esp + 0xb0]
lea ecx, [esp + 0x4c]
mov dword [esp + 0xb0], ebx
mov byte [esp + 0x108], 4
mov dword [esp + 0x4c], vtable.wxObject.0
call fcn.00423980
jmp 0x533937
mov eax, dword [esp + 0x44]
cmp eax, ebx
jne 0x533927
xor esi, esi
jmp 0x53392a
mov esi, dword [eax + 0x20]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x50]
call fcn.004d1bb0
cmp dword [esp + 0x38], 1
jne 0x533953
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push esi
call fcn.00531570
add esp, 0xc
mov esi, eax
mov dword [edi + 0x1d0], esi
mov dword [esp + 0x4c], ebx
cmp dword [esp + 0x28], ebx
je 0x5339a0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x4c]
push ecx
push ebx
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0x138]
push 0x42e
push eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], edx
mov dword [esp + 0x68], esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x5339c0
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x138]
lea ecx, [esp + 0x4c]
push ecx
push edx
push 0x413
push eax
mov dword [esp + 0x60], esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x1d4]
cmp eax, ebx
je 0x5339cf
mov ecx, dword [eax + 8]
jmp 0x5339d1
xor ecx, ecx
mov eax, dword [edi + 0x138]
push ecx
push ebx
push 0x436
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
je 0x5339f0
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [esp + 0x40]
mov byte [esp + 0x108], 2
call fcn.00506650
mov dword [esp + 0x6c], vtable.wxDC.0
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x108], 0x16
cmp ecx, ebx
je 0x533a24
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x108], 0xffffffff
mov dword [esp + 0x6c], vtable.wxObject.0
call fcn.00423980
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov edx, 0x14
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0058229a
add esp, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x108], 0x17
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov eax, dword [edi + 0x19c]
mov byte [esp + 0x108], 0x18
mov byte [esp + 0x27], 0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x533c9a
mov ebx, dword [esp + 0x3c]
add ebx, 8
mov eax, dword [esp + 0x1c]
mov esi, dword [eax + 8]
xor eax, eax
mov dword [ebx - 8], eax
mov dword [ebx - 4], eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov byte [esp + 0x26], al
mov eax, dword [esi + 0xc]
dec eax
je 0x533b3e
dec eax
je 0x533aea
dec eax
jne 0x533c6a
mov ecx, edi
call fcn.00527bd0
test al, al
jne 0x533aea
push esi
lea ecx, [esp + 0x50]
push ecx
mov ecx, edi
call fcn.00530d80
mov edx, dword [eax]
mov dword [ebx - 8], edx
cmp dword [esi + 0xc], 2
jne 0x533b0f
cmp byte [esi + 0x1c], 0
je 0x533b0f
cmp dword [esi + 0x10], 0xfffffffe
jne 0x533b0f
push 1
call fcn.004e72a0
add esp, 4
push eax
lea ecx, [esi + 0x10]
call fcn.004e7250
mov eax, dword [esi + 0x10]
mov ecx, edi
mov dword [ebx - 4], eax
call fcn.00527bd0
test al, al
je 0x533b32
cmp dword [esi + 0xc], 3
jne 0x533b32
mov byte [ebx], 8
mov byte [ebx + 1], 1
jmp 0x533c6a
mov byte [ebx], 4
mov byte [ebx + 1], 1
jmp 0x533c6a
mov ecx, dword [edi + 0xdc]
shr ecx, 7
test cl, 1
jne 0x533b53
mov edx, dword [esp + 0x30]
mov dword [ebx - 8], edx
mov eax, dword [edi + 0xdc]
shr eax, 8
test al, 1
je 0x533b74
cmp dword [esi + 0x38], 0
lea eax, [esi + 0x28]
je 0x533b74
cmp dword [eax + 0x14], 8
jb 0x533b71
mov eax, dword [eax]
mov dword [ebx + 8], eax
mov ecx, dword [esi + 0x10]
mov dword [ebx - 4], ecx
cmp byte [esi + 0x1e], 0
je 0x533b83
or byte [ebx], 4
call fcn.00530c60
test al, al
je 0x533b8f
or byte [ebx], 1
mov eax, dword [esi + 0x14]
cmp eax, 3
ja case.0x533b9b.0
jmp dword [eax*4 + 0x53400c]
cmp byte [esp + 0x27], 0
mov byte [ebx + 1], 6
jne 0x533bdc
or byte [ebx], 1
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push 1
mov ecx, esi
call eax
test al, al
je 0x533c3e
mov edx, dword [edi]
mov eax, dword [edx + 0x47c]
push 1
push esi
mov ecx, edi
call eax
mov byte [esp + 0x26], 1
jmp 0x533c55
cmp byte [esi + 0x1d], 0
je 0x533c3e
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx + 0x10]
test esi, esi
je 0x533c3e
lea edx, [ebx - 0x14]
mov dword [esp + 0x20], edx
mov eax, dword [esi + 8]
cmp dword [eax + 0xc], 1
mov dword [esp + 0x14], eax
jne 0x533c3e
cmp dword [eax + 0x14], 2
jne 0x533c3e
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push 0
call edx
test al, al
je 0x533c29
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
mov edx, dword [eax + 0x47c]
push 0
push ecx
mov ecx, edi
call edx
mov eax, dword [esp + 0x20]
and byte [eax], 0xfe
mov esi, dword [esi + 0x10]
sub eax, 0x14
mov dword [esp + 0x20], eax
test esi, esi
jne 0x533bf4
mov byte [esp + 0x26], 1
jmp 0x533c55
mov byte [ebx + 1], 2
jmp 0x533c55
mov byte [ebx + 1], 8
jmp 0x533c55
mov byte [ebx + 1], 0
mov eax, dword [edi + 0xdc]
shr eax, 0xb
test al, 1
je 0x533c66
or byte [ebx + 1], 0x10
inc dword [esp + 0x30]
mov ecx, edi
call fcn.00527bd0
test al, al
je 0x533c78
or byte [ebx], 0x20
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0xc]
mov cl, byte [esp + 0x26]
inc dword [esp + 0x28]
add ebx, 0x14
mov byte [esp + 0x27], cl
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x533aa2
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
mov edx, dword [edi + 0x138]
push eax
push ecx
push 0x444
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x4c]
push eax
mov ecx, edi
call fcn.0049c710
mov ecx, dword [edi + 0xdc]
mov esi, dword [eax + 4]
shr ecx, 9
mov dword [esp + 0x28], esi
test cl, 1
jne 0x533ceb
push edi
push 6
call fcn.004aadf0
add esp, 8
neg eax
lea edx, [esi + eax*2]
mov dword [esp + 0x28], edx
mov eax, dword [edi + 0x19c]
xor ecx, ecx
mov dword [edi + 0x1dc], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], eax
cmp eax, ecx
je 0x533f57
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax + 8]
mov eax, dword [esp + 0x34]
mov esi, dword [edi + 0x138]
mov ecx, dword [ebx + 0x10]
lea edx, [esp + 0x4c]
push edx
push eax
push 0x41d
push esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x533d82
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x20], eax
test eax, eax
je 0x533d77
cmp dword [esp + 0x14], 0xfffffffd
je 0x533d77
mov ecx, dword [esp + 0x14]
push 0
push ecx
push 0x412
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x533d6c
test al, 8
jne 0x533d77
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov eax, dword [ebx + 0xc]
cmp eax, 3
je 0x533dc4
cmp eax, 2
jne 0x533d99
cmp byte [ebx + 0x1c], 0
jne 0x533f40
mov ecx, edi
call fcn.00527bd0
test al, al
je 0x533db1
mov ecx, dword [esp + 0x58]
sub ecx, dword [esp + 0x50]
jmp 0x533f3a
mov edx, dword [esp + 0x54]
sub edx, dword [esp + 0x4c]
add dword [edi + 0x1dc], edx
jmp 0x533f40
mov esi, dword [ebx + 0x18]
mov ecx, edi
call fcn.00527bd0
test al, al
mov eax, dword [esi]
mov edx, dword [eax + 0xe4]
mov ecx, esi
je 0x533e01
push 0
call edx
mov ebx, dword [ebx + 0x98]
test ebx, ebx
je 0x533f40
mov eax, dword [ebx]
mov edx, dword [eax + 0xe4]
push 0
mov ecx, ebx
call edx
jmp 0x533f40
push 1
call edx
mov eax, dword [esi]
mov eax, dword [eax + 0x2a0]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call eax
mov eax, dword [edi + 0x1b8]
mov ecx, dword [esp + 0x2c]
cdq
and edx, 3
lea ebx, [edx + eax]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x98]
mov edx, dword [esp + 0x30]
sar ebx, 2
add ebx, dword [esp + 0x4c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
test eax, eax
je 0x533efe
mov ecx, edi
call fcn.00530aa0
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0xe4]
mov byte [esp + 0x48], al
mov eax, dword [esp + 0x48]
push eax
call edx
cmp byte [esp + 0x48], 0
je 0x533efe
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2a0]
lea edx, [esp + 0x64]
push edx
lea edx, [esp + 0x3c]
push edx
call eax
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x2c]
jle 0x533ea4
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x14], eax
lea eax, [edx + ecx + 3]
cdq
sub eax, edx
mov ecx, dword [esp + 0x18]
sar eax, 1
add eax, dword [esp + 0x50]
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x48]
cdq
sub eax, edx
sar eax, 1
add eax, ebx
push eax
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x2b8]
call edx
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x30]
lea edx, [eax + ecx + 3]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x14]
push 0
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x54]
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x3c]
mov ecx, esi
cdq
sub eax, edx
sar eax, 1
add eax, ebx
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x2b8]
call eax
mov ecx, dword [esp + 0x54]
sub ecx, dword [esp + 0x4c]
add dword [edi + 0x1dc], ecx
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0xc]
inc dword [esp + 0x34]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x533d09
mov eax, dword [esp + 0x34]
mov ecx, edi
mov dword [edi + 0x1d8], eax
call fcn.00527bd0
test al, al
jne 0x533fb0
cmp dword [edi + 0x1b0], 0
jne 0x533f79
push 1
jmp 0x533fc5
lea ecx, [esp + 0x4c]
push ecx
mov ecx, edi
call fcn.0049c710
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov edx, dword [edi]
mov edx, dword [edx + 0x2b8]
push 0
push ecx
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, edi
call edx
mov ecx, edi
call fcn.00530f80
push 0
mov ecx, edi
call fcn.0049cbb0
jmp 0x533fd1
mov eax, dword [edi + 0x1d8]
test eax, eax
je 0x533fd1
mov dword [edi + 0x1b0], 1
push eax
mov edx, dword [edi]
mov eax, dword [edx + 0x444]
mov ecx, edi
call eax
push 0
call fcn.005844d1
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00585c9e
add esp, 8
mov al, 1
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.00585b7b
mov esp, ebp
pop ebp
ret