Function at 0x480590
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4f3cbc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x288
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
push ebx
call fcn.004803e0
push 0x14
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 0x27
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 1
call fcn.004de48f
add esp, 4
cmp eax, ebx
je 0x480604
mov ecx, dword [0x50d0e0]
mov dword [eax + 0x10], ecx
mov dword [eax], ebx
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x480606
xor eax, eax
mov dword [eax], 1
mov dword [eax + 4], 2
push ebp
mov dword [esp + 0x60], eax
lea edx, [esp + 0x90]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x90]
push 0x104
push edx
rep stosd dword es:[edi], eax
push 0x9cd5
call fcn.00432b50
mov edx, dword [esi + 0x84]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0xc
lea ecx, [esp + 0x34]
lea eax, [esp + 0x90]
push ecx
push ebx
push 0x1132
push edx
mov dword [esp + 0x5c], eax
call ebp
mov dword [esp + 0x68], eax
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x2a0], ebx
mov dword [esp + 0x70], ebx
push str.files
lea ecx, [esp + 0x84]
mov word [esp + 0x84], bx
call fcn.00406940
mov edi, dword [esp + 0x2a8]
lea eax, [esp + 0x70]
lea ecx, [esp + 0x80]
push eax
push ecx
push str.selectNodes
lea ecx, [edi + 4]
mov byte [esp + 0x2ac], 2
call fcn.004080f0
lea edx, [esp + 0x80]
mov dword [edi], eax
push edx
mov byte [esp + 0x2a4], 1
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [edi], ebx
jl 0x4806ed
mov eax, dword [esp + 0x70]
cmp eax, ebx
je 0x4806ed
push eax
lea ecx, [esp + 0x80]
call fcn.004080d0
lea ecx, [esp + 0x70]
mov byte [esp + 0x2a0], 0
call fcn.0042ca10
push 0x14
call fcn.004de48f
add esp, 4
cmp eax, ebx
je 0x480730
mov ecx, dword [0x50d0e0]
mov edi, eax
mov dword [eax + 0x10], ecx
mov dword [eax], ebx
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x480732
xor edi, edi
mov edx, dword [esp + 0x68]
lea eax, [esp + 0x90]
push 0x104
push eax
mov dword [edi], ebx
mov dword [edi + 4], 2
mov dword [edi + 8], 5
mov dword [edi + 0xc], 7
push 0x9ce4
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 0xffff0002
call fcn.00432b50
mov eax, dword [esi + 0x84]
add esp, 0xc
lea edx, [esp + 0x34]
lea ecx, [esp + 0x90]
push edx
push ebx
push 0x1132
push eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x70], edi
call ebp
push 0x14
mov dword [esp + 0x78], eax
call fcn.004de48f
add esp, 4
cmp eax, ebx
je 0x4807cc
mov ecx, dword [0x50d0e0]
mov edi, eax
mov dword [eax + 0x10], ecx
mov dword [eax], ebx
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x4807ce
xor edi, edi
lea edx, [esp + 0x90]
push 0x104
mov eax, 2
push edx
push 0x9ce5
mov dword [edi], ebx
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], 7
call fcn.00432b50
mov ecx, dword [esp + 0x74]
add esp, 0xc
lea eax, [esp + 0x90]
lea edx, [esp + 0x34]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x84]
push edx
push ebx
push 0x1132
push eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x44], ecx
call ebp
push 0x14
mov dword [esp + 0x34], eax
call fcn.004de48f
add esp, 4
cmp eax, ebx
je 0x48085d
mov ecx, dword [0x50d0e0]
mov edi, eax
mov dword [eax + 0x10], ecx
mov dword [eax], ebx
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x48085f
xor edi, edi
lea edx, [esp + 0x90]
push 0x104
mov eax, 2
push edx
push 0x9ce6
mov dword [edi], ebx
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], 4
call fcn.00432b50
mov eax, dword [esp + 0x3c]
add esp, 0xc
lea edx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x84]
push edx
push ebx
lea ecx, [esp + 0x98]
push 0x1132
push eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x70], edi
call ebp
mov cl, byte [esp + 0x6f]
mov dword [esp + 0x24], eax
mov byte [esp + 0x14], cl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov edx, dword [esp + 0x2a8]
push 1
push 2
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x2b0], 3
call fcn.00481940
mov eax, dword [esi + 0x24]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x10], edi
jne 0x480a68
jmp 0x48090f
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esp + 0x10]
xor ebx, ebx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x480a68
mov ecx, dword [esp + 0x1c]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x480a68
push 0x14
call fcn.004de48f
add esp, 4
cmp eax, ebx
je 0x48095e
mov edx, dword [0x50d0e0]
mov ebp, eax
mov dword [eax + 0x10], edx
mov dword [eax], ebx
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x480960
xor ebp, ebp
mov eax, 2
mov dword [ebp], ebx
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], 1
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x10]
lea eax, [eax + edi*4]
lea edi, [ebp + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [eax]
cmp ecx, eax
je 0x4809ca
cmp dword [ecx - 0xc], ebx
jge 0x48099e
mov edx, dword [0x50d0e4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4809a3
cmp dword [eax - 0xc], ebx
jge 0x4809b1
mov ecx, dword [eax - 8]
push eax
push ecx
mov ecx, edi
call fcn.004021f0
jmp 0x4809ca
mov ecx, edi
call fcn.00402350
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
mov dword [edi], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx - 8]
lea edx, [eax + eax + 2]
push edx
call fcn.004de48f
mov ebx, eax
mov eax, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx - 8]
lea ecx, [eax + 1]
test ecx, ecx
jbe 0x480a09
xor eax, eax
mov edi, ebx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + edi*4]
push eax
push ebx
call fcn.004df3e0
mov edx, dword [esi + 0x84]
mov eax, dword [esp + 0x2c]
add esp, 8
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x34], eax
push ecx
push 0
push 0x1132
push edx
mov dword [esp + 0x70], ebp
call dword [sym.imp.USER32.dll_SendMessageW]
test ebx, ebx
je 0x480a50
push ebx
call fcn.004de3a6
add esp, 4
mov eax, dword [esi + 0x24]
inc edi
test eax, eax
mov dword [esp + 0x10], edi
je 0x480903
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
push 0x14
call fcn.004de48f
add esp, 4
cmp eax, ebx
je 0x480a9a
mov ecx, dword [0x50d0e0]
mov edi, eax
mov dword [eax + 0x10], ecx
mov dword [eax], ebx
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x480a9c
xor edi, edi
lea edx, [esp + 0x90]
push 0x104
mov eax, 2
push edx
push 0x9ce7
mov dword [edi], ebx
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], 5
call fcn.00432b50
mov eax, dword [esp + 0x3c]
add esp, 0xc
lea edx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x84]
push edx
push ebx
lea ecx, [esp + 0x98]
push 0x1132
push eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x70], edi
call ebp
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], eax
call fcn.0048b170
mov eax, dword [esp + 0x2a8]
push 2
push 2
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.00481940
mov eax, dword [esi + 0x24]
mov dword [esp + 0x10], ebx
cmp eax, ebx
jne 0x480c8b
jmp 0x480b39
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x480c8b
mov edx, dword [esp + 0x1c]
sub edx, eax
sar edx, 2
cmp ebx, edx
jae 0x480c8b
push 0x14
call fcn.004de48f
add esp, 4
test eax, eax
je 0x480b8c
mov ecx, dword [0x50d0e0]
mov ebp, eax
mov dword [eax + 0x10], ecx
mov dword [eax], 0
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x480b8e
xor ebp, ebp
mov eax, 2
mov dword [ebp], 0
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp + 0x10]
lea edi, [ebp + 0x10]
mov eax, dword [edx + ebx*4]
lea ebx, [edx + ebx*4]
cmp ecx, eax
je 0x480bf5
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x480bcb
mov edx, dword [0x50d0e4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x480bd2
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x480be0
push eax
mov eax, dword [eax - 8]
push eax
mov ecx, edi
call fcn.004021f0
jmp 0x480bf5
mov ecx, edi
call fcn.00402350
mov ebx, dword [ebx]
mov dword [edi], ebx
add ebx, 0xfffffff4
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + edi*4]
mov eax, dword [edx - 8]
lea eax, [eax + eax + 2]
push eax
call fcn.004de48f
mov ecx, dword [esp + 0x1c]
mov ebx, eax
add esp, 4
mov edx, dword [ecx + edi*4]
mov eax, dword [edx - 8]
lea ecx, [eax + 1]
test ecx, ecx
jbe 0x480c34
xor eax, eax
mov edi, ebx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + edi*4]
push eax
push ebx
call fcn.004df3e0
mov eax, dword [esi + 0x84]
mov ecx, dword [esp + 0x2c]
add esp, 8
lea edx, [esp + 0x34]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x34], ecx
push edx
push 0
push 0x1132
push eax
mov dword [esp + 0x70], ebp
call dword [sym.imp.USER32.dll_SendMessageW]
test ebx, ebx
je 0x480c7b
push ebx
call fcn.004de3a6
add esp, 4
mov eax, dword [esi + 0x24]
inc edi
test eax, eax
mov dword [esp + 0x10], edi
je 0x480b35
push 0x14
call fcn.004de48f
add esp, 4
test eax, eax
je 0x480cc1
mov ecx, dword [0x50d0e0]
mov edi, eax
mov dword [eax + 0x10], ecx
mov dword [eax], 0
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x480cc3
xor edi, edi
lea edx, [esp + 0x90]
push 0x104
mov ebx, 2
push edx
push 0x9cec
mov dword [edi], 0
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], 6
call fcn.00432b50
mov eax, dword [esp + 0x3c]
add esp, 0xc
lea edx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x84]
push edx
push 0
lea ecx, [esp + 0x98]
push 0x1132
push eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x70], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
push ecx
push eax
push eax
call fcn.00474230
mov edx, dword [esp + 0x28]
add esp, 0xc
mov edi, eax
lea ecx, [esp + 0x14]
push edx
push edi
call fcn.0040e140
mov eax, dword [esp + 0x2a8]
push 3
push ebx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x2c], edi
call fcn.00481940
mov eax, dword [esi + 0x24]
xor edi, edi
test eax, eax
mov dword [esp + 0x10], edi
jne 0x480ed5
jmp 0x480d7f
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x480ed5
mov edx, dword [esp + 0x1c]
sub edx, eax
sar edx, 2
cmp edi, edx
jae 0x480ed5
push 0x14
call fcn.004de48f
add esp, 4
test eax, eax
je 0x480dd2
mov ecx, dword [0x50d0e0]
mov ebp, eax
mov dword [eax + 0x10], ecx
mov dword [eax], 0
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x480dd4
xor ebp, ebp
mov eax, 2
mov dword [ebp], 0
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], 3
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + edi*4]
lea ebx, [edx + edi*4]
lea edi, [ebp + 0x10]
cmp ecx, eax
je 0x480e3f
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x480e15
mov edx, dword [0x50d0e4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x480e1c
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x480e2a
push eax
mov eax, dword [eax - 8]
push eax
mov ecx, edi
call fcn.004021f0
jmp 0x480e3f
mov ecx, edi
call fcn.00402350
mov ebx, dword [ebx]
mov dword [edi], ebx
add ebx, 0xfffffff4
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + edi*4]
mov eax, dword [edx - 8]
lea eax, [eax + eax + 2]
push eax
call fcn.004de48f
mov ecx, dword [esp + 0x1c]
mov ebx, eax
add esp, 4
mov edx, dword [ecx + edi*4]
mov eax, dword [edx - 8]
lea ecx, [eax + 1]
test ecx, ecx
jbe 0x480e7e
xor eax, eax
mov edi, ebx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + edi*4]
push eax
push ebx
call fcn.004df3e0
mov eax, dword [esi + 0x84]
mov ecx, dword [esp + 0x2c]
add esp, 8
lea edx, [esp + 0x34]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x34], ecx
push edx
push 0
push 0x1132
push eax
mov dword [esp + 0x70], ebp
call dword [sym.imp.USER32.dll_SendMessageW]
test ebx, ebx
je 0x480ec5
push ebx
call fcn.004de3a6
add esp, 4
mov eax, dword [esi + 0x24]
inc edi
test eax, eax
mov dword [esp + 0x10], edi
je 0x480d7b
push 0x14
call fcn.004de48f
add esp, 4
test eax, eax
je 0x480f0c
mov ecx, dword [0x50d0e0]
mov ebp, 7
mov dword [eax + 0x10], ecx
mov dword [eax], 0
mov dword [eax + 0xc], ebp
mov dword [eax + 8], 4
mov dword [eax + 4], 3
mov edi, eax
jmp 0x480f13
xor edi, edi
mov ebp, 7
lea edx, [esp + 0x90]
push 0x104
push edx
push 0x9cea
mov dword [edi], 0
mov dword [edi + 4], 2
mov dword [edi + 8], 1
mov dword [edi + 0xc], ebp
call fcn.00432b50
mov ecx, dword [esp + 0x74]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0xc
lea eax, [esp + 0x90]
lea edx, [esp + 0x34]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x84]
push edx
push 0
push 0x1132
push eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x44], ecx
call ebx
push 0x14
mov dword [esp + 0x34], eax
call fcn.004de48f
add esp, 4
test eax, eax
je 0x480fac
mov ecx, dword [0x50d0e0]
mov edi, eax
mov dword [eax + 0x10], ecx
mov dword [eax], 0
mov dword [eax + 0xc], ebp
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x480fae
xor edi, edi
lea edx, [esp + 0x90]
push 0x104
push edx
push 0x9ce6
mov dword [edi], 0
mov dword [edi + 4], 2
mov dword [edi + 8], 1
mov dword [edi + 0xc], 4
call fcn.00432b50
mov eax, dword [esp + 0x3c]
add esp, 0xc
lea edx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x84]
push edx
push 0
lea ecx, [esp + 0x98]
push 0x1132
push eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x70], edi
call ebx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
push ecx
push eax
push eax
call fcn.00474230
mov edx, dword [esp + 0x28]
add esp, 0xc
mov edi, eax
lea ecx, [esp + 0x14]
push edx
push edi
call fcn.0040e140
mov eax, dword [esp + 0x2a8]
push 1
push 1
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x2c], edi
call fcn.00481940
mov eax, dword [esi + 0x24]
xor edi, edi
test eax, eax
mov dword [esp + 0x10], edi
jne 0x481201
jmp 0x48106a
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x481201
mov edx, dword [esp + 0x1c]
sub edx, eax
sar edx, 2
cmp edi, edx
jae 0x481201
push 0x14
call fcn.004de48f
add esp, 4
test eax, eax
je 0x4810bd
mov ecx, dword [0x50d0e0]
mov ebp, eax
mov dword [eax + 0x10], ecx
mov dword [eax], 0
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x4810bf
xor ebp, ebp
mov eax, 1
mov dword [ebp], 0
mov dword [ebp + 4], 2
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0x10]
mov ebx, dword [edx + edi*4]
lea ecx, [edx + edi*4]
lea edi, [ebp + 0x10]
cmp eax, ebx
mov dword [esp + 0x24], ecx
je 0x48116b
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x481104
mov ecx, dword [0x50d0e4]
add eax, 0xfffffff4
cmp eax, ecx
jne 0x48110b
mov eax, dword [ebx - 0xc]
test eax, eax
jge 0x481152
mov eax, dword [ebx - 8]
mov ecx, edi
push eax
mov dword [esp + 0x2c], eax
call fcn.004022b0
test eax, eax
je 0x48116b
mov ecx, dword [esp + 0x28]
lea eax, [ecx + ecx]
mov dword [esp + 0x24], eax
push eax
lea eax, [ecx + ecx + 2]
mov ecx, dword [edi]
push ebx
push eax
push ecx
call fcn.00402060
mov edx, dword [edi]
mov eax, dword [esp + 0x38]
add esp, 0x10
mov dword [edx - 8], eax
mov ecx, dword [edi]
mov edx, dword [esp + 0x24]
mov word [ecx + edx], 0
jmp 0x48116b
mov ecx, edi
call fcn.00402350
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov dword [edi], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + edi*4]
mov eax, dword [edx - 8]
lea eax, [eax + eax + 2]
push eax
call fcn.004de48f
mov ecx, dword [esp + 0x1c]
mov ebx, eax
add esp, 4
mov edx, dword [ecx + edi*4]
mov eax, dword [edx - 8]
lea ecx, [eax + 1]
test ecx, ecx
jbe 0x4811aa
xor eax, eax
mov edi, ebx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + edi*4]
push eax
push ebx
call fcn.004df3e0
mov eax, dword [esi + 0x84]
mov ecx, dword [esp + 0x34]
add esp, 8
lea edx, [esp + 0x34]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x34], ecx
push edx
push 0
push 0x1132
push eax
mov dword [esp + 0x70], ebp
call dword [sym.imp.USER32.dll_SendMessageW]
test ebx, ebx
je 0x4811f1
push ebx
call fcn.004de3a6
add esp, 4
mov eax, dword [esi + 0x24]
inc edi
test eax, eax
mov dword [esp + 0x10], edi
je 0x481066
push 0x14
call fcn.004de48f
add esp, 4
test eax, eax
je 0x481237
mov ecx, dword [0x50d0e0]
mov edi, eax
mov dword [eax + 0x10], ecx
mov dword [eax], 0
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x481239
xor edi, edi
lea edx, [esp + 0x90]
push 0x104
push edx
push 0x9ce7
mov dword [edi], 0
mov dword [edi + 4], 2
mov dword [edi + 8], 1
mov dword [edi + 0xc], 5
call fcn.00432b50
mov eax, dword [esp + 0x3c]
add esp, 0xc
lea edx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x84]
push edx
push 0
lea ecx, [esp + 0x98]
push 0x1132
push eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x70], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
push ecx
push eax
push eax
call fcn.00474230
mov edx, dword [esp + 0x28]
add esp, 0xc
mov edi, eax
lea ecx, [esp + 0x14]
push edx
push edi
call fcn.0040e140
mov eax, dword [esp + 0x2a8]
push 2
push 1
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x2c], edi
call fcn.00481940
mov eax, dword [esi + 0x24]
xor edi, edi
test eax, eax
mov dword [esp + 0x10], edi
jne 0x481490
jmp 0x4812f9
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x481490
mov edx, dword [esp + 0x1c]
sub edx, eax
sar edx, 2
cmp edi, edx
jae 0x481490
push 0x14
call fcn.004de48f
add esp, 4
test eax, eax
je 0x48134c
mov ecx, dword [0x50d0e0]
mov ebp, eax
mov dword [eax + 0x10], ecx
mov dword [eax], 0
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x48134e
xor ebp, ebp
mov eax, 2
mov dword [ebp], 0
mov dword [ebp + 4], eax
mov dword [ebp + 8], 1
mov dword [ebp + 0xc], eax
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0x10]
mov ebx, dword [edx + edi*4]
lea ecx, [edx + edi*4]
lea edi, [ebp + 0x10]
cmp eax, ebx
mov dword [esp + 0x2c], ecx
je 0x4813fa
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x481393
mov ecx, dword [0x50d0e4]
add eax, 0xfffffff4
cmp eax, ecx
jne 0x48139a
mov eax, dword [ebx - 0xc]
test eax, eax
jge 0x4813e1
mov eax, dword [ebx - 8]
mov ecx, edi
push eax
mov dword [esp + 0x2c], eax
call fcn.004022b0
test eax, eax
je 0x4813fa
mov ecx, dword [esp + 0x28]
lea eax, [ecx + ecx]
mov dword [esp + 0x2c], eax
push eax
lea eax, [ecx + ecx + 2]
mov ecx, dword [edi]
push ebx
push eax
push ecx
call fcn.00402060
mov edx, dword [edi]
mov eax, dword [esp + 0x38]
add esp, 0x10
mov dword [edx - 8], eax
mov ecx, dword [edi]
mov edx, dword [esp + 0x2c]
mov word [ecx + edx], 0
jmp 0x4813fa
mov ecx, edi
call fcn.00402350
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [edi], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + edi*4]
mov eax, dword [edx - 8]
lea eax, [eax + eax + 2]
push eax
call fcn.004de48f
mov ecx, dword [esp + 0x1c]
mov ebx, eax
add esp, 4
mov edx, dword [ecx + edi*4]
mov eax, dword [edx - 8]
lea ecx, [eax + 1]
test ecx, ecx
jbe 0x481439
xor eax, eax
mov edi, ebx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + edi*4]
push eax
push ebx
call fcn.004df3e0
mov eax, dword [esi + 0x84]
mov ecx, dword [esp + 0x2c]
add esp, 8
lea edx, [esp + 0x34]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x34], ecx
push edx
push 0
push 0x1132
push eax
mov dword [esp + 0x70], ebp
call dword [sym.imp.USER32.dll_SendMessageW]
test ebx, ebx
je 0x481480
push ebx
call fcn.004de3a6
add esp, 4
mov eax, dword [esi + 0x24]
inc edi
test eax, eax
mov dword [esp + 0x10], edi
je 0x4812f5
push 0x14
call fcn.004de48f
add esp, 4
test eax, eax
je 0x4814c6
mov ecx, dword [0x50d0e0]
mov edi, eax
mov dword [eax + 0x10], ecx
mov dword [eax], 0
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x4814c8
xor edi, edi
lea edx, [esp + 0x90]
push 0x104
push edx
push 0x9cec
mov dword [edi], 0
mov dword [edi + 4], 2
mov dword [edi + 8], 1
mov dword [edi + 0xc], 6
call fcn.00432b50
mov eax, dword [esp + 0x3c]
add esp, 0xc
lea edx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x84]
push edx
push 0
lea ecx, [esp + 0x98]
push 0x1132
push eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x70], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
push ecx
push eax
lea ecx, [esp + 0x1c]
mov edi, eax
call fcn.0040e140
mov edx, dword [esp + 0x2a8]
push 3
push 1
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, esi
mov dword [esp + 0x2c], edi
call fcn.00481940
mov eax, dword [esi + 0x24]
xor edi, edi
test eax, eax
mov dword [esp + 0x10], edi
jne 0x48173e
jmp 0x481579
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x48173e
mov ecx, dword [esp + 0x1c]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x48173e
push 0x14
call fcn.004de48f
add esp, 4
test eax, eax
je 0x4815cc
mov edx, dword [0x50d0e0]
mov ebp, eax
mov dword [eax + 0x10], edx
mov dword [eax], 0
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x4815ce
xor ebp, ebp
mov dword [ebp], 0
mov dword [ebp + 4], 2
mov dword [ebp + 8], 1
mov dword [ebp + 0xc], 3
mov eax, dword [esp + 0x18]
mov ebx, dword [eax + edi*4]
lea ecx, [eax + edi*4]
mov eax, dword [ebp + 0x10]
lea edi, [ebp + 0x10]
cmp eax, ebx
mov dword [esp + 0x2c], ecx
je 0x4816a8
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
test edx, edx
jge 0x48161b
lea edx, [eax - 0xc]
cmp edx, dword [0x50d0e4]
jne 0x481622
mov edx, dword [ebx - 0xc]
test edx, edx
jge 0x481669
mov eax, dword [ebx - 8]
mov ecx, edi
push eax
mov dword [esp + 0x2c], eax
call fcn.004022b0
test eax, eax
je 0x4816a8
mov ecx, dword [esp + 0x28]
lea eax, [ecx + ecx]
mov dword [esp + 0x2c], eax
push eax
lea eax, [ecx + ecx + 2]
mov ecx, dword [edi]
push ebx
push eax
push ecx
call fcn.00402060
mov edx, dword [edi]
mov eax, dword [esp + 0x38]
add esp, 0x10
mov dword [edx - 8], eax
mov ecx, dword [edi]
mov edx, dword [esp + 0x2c]
mov word [ecx + edx], 0
jmp 0x4816a8
mov edx, dword [0x50d0e4]
add eax, 0xfffffff4
cmp eax, edx
je 0x481696
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x48168f
mov eax, dword [edi]
sub eax, 0xc
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [0x50d0e0]
mov dword [edi], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov dword [edi], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + edi*4]
mov eax, dword [eax - 8]
lea ecx, [eax + eax + 2]
push ecx
call fcn.004de48f
mov edx, dword [esp + 0x1c]
mov ebx, eax
add esp, 4
mov eax, dword [edx + edi*4]
mov eax, dword [eax - 8]
lea ecx, [eax + 1]
test ecx, ecx
jbe 0x4816e7
xor eax, eax
mov edi, ebx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + edi*4]
push eax
push ebx
call fcn.004df3e0
mov ecx, dword [esi + 0x84]
mov edx, dword [esp + 0x2c]
add esp, 8
lea eax, [esp + 0x34]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x34], edx
push eax
push 0
push 0x1132
push ecx
mov dword [esp + 0x70], ebp
call dword [sym.imp.USER32.dll_SendMessageW]
test ebx, ebx
je 0x48172e
push ebx
call fcn.004de3a6
add esp, 4
mov eax, dword [esi + 0x24]
inc edi
test eax, eax
mov dword [esp + 0x10], edi
je 0x481575
push 0x14
call fcn.004de48f
add esp, 4
test eax, eax
je 0x481774
mov edx, dword [0x50d0e0]
mov edi, eax
mov dword [eax + 0x10], edx
mov dword [eax], 0
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x481776
xor edi, edi
lea eax, [esp + 0x90]
push 0x104
push eax
push 0x9ce9
mov dword [edi], 0
mov dword [edi + 4], 2
mov dword [edi + 8], 3
mov dword [edi + 0xc], 7
call fcn.00432b50
mov eax, dword [esi + 0x84]
mov ebp, dword [esp + 0x74]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0xc
lea edx, [esp + 0x34]
lea ecx, [esp + 0x90]
push edx
push 0
push 0x1132
push eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x70], edi
mov dword [esp + 0x44], ebp
call ebx
mov eax, dword [0x5258fc]
test eax, eax
je 0x48187f
push 0x14
call fcn.004de48f
add esp, 4
test eax, eax
je 0x481820
mov ecx, dword [0x50d0e0]
mov edi, eax
mov dword [eax + 0x10], ecx
mov dword [eax], 0
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x481822
xor edi, edi
lea edx, [esp + 0x90]
push 0x104
push edx
push 0x9ceb
mov dword [edi], 0
mov dword [edi + 4], 2
mov dword [edi + 8], 4
mov dword [edi + 0xc], 7
call fcn.00432b50
mov edx, dword [esi + 0x84]
add esp, 0xc
lea ecx, [esp + 0x34]
lea eax, [esp + 0x90]
push ecx
push 0
push 0x1132
push edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x44], ebp
call ebx
mov eax, dword [esi + 0x84]
push ebp
push 2
push 0x1102
push eax
call ebx
mov ecx, dword [esp + 0x74]
mov edx, dword [esi + 0x84]
push ecx
push 9
push 0x110b
push edx
call ebx
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, eax
mov edi, eax
pop ebp
je 0x4818ec
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esi]
mov edx, dword [0x50d0e4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4818e1
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x4818e1
mov eax, dword [esi]
sub eax, 0xc
push eax
call fcn.004de3a6
add esp, 4
add esi, 4
cmp esi, edi
jne 0x4818ba
mov esi, dword [esp + 0x14]
push esi
call fcn.004de3a6
mov eax, dword [esp + 0x7c]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x29c], 0xffffffff
pop edi
pop esi
cmp eax, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
pop ebx
je 0x48191f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x288]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x294
ret 4