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

Disassembly:
sub esp, 0x610
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0x171]
mov byte [esp + 0x170], bl
mov byte [esp + 0x300], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0x301]
mov byte [esp + 0x490], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0x491]
mov byte [esp + 0x130], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor ecx, ecx
xor edx, edx
stosb byte es:[edi], al
xor eax, eax
mov dword [esp + 0x4d], ecx
mov dword [esp + 0xa9], eax
mov dword [esp + 0x51], ecx
mov dword [esp + 0xad], eax
mov word [esp + 0x55], cx
mov word [esp + 0xb1], ax
mov byte [esp + 0x57], cl
mov dword [esp + 0xb5], ecx
mov byte [esp + 0xb3], al
mov dword [esp + 0xc9], eax
mov dword [esp + 0xb9], ecx
mov dword [esp + 0xcd], eax
mov dword [esp + 0xbd], ecx
mov dword [esp + 0xd1], eax
mov dword [esp + 0xc1], ecx
mov dword [esp + 0xd5], eax
mov word [esp + 0xc5], cx
mov word [esp + 0xd9], ax
mov byte [esp + 0xc7], cl
mov ecx, 0xf
lea edi, [esp + 0x131]
mov byte [esp + 0xdb], al
mov dword [esp + 0xdd], edx
rep stosd dword es:[edi], eax
mov dword [esp + 0xe1], edx
mov ecx, 7
stosw word es:[edi], ax
mov dword [esp + 0xe5], edx
mov byte [esp + 0x110], bl
mov dword [esp + 0xe9], edx
mov byte [esp + 0xa8], bl
stosb byte es:[edi], al
mov word [esp + 0xed], dx
xor eax, eax
lea edi, [esp + 0x111]
mov byte [esp + 0xef], dl
rep stosd dword es:[edi], eax
mov dword [esp + 0x59], edx
mov byte [esp + 0x4c], bl
mov dword [esp + 0x5d], edx
mov byte [esp + 0xdc], bl
mov dword [esp + 0x61], edx
mov byte [esp + 0xc8], bl
stosw word es:[edi], ax
mov dword [esp + 0x65], edx
mov byte [esp + 0xb4], bl
mov word [esp + 0x69], dx
mov byte [esp + 0x58], bl
stosb byte es:[edi], al
mov byte [esp + 0x6b], dl
mov byte [esp + 0x6c], bl
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x41], ecx
mov dword [esp + 0x6d], eax
mov dword [esp + 0x45], ecx
mov dword [esp + 0x71], eax
mov word [esp + 0x49], cx
mov dword [esp + 0x75], eax
mov byte [esp + 0x4b], cl
mov dword [esp + 0xfd], ecx
mov dword [esp + 0x79], eax
mov dword [esp + 0x101], ecx
mov word [esp + 0x7d], ax
mov dword [esp + 0x105], ecx
mov byte [esp + 0x7f], al
mov dword [esp + 0x81], edx
mov dword [esp + 0x109], ecx
mov dword [esp + 0xf1], eax
mov dword [esp + 0x85], edx
mov word [esp + 0x10d], cx
mov dword [esp + 0xf5], eax
mov dword [esp + 0x89], edx
mov byte [esp + 0x10f], cl
mov word [esp + 0xf9], ax
mov dword [esp + 0x95], ecx
mov dword [esp + 0x8d], edx
mov byte [esp + 0xfb], al
mov dword [esp + 0x99], ecx
mov word [esp + 0x91], dx
mov dword [esp + 0x25], eax
mov dword [esp + 0x9d], ecx
mov byte [esp + 0x93], dl
mov dword [esp + 0x29], eax
mov dword [esp + 0x11], edx
mov dword [esp + 0xa1], ecx
mov dword [esp + 0x2d], eax
mov dword [esp + 0x15], edx
mov word [esp + 0xa5], cx
mov dword [esp + 0x31], eax
mov dword [esp + 0x19], edx
mov byte [esp + 0xa7], cl
mov word [esp + 0x35], ax
mov ecx, 0x10
lea edi, [esp + 0x130]
mov dword [esp + 0x1d], edx
mov byte [esp + 0x37], al
rep stosd dword es:[edi], eax
mov word [esp + 0x21], dx
mov ecx, 8
lea edi, [esp + 0x110]
mov byte [esp + 0x23], dl
rep stosd dword es:[edi], eax
lea edx, [esp + 0x110]
lea eax, [esp + 0x130]
push edx
push eax
mov byte [esp + 0x48], bl
mov byte [esp + 0x88], bl
mov byte [esp + 0xf8], bl
mov byte [esp + 0x104], bl
mov byte [esp + 0x18], bl
mov byte [esp + 0x2c], bl
mov byte [esp + 0x9c], bl
call fcn.00520a70
mov ebp, dword [esp + 0x62c]
mov esi, dword [sym.imp.MSVCR90.dll_sprintf]
xor edx, edx
xor ecx, ecx
mov dx, word [ebp + 0x20]
mov dword [esp + 0x48], ecx
push edx
lea eax, [esp + 0x4c]
mov dword [esp + 0x50], ecx
push 0x54a1fc
push eax
mov dword [esp + 0x5c], ecx
call esi
xor ecx, ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x63c]
lea eax, [esp + 0x6c]
push edx
mov dword [esp + 0x7c], ecx
push 0x54a1f8
push eax
mov dword [esp + 0x88], ecx
call esi
mov edx, dword [ebp + 0x24]
xor ecx, ecx
mov dword [esp + 0xa0], ecx
push edx
mov dword [esp + 0xa8], ecx
lea eax, [esp + 0xa4]
mov dword [esp + 0xac], ecx
push 0x54a1f8
mov dword [esp + 0xb4], ecx
push eax
mov dword [esp + 0xbc], ecx
call esi
mov edx, dword [esp + 0x658]
xor ecx, ecx
mov dword [esp + 0x98], ecx
push edx
mov dword [esp + 0xa0], ecx
lea eax, [esp + 0x9c]
mov dword [esp + 0xa4], ecx
push 0x54a1f8
mov dword [esp + 0xac], ecx
push eax
mov dword [esp + 0xb4], ecx
call esi
push 0x65
lea ecx, [esp + 0x12c]
push 0x54a1fc
push ecx
call esi
mov edx, dword [ebp + 0xc]
add esp, 0x44
lea eax, [esp + 0xfc]
push edx
push 0x54a1f8
push eax
call esi
mov edx, dword [ebp + 0x10]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
push edx
mov dword [esp + 0x24], ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x28], ecx
push 0x54a1f8
mov dword [esp + 0x30], ecx
push eax
mov dword [esp + 0x38], ecx
call esi
mov edx, dword [ebp + 0x14]
xor ecx, ecx
mov dword [esp + 0x3c], ecx
push edx
mov dword [esp + 0x44], ecx
lea eax, [esp + 0x40]
mov dword [esp + 0x48], ecx
push 0x54a1f8
mov dword [esp + 0x50], ecx
push eax
mov dword [esp + 0x58], ecx
call esi
mov ecx, dword [ebp + 0xc]
add esp, 0x24
and ecx, 0x400
cmp ecx, 0x400
jne 0x520635
lea edx, [esp + 0x24]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x100]
push eax
lea edx, [esp + 0xf8]
push ecx
lea eax, [esp + 0x78]
push edx
lea ecx, [esp + 0x90]
push eax
lea edx, [esp + 0x6c]
push ecx
lea eax, [esp + 0x128]
push edx
lea ecx, [esp + 0x14c]
push eax
lea edx, [ebp + 0x28]
push ecx
lea eax, [esp + 0x64]
push edx
push eax
push 0xb
push 0x54a1f4
call fcn.00527620
add esp, 0x34
jmp 0x520677
lea ecx, [esp + 0xf0]
lea edx, [esp + 0x6c]
push ecx
lea eax, [esp + 0x84]
push edx
lea ecx, [esp + 0x60]
push eax
lea edx, [esp + 0x11c]
push ecx
lea eax, [esp + 0x140]
push edx
lea ecx, [ebp + 0x28]
push eax
lea edx, [esp + 0x58]
push ecx
push edx
push 8
push 0x54a1f4
call fcn.00527620
add esp, 0x28
mov edx, eax
cmp edx, ebx
jne 0x52068d
pop edi
pop esi
pop ebp
mov eax, 0x132
pop ebx
add esp, 0x610
ret
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x170]
lea esi, [esp + 0x170]
rep stosd dword es:[edi], eax
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x38], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x38]
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 dword [sym.imp.MSVCR90.dll_free]
lea edx, [esp + 0xac]
xor ecx, ecx
lea eax, [esp + 0x174]
push edx
mov dword [esp + 0xb0], ecx
push eax
push str.getLicense
mov dword [esp + 0xbc], ecx
push 3
push 0x54a1e4
mov dword [esp + 0xc8], ecx
call fcn.00527620
mov edx, eax
add esp, 0x18
cmp edx, ebx
jne 0x52071f
pop edi
pop esi
pop ebp
mov eax, 0x132
pop ebx
add esp, 0x610
ret
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x300]
lea esi, [esp + 0x300]
rep stosd dword es:[edi], eax
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x38], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x38]
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 dword [sym.imp.MSVCR90.dll_free]
lea edi, [esp + 0x304]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x3c], ecx
shr cx, 4
cmp cx, bx
jbe 0x5207a4
and ecx, 0xffff
lea esi, [esp + 0x300]
mov edi, ecx
push esi
push 0x5498d0
call fcn.0051a170
add esp, 8
add esi, 0x10
dec edi
jne 0x520790
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x490]
push ecx
push edx
lea eax, [esp + 0x308]
push ebp
push eax
call fcn.00523860
add esp, 0x10
cmp eax, ebx
jne 0x520a59
mov eax, dword [esp + 0x3c]
mov cx, ax
shr cx, 4
cmp cx, bx
jbe 0x520801
and ecx, 0xffff
lea esi, [esp + 0x490]
mov edi, ecx
push esi
push 0x5498d0
call fcn.0051a6a0
add esp, 8
add esi, 0x10
dec edi
jne 0x5207e9
mov eax, dword [esp + 0x3c]
xor ecx, ecx
and eax, 0xffff
mov dword [esp + 0xdc], ecx
xor edx, edx
mov dword [esp + 0xe0], ecx
mov byte [esp + eax + 0x490], bl
mov dword [esp + 0xe4], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0xe8], ecx
xor eax, eax
mov dword [esp + 0xec], ecx
mov ecx, 0x64
lea edi, [esp + 0x170]
mov dword [esp + 0x50], edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x170]
mov dword [esp + 0x54], edx
lea ecx, [esp + 0x4c]
push eax
lea edx, [esp + 0xe0]
push ecx
lea eax, [esp + 0x498]
push edx
push eax
push 3
push 0x54a1e4
call fcn.00527460
add esp, 0x18
cmp eax, 0xffffffff
jne 0x520891
pop edi
pop esi
pop ebp
mov eax, 0x12f
pop ebx
add esp, 0x610
ret
mov edi, str.error
lea esi, [esp + 0xdc]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x5208c5
cmp al, bl
je 0x5208c1
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x5208c5
add esi, 2
add edi, 2
cmp al, bl
jne 0x52089d
xor eax, eax
jmp 0x5208ca
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x5208f6
lea eax, [esp + 0x4c]
push eax
call fcn.00526df0
add esp, 4
mov edx, eax
mov ecx, 0x10
xor eax, eax
lea edi, [ebp + 0x68]
rep stosd dword es:[edi], eax
pop edi
pop esi
pop ebp
mov eax, edx
pop ebx
add esp, 0x610
ret
xor ecx, ecx
xor edx, edx
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xc8], edx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xcc], edx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xd0], edx
mov dword [esp + 0xc0], ecx
xor eax, eax
mov dword [esp + 0xd4], edx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0x94], eax
mov dword [esp + 0xd8], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x9c], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0xa0], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xa4], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], ecx
lea eax, [esp + 0x24]
mov dword [esp + 0x34], edx
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x98]
push ecx
lea eax, [esp + 0xd0]
push edx
lea ecx, [esp + 0xc0]
push eax
lea edx, [esp + 0x180]
push ecx
push edx
push 5
push 0x54a1f4
call fcn.00527460
add esp, 0x20
cmp eax, 0xffffffff
jne 0x5209db
pop edi
pop esi
pop ebp
mov eax, 0x12f
pop ebx
add esp, 0x610
ret
lea eax, [esp + 0xb4]
push eax
call fcn.00526df0
mov dword [ebp], eax
mov al, byte [esp + 0x98]
add esp, 4
cmp al, bl
jne 0x520a05
mov ecx, dword [esp + 0x62c]
mov dword [ebp + 4], ecx
jmp 0x520a18
lea edx, [esp + 0x94]
push edx
call fcn.00526df0
add esp, 4
mov dword [ebp + 4], eax
lea eax, [esp + 0xc8]
push eax
call fcn.00526df0
lea ecx, [esp + 0x14]
mov dword [ebp + 8], eax
push ecx
call fcn.00526df0
lea edx, [esp + 0x2c]
mov dword [ebp + 0x10], eax
push edx
call fcn.00526df0
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x18]
add esp, 0xc
cmp eax, 0x78
je 0x520a57
push eax
push ebp
call fcn.005213e0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x610
ret