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

Disassembly:
sub esp, 0xcdc
push ebp
push esi
mov esi, dword [esp + 0xce8]
push edi
test esi, esi
jne 0x475c44
pop edi
pop esi
mov ax, 0x10
pop ebp
add esp, 0xcdc
ret 0xc
mov ecx, dword [0x5df9c8]
mov eax, dword [esi + 0x54]
push ecx
push eax
call fcn.004743e0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x475c6d
pop edi
pop esi
mov ax, 2
pop ebp
add esp, 0xcdc
ret 0xc
mov ax, word [ebp + 0x44]
test ax, ax
je 0x4761af
cmp ax, 0xffff
je 0x4761af
mov eax, dword [esp + 0xcf0]
cmp ax, word [ebp + 0x1bc]
jae 0x476198
mov ecx, dword [esp + 0xcf4]
test ecx, ecx
jne 0x475cbf
test ax, ax
je 0x475d04
push ebp
push 0x10
call fcn.0046ebe0
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0xcdc
ret 0xc
mov edx, dword [ebp + 0x74]
test edx, edx
jne 0x475ce2
test ax, ax
je 0x475ce2
push ebp
push 0x10
call fcn.0046ebe0
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0xcdc
ret 0xc
cmp word [ecx], 0
jne 0x475d04
test ax, ax
je 0x475d04
push ebp
push 0x10
call fcn.0046ebe0
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0xcdc
ret 0xc
mov ecx, 0xfa
xor eax, eax
lea edi, [esp + 0x518]
xor edx, edx
rep stosd dword es:[edi], eax
mov ecx, 0xfa
lea edi, [esp + 0x900]
rep stosd dword es:[edi], eax
mov ecx, 0xfa
lea edi, [esp + 0x130]
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 + 0x70]
lea eax, [esp + 0x34]
mov edx, dword [ebp + ecx*4 + 0x48]
push edx
push 0x5cfdb4
push eax
call fcn.004ce616
xor ecx, ecx
lea edx, [esp + 0x34]
mov cx, word [ebp + 0x44]
push ecx
push 0x5cfdb4
push edx
call fcn.004ce616
mov eax, dword [esp + 0xd08]
lea ecx, [esp + 0x34]
and eax, 0xffff
push eax
push 0x5cfdb4
push ecx
call fcn.004ce616
mov eax, dword [esp + 0xd18]
add esp, 0x24
test eax, eax
jne 0x475ddc
lea edx, [esp + 0x10]
push 0x5cfe24
push edx
call fcn.004ce616
add esp, 8
jmp 0x475df4
xor ecx, ecx
lea edx, [esp + 0x10]
mov cx, word [eax]
push ecx
push 0x5cfdb4
push edx
call fcn.004ce616
add esp, 0xc
lea eax, [esp + 0xf0]
push 0x40
push eax
push esi
call fcn.0046e560
test ax, ax
jne 0x4761e2
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 0x5cfdac
call fcn.0047a330
mov edx, eax
add esp, 0x18
test edx, edx
jne 0x475e4d
push ebp
push 0x4a
call fcn.0046ebe0
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0xcdc
ret 0xc
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x900]
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.004ce2e1
lea ecx, [esp + 0x44]
lea edx, [esp + 0x904]
push ecx
push edx
push str.releaseLicEx
push 3
push 0x5cfc9c
call fcn.0047a330
mov edx, eax
add esp, 0x18
test edx, edx
jne 0x475ebd
push ebp
push 0x4a
call fcn.0046ebe0
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0xcdc
ret 0xc
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x130]
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.004ce2e1
lea ecx, [esp + 0x134]
push ecx
call fcn.0047a410
mov edx, eax
add esp, 8
test edx, edx
jne 0x475f1c
push ebp
push 0x4a
call fcn.0046ebe0
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0xcdc
ret 0xc
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x130]
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.004ce2e1
lea ecx, [esp + 0x51c]
lea edx, [esp + 0x134]
push ecx
push ebp
push edx
call fcn.004780b0
add esp, 0x10
test ax, ax
je 0x475f82
push ebp
push eax
call fcn.0046eb00
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0xcdc
ret 0xc
lea eax, [esp + 0x518]
push eax
call fcn.0047a100
mov esi, eax
add esp, 4
test esi, esi
jne 0x475faf
push ebp
push 0x42
call fcn.0046ebe0
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0xcdc
ret 0xc
lea ecx, [esp + 0x518]
lea edx, [esp + 0x8c]
push ecx
lea eax, [esp + 0x50]
push edx
push eax
push esi
push 3
push 0x5cfc9c
call fcn.00479f60
push esi
mov edi, eax
call fcn.004ce2e1
add esp, 0x1c
test di, di
je 0x475ff8
push ebp
push 0x42
call fcn.0046ebe0
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0xcdc
ret 0xc
push 0
call fcn.004ce2e1
add esp, 4
mov byte [esp + 0x8b], 0
mov byte [esp + 0xef], 0
mov esi, str.error
lea eax, [esp + 0x4c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x47603f
test cl, cl
je 0x47603b
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x47603f
add eax, 2
add esi, 2
test cl, cl
jne 0x47601b
xor eax, eax
jmp 0x476044
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4760b2
lea eax, [esp + 0x8c]
push eax
call fcn.004ce463
mov esi, eax
add esp, 4
cmp si, 0x47
je 0x47606b
cmp word [esp + 0xcf0], 0
jne 0x47609c
mov edi, 1
push edi
push ebp
call fcn.0046edf0
push ebp
push 0x5df9c8
call fcn.00479be0
push ebp
call fcn.004ce2e1
mov eax, dword [0x5cff30]
add esp, 0x14
xor ebp, ebp
cmp eax, edi
je 0x47609c
mov dword [0x5cff30], edi
push ebp
push esi
call fcn.0046ebe0
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0xcdc
ret 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x518]
push ecx
mov edi, 1
push edx
push edi
push 0x5cfdac
call fcn.00479f60
add esp, 0x10
test ax, ax
je 0x4760ee
push ebp
push 0x42
call fcn.0046ebe0
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0xcdc
ret 0xc
mov esi, dword [esp + 0xcf4]
test esi, esi
je 0x476121
cmp word [esp + 0xcf0], 0
je 0x47612c
lea eax, [esp + 0x10]
push eax
call fcn.004ce463
mov word [esi], ax
mov ecx, dword [ebp + 0x74]
and eax, 0xffff
add esp, 4
sub ecx, eax
mov dword [ebp + 0x74], ecx
cmp word [esp + 0xcf0], 0
jne 0x47616e
push edi
push ebp
call fcn.0046edf0
push ebp
push 0x5df9c8
call fcn.00479be0
push ebp
call fcn.004ce2e1
mov eax, dword [0x5cff30]
add esp, 0x14
cmp eax, edi
je 0x476156
mov dword [0x5cff30], edi
push 0
push 0
call fcn.0046ebe0
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0xcdc
ret 0xc
lea esi, [ebp + 0x80]
push esi
call fcn.004e7776
mov edi, dword [esi]
push ebp
add edi, 0x78
push 0
mov dword [esi], edi
call fcn.0046ebe0
add esp, 0xc
pop edi
pop esi
pop ebp
add esp, 0xcdc
ret 0xc
push ebp
push 5
call fcn.0046ebe0
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0xcdc
ret 0xc
mov edi, 1
push edi
push ebp
call fcn.0046edf0
push ebp
push 0x5df9c8
call fcn.00479be0
push ebp
call fcn.004ce2e1
mov eax, dword [0x5cff30]
add esp, 0x14
cmp eax, edi
je 0x4761de
mov dword [0x5cff30], edi
mov ax, 0x47
pop edi
pop esi
pop ebp
add esp, 0xcdc
ret 0xc