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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb8
lea eax, [ebp + 0x14]
lea edx, [ebp + 0x10]
lea esi, [ebp + 0xc]
lea edi, [ebp + 8]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0xa8], ecx
mov ecx, 0x437228
mov ecx, edx
mov dword [esp + 0xac], ecx
mov ecx, eax
mov dword [esp + 0xb0], ecx
mov dword [esp + 0x54], 0x47121c60
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], esi
mov eax, dword [esp + 0x54]
mov ecx, 1
mov ecx, eax
add ecx, 0x3270b5c
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
jg 0x55225f
jmp 0x552246
mov eax, dword [esp + 0x40]
add eax, 0x548d0d44
mov dword [esp + 0x38], eax
je 0x55247d
jmp 0x5522a8
mov eax, dword [esp + 0x40]
sub eax, 0xfcd8f4a5
mov dword [esp + 0x34], eax
je 0x5522e4
jmp 0x552277
mov eax, dword [esp + 0x40]
add eax, 0xd10fc843
mov dword [esp + 0x30], eax
je 0x5523a1
jmp 0x552290
mov eax, dword [esp + 0x40]
sub eax, 0x47121c60
mov dword [esp + 0x2c], eax
je 0x5522ad
jmp 0x5522a8
jmp 0x55248e
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xb0]
mov edx, 0x40000
mov edx, esp
mov dword [edx], eax
call fcn.00550870
sub esp, 4
mov ecx, 0x2ef037bd
mov edx, 0xfcd8f4a5
test al, 1
cmovne ecx, edx
mov dword [esp + 0x54], ecx
jmp 0x55248e
lea eax, [esp + 0x98]
lea ecx, [esp + 0xa0]
mov edx, dword [esp + 0x50]
mov esi, dword [edx]
mov dword [esp + 0xa0], esi
mov esi, dword [esp + 0x44]
mov edi, dword [esi]
mov dword [esp + 0x98], edi
mov eax, dword [eax]
mov dword [esp], eax
call fcn.005524a0
mov dword [esp + 4], eax
call fcn.004fe9f0
mov ecx, dword [esp + 0xa8]
mov edx, esp
lea esi, [esp + 0x88]
mov dword [edx], esi
mov dword [esp + 0x28], eax
call fcn.004ed590
sub esp, 4
lea eax, [esp + 0x80]
lea ecx, [esp + 0x90]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x50]
mov esi, dword [edx]
mov dword [esp + 0x80], esi
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [ecx]
mov dword [esp + 4], eax
call fcn.004fe9f0
mov ecx, dword [esp + 0xa8]
mov edx, esp
mov esi, dword [esp + 0x28]
mov dword [edx + 4], esi
mov dword [edx], eax
call fcn.004ed010
sub esp, 8
mov dword [esp + 0x54], 0xab72f2bc
mov dword [esp + 0x24], eax
jmp 0x55248e
mov eax, dword [esp + 0x48]
mov ecx, esp
mov dword [ecx], eax
mov ecx, dword [esp + 0x4c]
call fcn.004bea20
sub esp, 4
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x20], eax
call fcn.0053f860
lea ecx, [esp + 0x70]
lea edx, [esp + 0x78]
mov esi, dword [esp + 0x50]
mov edi, dword [esi]
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x44]
mov ebx, dword [edi]
mov dword [esp + 0x70], ebx
mov ecx, dword [ecx]
mov dword [esp], ecx
mov ecx, dword [edx]
mov dword [esp + 4], ecx
mov dword [esp + 0x1c], eax
call fcn.004fe9f0
mov ecx, dword [esp + 0xa8]
mov edx, esp
lea esi, [esp + 0x60]
call fcn.005524b0
mov dword [esp + 0x18], eax
call fcn.004ed590
sub esp, 4
lea eax, [esp + 0x58]
lea ecx, [esp + 0x68]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x50]
mov esi, dword [edx]
mov dword [esp + 0x58], esi
mov eax, dword [eax]
mov dword [esp], eax
call fcn.005524c0
mov dword [esp + 4], eax
call fcn.004fe9f0
mov ecx, dword [esp + 0xa8]
mov edx, 0x20
mov edx, esp
mov esi, dword [esp + 0x20]
call fcn.005524d0
mov edi, dword [esp + 0x1c]
mov dword [edx + 8], edi
mov ebx, dword [esp + 0x18]
mov dword [edx + 4], ebx
mov dword [edx], eax
call fcn.00523820
sub esp, 0x10
mov dword [esp + 0x54], 0xab72f2bc
mov dword [esp + 0x14], eax
jmp 0x55248e
mov eax, dword [esp + 0xa8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
jmp 0x552222