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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x24]
cmp eax, dword [ecx + 8]
jbe 0x522b28
sub esp, 0xa4
lea eax, [0x5de320]
mov dword [esp], eax
call fcn.00409a30
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xc0]
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov byte [esp + 0x46], 0
mov byte [esp + 0x47], 0
lea ecx, [esp + 0x8c]
mov dword [esp], ecx
lea ecx, [esp + 0x74]
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x30
call fcn.00519000
movzx eax, byte [esp + 0xc]
test al, al
je 0x5225f4
mov eax, dword [esp + 0x90]
test eax, eax
je 0x522656
lea eax, [0x5ea220]
mov dword [esp], eax
call fcn.00409a30
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x27
mov eax, dword [0x7db370]
test eax, eax
jne 0x522649
lea eax, [0x628087]
mov dword [edi], eax
mov eax, dword [esp + 0x70]
mov byte [eax], 0
mov byte [esp + 0xc8], 0
lea eax, [0x65f350]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], edi
add esp, 0xa4
ret
lea eax, [0x628087]
call fcn.0044b680
jmp 0x52261f
lea eax, [esp + 0x74]
mov dword [esp], eax
lea ecx, [esp + 0x80]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x46]
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 0xa0
call fcn.005190c0
movzx eax, byte [esp + 0x10]
test al, al
je 0x5225f4
lea eax, [esp + 0x74]
mov dword [esp], eax
lea eax, [esp + 0x98]
mov dword [esp + 4], eax
lea eax, [esp + 0x47]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 0xa1
call fcn.005190c0
movzx eax, byte [esp + 0x10]
test al, al
je 0x5225f4
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x5225f4
movzx eax, byte [esp + 0x46]
test al, al
je 0x522b16
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x522749
mov eax, dword [esp + 0x9c]
test eax, eax
jne 0x522749
lea eax, [0x5ea220]
mov dword [esp], eax
call fcn.00409a30
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x26
mov eax, dword [0x7db370]
test eax, eax
jne 0x52273c
lea eax, [0x627c46]
mov dword [edi], eax
mov eax, dword [esp + 0x70]
mov byte [eax], 0
mov byte [esp + 0xc8], 0
lea eax, [0x65f350]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], edi
add esp, 0xa4
ret
lea eax, [0x627c46]
call fcn.0044b680
jmp 0x522712
lea eax, [0x5e8ca0]
mov dword [esp], eax
call fcn.00409a30
mov edx, dword [esp + 4]
lea eax, [0x525c80]
mov dword [edx], eax
mov eax, dword [0x7db370]
test eax, eax
jne 0x522b05
mov eax, dword [esp + 0x70]
mov dword [edx + 4], eax
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
mov ebx, dword [esp + 0x80]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x54], ebx
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x50], ebp
mov esi, dword [esp + 0x24]
mov dword [esp + 0x68], esi
mov edi, dword [esp + 0x20]
mov edx, ecx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x64], eax
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xa8]
mov dword [eax + 0x234], ebx
mov dword [eax + 0x238], esi
mov ebx, dword [0x7db370]
test ebx, ebx
jne 0x522ae6
mov dword [eax + 0x230], ebp
mov dword [eax + 0x24c], ecx
mov dword [eax + 0x250], edi
mov ecx, dword [0x7db370]
test ecx, ecx
jne 0x522ace
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x248], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x264], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x268], ecx
mov ecx, dword [0x7db370]
test ecx, ecx
jne 0x522ab6
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x260], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x27c], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x280], ecx
mov ecx, dword [0x7db370]
test ecx, ecx
jne 0x522aa0
mov dword [eax + 0x278], edx
mov ecx, dword [esp + 0x48]
test ecx, ecx
jne 0x522a78
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov edx, ebp
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x68], ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x54], ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x50], ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x4c], ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x60], ebp
mov ebp, dword [esp + 0xa8]
mov dword [ebp + 0x240], ecx
mov dword [ebp + 0x244], ebx
mov ecx, dword [0x7db370]
test ecx, ecx
jne 0x522a62
mov dword [ebp + 0x23c], eax
mov dword [ebp + 0x258], esi
mov dword [ebp + 0x25c], edi
mov ecx, dword [0x7db370]
test ecx, ecx
jne 0x522a50
mov dword [ebp + 0x254], edx
mov ecx, dword [esp + 0x58]
mov dword [ebp + 0x270], ecx
mov ecx, dword [esp + 0x54]
mov dword [ebp + 0x274], ecx
mov ecx, dword [0x7db370]
test ecx, ecx
jne 0x522a3c
mov ecx, dword [esp + 0x68]
mov dword [ebp + 0x26c], ecx
mov ecx, dword [esp + 0x50]
mov dword [ebp + 0x288], ecx
mov ecx, dword [esp + 0x4c]
mov dword [ebp + 0x28c], ecx
mov ecx, dword [0x7db370]
test ecx, ecx
jne 0x522a2b
mov eax, dword [esp + 0x5c]
mov dword [ebp + 0x284], eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x5229f2
mov ecx, dword [esp + 0x70]
mov byte [ecx], 0
mov byte [esp + 0xc8], 0
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xd0], eax
add esp, 0xa4
ret
movzx eax, byte [esp + 0xb8]
mov byte [ebp + 0x22c], al
mov eax, dword [esp + 0x70]
movzx eax, byte [eax]
mov byte [esp + 0xc8], al
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
add esp, 0xa4
ret
lea edi, [ebp + 0x284]
mov eax, dword [esp + 0x5c]
call fcn.0044b680
jmp 0x5229c2
lea edi, [ebp + 0x26c]
mov eax, dword [esp + 0x68]
call fcn.0044b680
jmp 0x52299a
lea edi, [ebp + 0x254]
mov eax, edx
call fcn.0044b680
jmp 0x52296e
lea ecx, [ebp + 0x23c]
mov ebx, edi
mov edi, ecx
call fcn.0044b680
mov edi, ebx
jmp 0x52294e
mov eax, dword [esp + 0x70]
mov byte [eax], 0
mov byte [esp + 0xc8], 0
mov dword [esp + 0xcc], ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 0xd0], eax
add esp, 0xa4
ret
lea edi, [eax + 0x278]
mov ecx, eax
mov eax, edx
call fcn.0044b680
mov eax, ecx
jmp 0x522899
lea edi, [eax + 0x260]
mov ecx, eax
mov eax, dword [esp + 0x68]
call fcn.0044b680
mov eax, ecx
jmp 0x522871
lea edi, [eax + 0x248]
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.0044b680
mov eax, ecx
jmp 0x522845
lea ebx, [eax + 0x230]
mov esi, edi
mov edi, ebx
mov eax, ebp
call fcn.0044b680
mov eax, dword [esp + 0xa8]
mov edi, esi
jmp 0x522821
lea edi, [edx + 4]
mov eax, dword [esp + 0x70]
call fcn.0044b680
jmp 0x522778
movzx eax, byte [esp + 0x47]
test al, al
jne 0x5226d1
jmp 0x5226e7
call fcn.00449f20
jmp fcn.00522500