Function at 0x4697a0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f788f
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x53ba20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x28], eax
mov ecx, dword [0x5706ac]
mov dword [ebp - 0x18], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x5559d4]
cmp eax, dword [ecx + 0xc]
jg 0x46abef
mov dword [ebp - 0x10], 0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 1
mov eax, dword [esi + 0xac]
test eax, eax
je 0x469866
cmp word [eax], 0
je 0x469866
mov ecx, dword [0x5512fc]
xor eax, eax
test ecx, ecx
jle 0x46982f
nop dword [eax]
cmp dword [eax*4 + 0x5513c0], 0x26
je 0x469866
inc eax
cmp eax, ecx
jl 0x469820
push 0x5559d0
lea ecx, [ebp - 0x10]
call fcn.00405140
push dword [esi + 0xac]
lea ecx, [ebp - 0x20]
call fcn.00404a20
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00404d60
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x4698cb
cmp word [eax], 0
je 0x4698cb
mov ecx, dword [0x5512fc]
xor eax, eax
test ecx, ecx
jle 0x469894
cmp dword [eax*4 + 0x5513c0], 0x409
je 0x4698cb
inc eax
cmp eax, ecx
jl 0x469882
push 0x5559d0
lea ecx, [ebp - 0x10]
call fcn.00405140
push dword [esi + 0xb0]
lea ecx, [ebp - 0x20]
call fcn.00404a20
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00404d60
mov eax, dword [esi + 0x33c]
or ebx, 0xffffffff
test eax, eax
je 0x469b88
cmp word [eax], 0
je 0x469b88
mov ecx, dword [0x5512fc]
xor eax, eax
test ecx, ecx
jle 0x469908
cmp dword [eax*4 + 0x5513c0], 0x408
je 0x469b88
inc eax
cmp eax, ecx
jl 0x4698f2
push 0x5559d0
lea ecx, [ebp - 0x10]
call fcn.00405140
push 0x50eac8
lea ecx, [ebp - 0x20]
call fcn.00404a20
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00404d60
push dword [esi + 0x33c]
call fcn.004c8c20
mov edx, eax
mov dword [ebp - 0x1c], eax
add esp, 4
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x469954
sub edx, esi
sar edx, 1
cmp edx, 0x64
jbe 0x469b5b
mov ecx, eax
xor edi, edi
mov dword [ebp - 0x20], edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x469976
sub ecx, edx
sar ecx, 1
cmp ecx, 0x64
jbe 0x469b2b
mov ebx, dword [ebp - 0x1c]
add ebx, 0xc8
movzx eax, word [ebx]
mov esi, ebx
mov dword [ebp - 0x38], eax
xor eax, eax
push 0xc
mov word [ebx], ax
call fcn.004c3423
mov edi, eax
add esp, 4
mov dword [ebp - 0x40], edi
mov byte [ebp - 4], 5
test edi, edi
je 0x4699ec
lea ecx, [ebx - 0xc8]
mov dword [edi + 4], 0
push ecx
mov dword [edi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
jne 0x4699ee
lea eax, [ebx - 0xc8]
test eax, eax
jne 0x46ac3b
jmp 0x4699ee
xor edi, edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x46ac3b
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
mov byte [ebp - 4], 1
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x469a51
mov eax, dword [edi]
test eax, eax
je 0x469a2f
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x469a46
push eax
call fcn.004c3453
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.004c3279
add esp, 8
push 0xc
call fcn.004c3423
mov edi, eax
add esp, 4
mov dword [ebp - 0x34], edi
mov byte [ebp - 4], 7
test edi, edi
je 0x469a8d
push 0x50eaec
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
je 0x46ac3b
jmp 0x469a8f
xor edi, edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x46ac3b
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
mov byte [ebp - 4], 1
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x469af2
mov eax, dword [edi]
test eax, eax
je 0x469ad0
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x469ae7
push eax
call fcn.004c3453
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.004c3279
add esp, 8
mov edi, dword [ebp - 0x20]
lea ecx, [esi + 2]
mov eax, dword [ebp - 0x38]
add edi, 0x64
mov word [ebx], ax
add ebx, 0xc8
mov dword [ebp - 0x20], edi
nop word [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x469b10
sub esi, ecx
sar esi, 1
cmp esi, 0x64
ja 0x469997
or ebx, 0xffffffff
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
lea eax, [eax + edi*2]
push eax
call fcn.00404a20
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00404d60
mov esi, dword [ebp + 0xc]
jmp 0x469b88
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
push dword [esi + 0x33c]
call fcn.00404a20
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00404d60
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x469c22
cmp word [eax], 0
je 0x469c22
mov ecx, dword [0x5512fc]
xor eax, eax
test ecx, ecx
jle 0x469bc2
nop dword [eax]
cmp dword [eax*4 + 0x5513c0], 0x425
je 0x469c22
inc eax
cmp eax, ecx
jl 0x469bb0
push 0x5559d0
lea ecx, [ebp - 0x10]
call fcn.00405140
push 0x50eafc
lea ecx, [ebp - 0x20]
call fcn.00404a20
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00404d60
push dword [esi + 0xb4]
lea ecx, [ebp - 0x20]
call fcn.00404a20
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00404d60
mov eax, dword [esi + 0x358]
test eax, eax
je 0x469cc2
cmp word [eax], 0
je 0x469cc2
mov ecx, dword [0x5512fc]
xor eax, eax
test ecx, ecx
jle 0x469c62
nop word [eax + eax]
cmp dword [eax*4 + 0x5513c0], 0x676
je 0x469cc2
inc eax
cmp eax, ecx
jl 0x469c50
push 0x5559d0
lea ecx, [ebp - 0x10]
call fcn.00405140
push 0x50eb10
lea ecx, [ebp - 0x20]
call fcn.00431dc0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00404d60
push dword [esi + 0x358]
lea ecx, [ebp - 0x20]
call fcn.00404a20
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00404d60
mov eax, dword [esi + 0x338]
test eax, eax
je 0x469d54
cmp word [eax], 0
je 0x469d54
mov ecx, dword [0x5512fc]
xor eax, eax
test ecx, ecx
jle 0x469cf4
cmp dword [eax*4 + 0x5513c0], 0x49d
je 0x469d54
inc eax
cmp eax, ecx
jl 0x469ce2
push 0x5559d0
lea ecx, [ebp - 0x10]
call fcn.00405140
push 0x50eb20
lea ecx, [ebp - 0x20]
call fcn.00404a20
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00404d60
push dword [esi + 0x338]
lea ecx, [ebp - 0x20]
call fcn.00404a20
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00404d60
cmp dword [esi + 0x368], 0
je 0x469f01
push 0x5559d0
lea ecx, [ebp - 0x10]
call fcn.00405140
push 0x50eb3c
push dword [esi + 0xe4]
call fcn.004c9380
add esp, 8
lea ecx, [ebp + 0xc]
test eax, eax
jne 0x469d98
push 0x50eb58
call fcn.00404a20
mov byte [ebp - 4], 0x11
jmp 0x469dfe
push 0x50eb80
call fcn.00404a20
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00404d60
mov eax, dword [esi + 0x35c]
test eax, eax
je 0x469e16
push eax
lea ecx, [ebp + 0xc]
call fcn.00404a20
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00404d60
push 0x50eabc
lea ecx, [ebp + 0xc]
call fcn.00404a20
mov byte [ebp - 4], 0x14
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00404d60
push dword [esi + 0x368]
lea ecx, [ebp + 0xc]
call fcn.00404a20
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00404d60
cmp dword [esi + 0x364], 0
je 0x469e9c
push 0x50eabc
lea ecx, [ebp + 0xc]
call fcn.00404a20
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00404d60
push dword [esi + 0x364]
lea ecx, [ebp + 0xc]
call fcn.00404a20
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0x17
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00404d60
cmp dword [esi + 0x360], 0
je 0x46aac1
push 0x50eabc
lea ecx, [ebp + 0xc]
call fcn.00404a20
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00404d60
push dword [esi + 0x360]
lea ecx, [ebp + 0xc]
call fcn.00404a20
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0x19
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00404d60
jmp 0x46aac1
push 0x50eba0
push dword [esi + 0xe4]
call fcn.004c9380
add esp, 8
test eax, eax
je 0x46aa57
push 0x50ebb8
push dword [esi + 0xe4]
call fcn.004c9380
add esp, 8
test eax, eax
je 0x46aa57
push 0x50ebd4
push dword [esi + 0xe4]
call fcn.004c9380
add esp, 8
test eax, eax
je 0x46aa57
push 0x50ebf4
push dword [esi + 0xe4]
call fcn.004c9380
add esp, 8
test eax, eax
je 0x46aa57
push 0x50ec20
push dword [esi + 0xe4]
call fcn.004c9380
add esp, 8
test eax, eax
je 0x46a9d3
push 0x50ec20
push dword [esi + 0xe4]
call fcn.004c9380
add esp, 8
test eax, eax
je 0x46a9d3
cmp dword [esi + 0x370], 0
je 0x46a3d5
push 0x5559d0
lea ecx, [ebp - 0x10]
call fcn.00405140
push 0x50ec48
lea ecx, [ebp - 0x20]
call fcn.00404a20
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00404d60
mov edi, dword [esi + 0x370]
test edi, edi
je 0x46aac1
push 0xc
call fcn.004c3423
mov esi, eax
add esp, 4
mov dword [ebp - 0x40], esi
mov byte [ebp - 4], 0x1e
test esi, esi
je 0x46a030
push 0x50ec68
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x46ac3b
jmp 0x46a032
xor esi, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x46ac3b
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x1f
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
mov byte [ebp - 4], 1
mov eax, ebx
lock xadd dword [esi + 8], eax
dec eax
jne 0x46a094
mov eax, dword [esi]
test eax, eax
je 0x46a072
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x46a089
push eax
call fcn.004c3453
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004c3279
add esp, 8
mov ebx, dword [edi]
push 0xc
call fcn.004c3423
mov esi, eax
add esp, 4
mov dword [ebp - 0x38], esi
mov byte [ebp - 4], 0x20
test esi, esi
je 0x46a0d2
push ebx
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x46a0d4
test ebx, ebx
jne 0x46ac3b
jmp 0x46a0d4
xor esi, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x46ac3b
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x21
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
or ebx, 0xffffffff
mov byte [ebp - 4], 1
mov eax, ebx
lock xadd dword [esi + 8], eax
dec eax
jne 0x46a139
mov eax, dword [esi]
test eax, eax
je 0x46a117
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x46a12e
push eax
call fcn.004c3453
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004c3279
add esp, 8
push 0xc
call fcn.004c3423
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 0x22
test esi, esi
je 0x46a175
push 0x50ec74
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x46ac3b
jmp 0x46a177
xor esi, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x46ac3b
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x23
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
mov byte [ebp - 4], 1
mov eax, ebx
lock xadd dword [esi + 8], eax
dec eax
jne 0x46a1d9
mov eax, dword [esi]
test eax, eax
je 0x46a1b7
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x46a1ce
push eax
call fcn.004c3453
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004c3279
add esp, 8
mov ebx, dword [edi + 4]
push 0xc
call fcn.004c3423
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 0x24
test esi, esi
je 0x46a218
push ebx
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x46a21a
test ebx, ebx
jne 0x46ac3b
jmp 0x46a21a
xor esi, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x46ac3b
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x25
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
or ebx, 0xffffffff
mov byte [ebp - 4], 1
mov eax, ebx
lock xadd dword [esi + 8], eax
dec eax
jne 0x46a27f
mov eax, dword [esi]
test eax, eax
je 0x46a25d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x46a274
push eax
call fcn.004c3453
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004c3279
add esp, 8
push 0xc
call fcn.004c3423
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 0x26
test esi, esi
je 0x46a2bb
push 0x50eca0
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x46ac3b
jmp 0x46a2bd
xor esi, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x46ac3b
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x27
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
mov byte [ebp - 4], 1
mov eax, ebx
lock xadd dword [esi + 8], eax
dec eax
jne 0x46a31f
mov eax, dword [esi]
test eax, eax
je 0x46a2fd
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x46a314
push eax
call fcn.004c3453
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004c3279
add esp, 8
mov ebx, dword [edi + 8]
push 0xc
call fcn.004c3423
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 0x28
test esi, esi
je 0x46a35e
push ebx
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x46a360
test ebx, ebx
jne 0x46ac3b
jmp 0x46a360
xor esi, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x46ac3b
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x29
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
or ebx, 0xffffffff
mov byte [ebp - 4], 1
mov eax, ebx
lock xadd dword [esi + 8], eax
dec eax
jne 0x46a3c5
mov eax, dword [esi]
test eax, eax
je 0x46a3a3
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x46a3ba
push eax
call fcn.004c3453
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004c3279
add esp, 8
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x469ff4
jmp 0x46aabe
test byte [esi + 0xd0], 0x20
je 0x46aac1
cmp dword [esi + 0x36c], 0
je 0x46a467
push 0x50ecbc
lea ecx, [ebp - 0x20]
call fcn.00404a20
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x2a
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00404d60
push dword [esi + 0x36c]
lea ecx, [ebp - 0x20]
call fcn.00404a20
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x2b
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00404d60
push 0x50ecc4
lea ecx, [ebp - 0x20]
call fcn.00404a20
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x2c
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00404d60
push 0x5559d0
lea ecx, [ebp - 0x10]
call fcn.00405140
push 0x50ecc8
lea ecx, [ebp - 0x20]
call fcn.00404a20
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x2d
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00404d60
push 0x567850
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x56786c]
xor edi, edi
shl eax, 2
push eax
mov dword [ebp - 0x20], edi
call fcn.004c8c9a
add esp, 4
mov dword [ebp - 0x3c], edi
mov ecx, eax
mov dword [ebp - 0x14], ecx
cmp dword [0x56786c], edi
jle 0x46a83d
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
nop word [eax + eax]
mov eax, dword [0x567868]
mov eax, dword [ebx + eax + 0x24]
cmp eax, dword [esi + 0x24]
jne 0x46a821
mov dword [ebp - 0x44], 0
push 0x50ecdc
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x2e
call fcn.00431dc0
mov ecx, dword [0x567868]
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x2f
push dword [ebx + ecx + 4]
push eax
call fcn.00404f50
mov edi, eax
mov ecx, dword [0x567868]
push 0xc
mov byte [ebp - 4], 0x30
mov esi, dword [ebx + ecx]
call fcn.004c3423
mov ebx, eax
add esp, 0x10
mov dword [ebp - 0x48], ebx
mov byte [ebp - 4], 0x31
test ebx, ebx
je 0x46a56d
push esi
mov dword [ebx + 4], 0
mov dword [ebx + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebx], eax
test eax, eax
jne 0x46a56f
test esi, esi
jne 0x46ac3b
jmp 0x46a56f
xor ebx, ebx
mov byte [ebp - 4], 0x30
mov dword [ebp - 0x40], ebx
test ebx, ebx
je 0x46ac3b
mov eax, dword [edi]
mov byte [ebp - 4], 0x33
mov dword [ebp - 0x24], eax
test eax, eax
je 0x46a58f
lock inc dword [eax + 8]
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x40]
or esi, 2
lea ecx, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], esi
call fcn.00405140
push 0x504df8
lea ecx, [ebp - 0x30]
call fcn.00431dc0
mov edi, dword [ebp - 0x24]
mov byte [ebp - 4], 0x35
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x46a5c3
lock inc dword [edi + 8]
or esi, 4
lea ecx, [ebp - 0x2c]
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x28], esi
call fcn.00405140
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x46a5e0
lock inc dword [esi + 8]
and dword [ebp - 0x18], 0xfffffffb
test esi, esi
je 0x46a628
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x46a628
mov eax, dword [esi]
test eax, eax
je 0x46a606
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x46a61d
push eax
call fcn.004c3453
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004c3279
add esp, 8
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x46a683
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
dec eax
jne 0x46a67c
test ecx, ecx
je 0x46a67c
mov eax, dword [ecx]
test eax, eax
je 0x46a657
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], 0
mov eax, dword [ecx + 4]
test eax, eax
je 0x46a671
push eax
call fcn.004c3453
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov dword [ecx + 4], 0
push 0xc
push ecx
call fcn.004c3279
add esp, 8
mov dword [ebp - 0x30], 0
and dword [ebp - 0x18], 0xfffffffd
test edi, edi
je 0x46a6cb
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x46a6cb
mov eax, dword [edi]
test eax, eax
je 0x46a6a9
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x46a6c0
push eax
call fcn.004c3453
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.004c3279
add esp, 8
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
dec eax
jne 0x46a70b
mov eax, dword [ebx]
test eax, eax
je 0x46a6e9
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x46a700
push eax
call fcn.004c3453
add esp, 4
mov dword [ebx + 4], 0
push 0xc
push ebx
call fcn.004c3279
add esp, 8
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x46a75d
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x46a756
test edi, edi
je 0x46a756
mov eax, dword [edi]
test eax, eax
je 0x46a734
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x46a74b
push eax
call fcn.004c3453
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.004c3279
add esp, 8
mov dword [ebp - 0x34], 0
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x46a7af
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x46a7a8
test edi, edi
je 0x46a7a8
mov eax, dword [edi]
test eax, eax
je 0x46a786
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x46a79d
push eax
call fcn.004c3453
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.004c3279
add esp, 8
mov dword [ebp - 0x38], 0
test esi, esi
je 0x46a7b7
mov eax, dword [esi]
jmp 0x46a7b9
xor eax, eax
push eax
call fcn.004c8c20
mov edi, dword [ebp - 0x20]
add esp, 4
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
mov dword [ecx + edi*4], eax
inc edi
mov dword [ebp - 0x20], edi
test esi, esi
je 0x46a894
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x46a81b
mov eax, dword [esi]
test eax, eax
je 0x46a7f9
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x46a810
push eax
call fcn.004c3453
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004c3279
add esp, 8
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x3c]
add ebx, 0x2c
inc eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x3c], eax
cmp eax, dword [0x56786c]
jl 0x46a4e0
push 0x47b920
push 4
push edi
push ecx
call fcn.004d9110
add esp, 0x10
xor ebx, ebx
test edi, edi
jle 0x46a9c0
push 0xc
call fcn.004c3423
mov esi, eax
add esp, 4
mov dword [ebp - 0x48], esi
mov byte [ebp - 4], 0x36
test esi, esi
je 0x46a89c
push 0x50eabc
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x46ac3b
jmp 0x46a89e
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp + 0xc]
jmp 0x46a824
xor esi, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x40], esi
test esi, esi
je 0x46ac3b
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x37
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
mov byte [ebp - 4], 1
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x46a901
mov eax, dword [esi]
test eax, eax
je 0x46a8df
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x46a8f6
push eax
call fcn.004c3453
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004c3279
add esp, 8
mov edi, dword [ebp - 0x14]
push 0xc
mov edi, dword [edi + ebx*4]
call fcn.004c3423
mov esi, eax
add esp, 4
mov dword [ebp - 0x3c], esi
mov byte [ebp - 4], 0x38
test esi, esi
je 0x46a943
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x46a945
test edi, edi
jne 0x46ac3b
jmp 0x46a945
xor esi, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x40], esi
test esi, esi
je 0x46ac3b
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x39
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
mov byte [ebp - 4], 1
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x46a9a8
mov eax, dword [esi]
test eax, eax
je 0x46a986
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x46a99d
push eax
call fcn.004c3453
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004c3279
add esp, 8
mov eax, dword [ebp - 0x14]
push dword [eax + ebx*4]
call fcn.004c8c7f
inc ebx
add esp, 4
cmp ebx, dword [ebp - 0x20]
jl 0x46a858
push 0x567850
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x14]
jmp 0x46aab6
cmp word [esi + 0x28], 0x37
jb 0x46aac1
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x46aac1
push 0x50ec20
push dword [eax + 0xe4]
call fcn.004c9380
add esp, 8
test eax, eax
jne 0x46aac1
push 0x5559d0
lea ecx, [ebp - 0x10]
call fcn.00405140
push 0x50ec3c
lea ecx, [ebp + 0xc]
call fcn.00404a20
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0x1c
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00404d60
lea eax, [ebp - 0x10]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x4c]
push eax
push 0x4685a0
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x46aac1
push dword [esi + 0x24]
call fcn.0047aca0
mov esi, eax
add esp, 4
test esi, esi
je 0x46aabe
push 0x5559d0
lea ecx, [ebp - 0x10]
call fcn.00405140
push esi
lea ecx, [ebp - 0x3c]
call fcn.00404a20
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x1a
push 0x50ec10
push eax
call fcn.00404f50
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x1b
call fcn.00405140
lea ecx, [ebp - 0x40]
call fcn.00404d60
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00404d60
push esi
call fcn.004c8c7f
add esp, 4
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x46aad9
mov eax, dword [eax]
test eax, eax
je 0x46aad9
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jne 0x46ab10
push 0x5559d0
lea ecx, [ebp - 0x10]
call fcn.00405140
push dword [esi + 0xe4]
lea ecx, [ebp + 0xc]
call fcn.00404a20
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0x3a
push eax
lea ecx, [ebp - 0x10]
call fcn.00405140
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00404d60
mov eax, dword [0x5559d0]
test eax, eax
je 0x46ab1d
mov ecx, dword [eax]
jmp 0x46ab1f
xor ecx, ecx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46ab22
mov eax, dword [ebp - 0x10]
sub ecx, edx
sar ecx, 1
test eax, eax
je 0x46ab3c
mov eax, dword [eax]
jmp 0x46ab3e
xor eax, eax
push 0xc
lea edi, [eax + ecx*2]
call fcn.004c3423
mov esi, eax
add esp, 4
mov dword [ebp + 0xc], esi
mov byte [ebp - 4], 0x3b
test esi, esi
je 0x46ab7d
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x46ab7f
test edi, edi
jne 0x46ac3b
jmp 0x46ab7f
xor esi, esi
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 1
mov dword [edi], esi
test esi, esi
je 0x46ac45
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x46abdb
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x46abdb
test esi, esi
je 0x46abdb
mov eax, dword [esi]
test eax, eax
je 0x46abb9
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x46abd0
push eax
call fcn.004c3453
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004c3279
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x5559d4
call fcn.004c37dc
add esp, 4
cmp dword [0x5559d4], 0xffffffff
jne 0x4697f0
push 0x4fc480
mov ecx, 0x5559d0
mov dword [ebp - 4], 0
call fcn.00404a20
push 0x4f9c90
call fcn.004c3694
push 0x5559d4
call fcn.004c3792
add esp, 8
jmp 0x4697f0
push 0x8007000e
call fcn.004c2e60
push 0x8007000e
call fcn.004c2e60
int3