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

Disassembly:
push 0xffffffffffffffff
push 0x5e4870
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x680f10]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx + 4]
mov ebp, dword [eax]
mov edi, ecx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], edi
lea ebx, [ebx]
mov esi, dword [ecx + 4]
xor ebx, ebx
cmp edi, ebx
je 0x41006d
cmp edi, ecx
je 0x410072
call fcn.0044b7ad
cmp ebp, esi
je 0x4109c2
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x70], ebx
call fcn.00429496
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x410765
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
cmp edi, ebx
mov byte [esp + 0x70], 1
jne 0x4100b4
call fcn.0044b7ad
cmp ebp, dword [edi + 4]
jne 0x4100be
call fcn.0044b7ad
cmp byte [ebp + 0x10], bl
je 0x4100d2
push str.__Interface_Localize_Common
mov ebx, 0x1b
jmp 0x410156
cmp ebp, dword [edi + 4]
jne 0x4100dc
call fcn.0044b7ad
mov ecx, dword [ebp + 0x24]
cmp dword [ecx - 0xc], ebx
je 0x410135
cmp ebp, dword [edi + 4]
jne 0x4100ee
call fcn.0044b7ad
mov ecx, dword [ebp + 0x24]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41015f
cmp dword [esi + 0xc], ebx
lea edi, [esi + 0xc]
jl 0x41012f
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41012f
call fcn.00406d80
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x410126
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x41015f
mov ebx, dword [ecx - 0xc]
push ecx
jmp 0x410156
mov eax, 0x6592c8
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x410140
sub eax, edx
sar eax, 1
push 0x6592c8
mov ebx, eax
lea eax, [esp + 0x18]
call fcn.004016e0
push 0x6585a8
push 0x6590a0
lea ecx, [esp + 0x1c]
push ecx
call fcn.00410e60
mov eax, 0x6585a8
lea ebx, [esp + 0x14]
call fcn.00411080
push 0x6585a8
mov eax, ebx
call fcn.00405ef0
mov edx, dword [esp + 0x3c]
cmp ebp, dword [edx + 4]
jne 0x41019b
call fcn.0044b7ad
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
sub esi, 0x10
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4101c5
cmp eax, dword [esi]
jne 0x4101c5
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x410200
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x41076f
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0044ac0d
add esp, 0x10
add edi, 0x10
mov dword [esp + 0x18], edi
push 0x6585a8
push 0x6590a0
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x7c], 2
call fcn.00410e60
mov eax, 0x6585a8
lea ebx, [esp + 0x18]
call fcn.00411080
push 0x6585a8
mov eax, ebx
call fcn.00405ef0
lea edx, [esp + 0x2c]
push edx
mov ecx, 0x6585a0
call fcn.00401820
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ebx, eax
mov byte [esp + 0x78], 3
call fcn.00411130
add esp, 8
mov byte [esp + 0x70], 4
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4102b9
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4102ac
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4102ac
call fcn.00406d80
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4102a3
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x4102b9
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.004016e0
mov byte [esp + 0x70], 3
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4102de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 2
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410303
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], 0
je 0x410416
lea edx, [esp + 0x38]
push edx
mov ecx, 0x6585a8
call fcn.00401820
push eax
lea eax, [esp + 0x38]
push eax
lea ebx, [esp + 0x1c]
mov byte [esp + 0x78], 5
call fcn.00411130
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x3c]
push edx
mov ebx, eax
mov byte [esp + 0x80], 6
call fcn.00411130
add esp, 0x10
mov byte [esp + 0x70], 7
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4103a7
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x41039a
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41039a
call fcn.00406d80
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x410391
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x4103a7
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.004016e0
mov byte [esp + 0x70], 6
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4103cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 5
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4103f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 2
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410416
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, 8
push 0x6581a8
mov word [esp + 0x48], bx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
mov dword [esp + 0x4c], eax
jne 0x41043d
push 0x8007000e
call fcn.00463e60
mov byte [esp + 0x70], bl
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x28]
call fcn.00403260
push str.Caption
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 9
call fcn.00403260
mov byte [esp + 0x70], 0xa
cmp dword [0x690190], 0
jne 0x4104a8
cmp byte [0x690194], 0
jne 0x410774
push 0x18
call fcn.004274d1
add esp, 4
test eax, eax
je 0x410494
mov esi, eax
call fcn.0040f030
jmp 0x410496
xor eax, eax
push 0x402960
mov dword [0x690190], eax
call fcn.0044ae07
add esp, 4
mov edx, dword [0x690190]
mov eax, dword [edx + 0x10]
test eax, eax
je 0x4104ba
lea ecx, [eax + 8]
jmp 0x4104bc
xor ecx, ecx
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x44]
push edx
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x60]
push edx
call eax
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 0xb
call fcn.00411360
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x54]
push ecx
call edi
mov eax, dword [esp + 0x20]
xor ebx, ebx
cmp eax, ebx
je 0x41053a
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x410536
cmp esi, ebx
je 0x410536
mov eax, dword [esi]
cmp eax, ebx
je 0x41051d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x41052d
push eax
call fcn.004274fc
add esp, 4
push esi
call fcn.004274fc
add esp, 4
mov dword [esp + 0x20], ebx
mov esi, dword [esp + 0x24]
cmp esi, ebx
je 0x41057e
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x41057a
cmp esi, ebx
je 0x41057a
mov eax, dword [esi]
cmp eax, ebx
je 0x410561
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x410571
push eax
call fcn.004274fc
add esp, 4
push esi
call fcn.004274fc
add esp, 4
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x74], 2
call edi
mov ecx, dword [esp + 0x3c]
cmp ebp, dword [ecx + 4]
jne 0x410598
call fcn.0044b7ad
mov edi, dword [esp + 0x40]
mov eax, dword [edi + 0x20]
mov ebp, dword [esp + 0x1c]
mov ebx, 1
sub eax, ebx
je 0x410671
sub eax, ebx
je 0x410631
sub eax, ebx
jne 0x4106c1
mov edx, dword [esp + 0x3c]
cmp edi, dword [edx + 4]
jne 0x4105ca
call fcn.0044b7ad
cmp dword [edi + 0x14], 0
je 0x410779
test ebp, ebp
je 0x4105dd
mov esi, dword [ebp]
jmp 0x4105df
xor esi, esi
mov eax, dword [esp + 0x3c]
cmp edi, dword [eax + 4]
jne 0x4105ed
call fcn.0044b7ad
test esi, esi
mov eax, dword [edi + 0x14]
jne 0x410606
xor ecx, ecx
push esi
mov ebx, ecx
call fcn.004016e0
lea ebx, [esi + 1]
jmp 0x4106c1
mov ecx, esi
lea edi, [ecx + 2]
jmp 0x410610
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x410610
sub ecx, edi
sar ecx, 1
push esi
mov ebx, ecx
call fcn.004016e0
mov ebx, 1
jmp 0x4106c1
mov ecx, dword [esp + 0x3c]
cmp edi, dword [ecx + 4]
jne 0x41063f
call fcn.0044b7ad
mov edx, dword [edi + 0x18]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41081c
test ebp, ebp
je 0x41065a
mov esi, dword [ebp]
jmp 0x41065c
xor esi, esi
mov eax, dword [esp + 0x3c]
cmp edi, dword [eax + 4]
jne 0x41066a
call fcn.0044b7ad
mov ecx, dword [edi + 0x18]
push esi
push ecx
jmp 0x4106bb
mov esi, dword [esp + 0x7c]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x410927
mov edx, dword [esp + 0x3c]
cmp edi, dword [edx + 4]
jne 0x410692
call fcn.0044b7ad
mov eax, dword [edi + 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4108bf
test ebp, ebp
je 0x4106b7
mov eax, dword [ebp]
jmp 0x4106b9
xor eax, eax
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [esp + 0x70], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4106e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41070a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
mov dword [esp + 0x70], 0xffffffff
je 0x41074b
lea ecx, [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41074b
mov eax, dword [ebp]
test eax, eax
je 0x410732
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp + 4]
test eax, eax
je 0x410742
push eax
call fcn.004274fc
add esp, 4
push ebp
call fcn.004274fc
add esp, 4
lea esi, [esp + 0x3c]
call fcn.00411290
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x78]
mov ebp, dword [esp + 0x40]
jmp 0x410060
push 0x80004005
call fcn.00401500
jmp fcn.004015f0
jmp fcn.004028e0
mov byte [esp + 0x70], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41079d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4107c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4109ac
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4109ac
mov eax, dword [esi]
test eax, eax
je 0x4107ed
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4107fd
push eax
call fcn.004274fc
add esp, 4
push esi
call fcn.004274fc
add esp, 4
xor al, al
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov byte [esp + 0x70], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410840
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410865
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4109ac
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4109ac
mov eax, dword [esi]
test eax, eax
je 0x410890
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4108a0
push eax
call fcn.004274fc
add esp, 4
push esi
call fcn.004274fc
add esp, 4
xor al, al
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov byte [esp + 0x70], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4108e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410908
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
call fcn.00401650
xor al, al
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov byte [esp + 0x70], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41094b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410970
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4109ac
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4109ac
mov eax, dword [esi]
test eax, eax
je 0x410993
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4109a3
push eax
call fcn.004274fc
add esp, 4
push esi
call fcn.004274fc
add esp, 4
xor al, al
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov al, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret