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

Disassembly:
sub esp, 0x850
push ebp
push esi
mov esi, dword [esp + 0x85c]
push edi
test esi, esi
jne 0x4119a4
pop edi
pop esi
mov ax, 0x10
pop ebp
add esp, 0x850
ret 0xc
mov ecx, dword [0x4918ec]
mov eax, dword [esi + 0x54]
push ecx
push eax
call fcn.0040f3f0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x4119cd
pop edi
pop esi
mov ax, 2
pop ebp
add esp, 0x850
ret 0xc
mov ax, word [ebp + 0x44]
test ax, ax
je 0x411f10
cmp ax, 0xffff
je 0x411f10
mov eax, dword [esp + 0x864]
cmp ax, word [ebp + 0x1a4]
jae 0x411ef9
mov ecx, dword [esp + 0x868]
test ecx, ecx
jne 0x411a1f
test ax, ax
je 0x411a64
push ebp
push 0x10
call fcn.0040d340
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc
mov edx, dword [ebp + 0x5c]
test edx, edx
jne 0x411a42
test ax, ax
je 0x411a42
push ebp
push 0x10
call fcn.0040d340
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc
cmp word [ecx], 0
jne 0x411a64
test ax, ax
je 0x411a64
push ebp
push 0x10
call fcn.0040d340
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x8c]
xor edx, edx
rep stosd dword es:[edi], eax
mov ecx, 0x64
lea edi, [esp + 0x3ac]
rep stosd dword es:[edi], eax
mov ecx, 0x64
lea edi, [esp + 0x21c]
rep stosd dword es:[edi], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x38], eax
xor ecx, ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], eax
movsx ecx, word [ebp + 0x5a]
lea eax, [esp + 0x34]
mov dx, word [ebp + ecx*2 + 0x46]
push edx
push 0x45203c
push eax
call fcn.004362ea
xor ecx, ecx
lea edx, [esp + 0x34]
mov cx, word [ebp + 0x44]
push ecx
push 0x45203c
push edx
call fcn.004362ea
mov eax, dword [esp + 0x87c]
lea ecx, [esp + 0x34]
and eax, 0xffff
push eax
push 0x45203c
push ecx
call fcn.004362ea
mov eax, dword [esp + 0x88c]
add esp, 0x24
test eax, eax
jne 0x411b3d
lea edx, [esp + 0x10]
push 0x4520dc
push edx
call fcn.004362ea
add esp, 8
jmp 0x411b55
xor ecx, ecx
lea edx, [esp + 0x10]
mov cx, word [eax]
push ecx
push 0x45203c
push edx
call fcn.004362ea
add esp, 0xc
lea eax, [esp + 0x4c]
push 0x40
push eax
push esi
call fcn.0040ccc0
test ax, ax
jne 0x411f43
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
push 4
push 0x452034
call fcn.0041a9f0
mov edx, eax
add esp, 0x18
test edx, edx
jne 0x411bab
push ebp
push 0x4a
call fcn.0040d340
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x3ac]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0xc], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0xc]
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00434c6c
lea ecx, [esp + 0x44]
lea edx, [esp + 0x3b0]
push ecx
push edx
push str.releaseLicEx
push 3
push 0x451f24
call fcn.0041a9f0
mov edx, eax
add esp, 0x18
test edx, edx
jne 0x411c1b
push ebp
push 0x4a
call fcn.0040d340
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x21c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0xc], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0xc]
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00434c6c
lea ecx, [esp + 0x220]
push ecx
call fcn.0041aad0
mov edx, eax
add esp, 8
test edx, edx
jne 0x411c7a
push ebp
push 0x4a
call fcn.0040d340
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x21c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0xc], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0xc]
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00434c6c
lea ecx, [esp + 0x90]
lea edx, [esp + 0x220]
push ecx
push ebp
push edx
call fcn.00418080
add esp, 0x10
test ax, ax
je 0x411ce0
push ebp
push eax
call fcn.0040d260
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc
lea eax, [esp + 0x8c]
push eax
call fcn.0041a7c0
mov esi, eax
add esp, 4
test esi, esi
jne 0x411d0d
push ebp
push 0x42
call fcn.0040d340
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc
lea ecx, [esp + 0x8c]
lea edx, [esp + 0x6cc]
push ecx
lea eax, [esp + 0x540]
push edx
push eax
push esi
push 3
push 0x451f24
call fcn.0041a620
push esi
mov edi, eax
call fcn.00434c6c
add esp, 0x1c
test di, di
je 0x411d59
push ebp
push 0x42
call fcn.0040d340
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc
push 0
call fcn.00434c6c
add esp, 4
mov byte [esp + 0x6cb], 0
mov byte [esp + 0x85b], 0
mov esi, str.error
lea eax, [esp + 0x53c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x411da3
test cl, cl
je 0x411d9f
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x411da3
add eax, 2
add esi, 2
test cl, cl
jne 0x411d7f
xor eax, eax
jmp 0x411da8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x411e16
lea eax, [esp + 0x6cc]
push eax
call fcn.004366a5
mov esi, eax
add esp, 4
cmp si, 0x47
je 0x411dcf
cmp word [esp + 0x864], 0
jne 0x411e00
mov edi, 1
push edi
push ebp
call fcn.0040d570
push ebp
push 0x4918ec
call fcn.00411fc0
push ebp
call fcn.00434c6c
mov eax, dword [0x452104]
add esp, 0x14
xor ebp, ebp
cmp eax, edi
je 0x411e00
mov dword [0x452104], edi
push ebp
push esi
call fcn.0040d340
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x8c]
push ecx
mov edi, 1
push edx
push edi
push 0x452034
call fcn.0041a620
add esp, 0x10
test ax, ax
je 0x411e52
push ebp
push 0x42
call fcn.0040d340
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc
mov esi, dword [esp + 0x868]
test esi, esi
je 0x411e85
cmp word [esp + 0x864], 0
je 0x411e90
lea eax, [esp + 0x10]
push eax
call fcn.004366a5
mov word [esi], ax
mov ecx, dword [ebp + 0x5c]
and eax, 0xffff
add esp, 4
sub ecx, eax
mov dword [ebp + 0x5c], ecx
cmp word [esp + 0x864], 0
jne 0x411ed2
push edi
push ebp
call fcn.0040d570
push ebp
push 0x4918ec
call fcn.00411fc0
push ebp
call fcn.00434c6c
mov eax, dword [0x452104]
add esp, 0x14
cmp eax, edi
je 0x411eba
mov dword [0x452104], edi
push 0
push 0
call fcn.0040d340
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc
lea esi, [ebp + 0x68]
push esi
call fcn.0043c802
mov edi, dword [esi]
push ebp
add edi, 0x78
push 0
mov dword [esi], edi
call fcn.0040d340
add esp, 0xc
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc
push ebp
push 5
call fcn.0040d340
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc
mov edi, 1
push edi
push ebp
call fcn.0040d570
push ebp
push 0x4918ec
call fcn.00411fc0
push ebp
call fcn.00434c6c
mov eax, dword [0x452104]
add esp, 0x14
cmp eax, edi
je 0x411f3f
mov dword [0x452104], edi
mov ax, 0x47
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc