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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x18]
test eax, eax
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edi
je 0x5521f4
mov ecx, ebx
call fcn.0048e850
mov esi, eax
mov eax, dword [ebx + 0x18]
mov ecx, dword [esi + 0x4c]
push eax
mov dword [ebp - 0x10], esi
call fcn.00555600
test eax, eax
mov dword [ebp - 4], eax
jne 0x5521ff
mov ecx, dword [ebx + 0x18]
mov ecx, dword [ecx + 0x78]
cmp ecx, 0x62
ja case.0x5521a9.1
movzx edx, byte [ecx + 0x552424]
jmp dword [edx*4 + 0x552400]
push 0xb1
jmp 0x5521e6
push 0xab
jmp 0x5521e6
push 0xa7
jmp 0x5521e6
push 0xad
jmp 0x5521e6
push 0xa8
jmp 0x5521e6
push 0xa6
jmp 0x5521e6
push 0xa9
jmp 0x5521e6
push 0xa4
mov ecx, esi
call fcn.004368e0
mov dword [ebp - 4], eax
test eax, eax
jne 0x5521ff
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx + 0x20]
test eax, eax
mov esi, ebx
jne 0x552212
mov esi, dword [esi + 8]
mov eax, dword [esi + 0x20]
test eax, eax
je 0x552208
mov eax, dword [edi + 0x28]
push 0
push eax
push 0x10
call fcn.005dd390
add esp, 0xc
test eax, eax
je 0x552240
mov esi, dword [esi + 0x20]
mov edx, dword [esi + 0x2c]
mov edx, dword [edx + 0x238]
mov esi, dword [esi + 0x2c]
push edx
push esi
mov ecx, eax
call fcn.0048ed60
jmp 0x552242
xor eax, eax
mov ecx, dword [edi + 0x340]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x28]
or eax, 1
and ecx, 0xfffffff0
mov dword [edi + 0x340], eax
xor eax, eax
mov dword [ebp - 0x28], ecx
push edi
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x14], edi
mov dword [edi + 0x68c], ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x7c], eax
call fcn.0059dd11
mov edx, dword [ebp - 0x28]
and edx, 0xfffffff2
lea eax, [ebp - 0x70]
or edx, 2
push 0
push eax
mov dword [ebp - 0x28], edx
call fcn.0059eeb1
mov esi, eax
add esp, 8
test esi, esi
jne 0x5523ac
mov edi, dword [ebp - 4]
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x18]
mov ebx, dword [ebp - 8]
mov esi, dword [edx + 0x24]
push 0x8c
mov ecx, ebx
call fcn.00471be0
cmp esi, eax
je 0x5522cb
push eax
mov ecx, esi
call fcn.005b1978
cmp dword [eax], 0
jne 0x5522cb
xor eax, eax
jmp 0x5522d0
mov eax, 1
test eax, eax
mov esi, dword [ebp - 0x10]
jne 0x552329
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x18]
push 0
push ecx
push edx
lea ecx, [ebp - 0x24]
call fcn.005a9d72
mov eax, dword [esi + 0x48]
mov eax, dword [eax + 0x4c]
test eax, eax
jne 0x552302
push 0x13
mov ecx, esi
call fcn.00595879
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x24]
push ecx
mov ecx, ebx
mov edi, eax
call fcn.0059758c
push eax
push 0x7e6
mov ecx, edi
call fcn.00596b74
mov edi, dword [ebp - 4]
push 0x5f6cb3
push edi
push esi
call fcn.00555940
mov esi, eax
mov al, byte [ebp + 0xc]
add esp, 0xc
test al, al
mov dword [ebp - 0xc], esi
je 0x552373
mov edx, dword [ebx + 0x390]
push 0
push 1
push edx
mov ecx, esi
call fcn.00538730
mov ecx, esi
call fcn.00536c50
test al, al
je 0x552373
mov eax, dword [ebx + 0x394]
push 0
push 0
push eax
mov ecx, esi
call fcn.00538730
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x552391
mov eax, dword [eax + 0x78]
cmp eax, 6
je 0x55238a
cmp eax, 0x61
jne 0x552391
mov eax, 1
jmp 0x552393
xor eax, eax
test eax, eax
je 0x5523cc
mov edx, dword [esi + 0x3c]
shr edx, 4
test dl, 1
jne 0x5523cc
mov ecx, dword [ecx + 0x20]
call fcn.004a71f0
jmp 0x5523cc
lea ecx, [ebp - 0x7c]
call fcn.0059dd8a
mov ebx, dword [ebp - 8]
push esi
mov ecx, ebx
mov dword [ebx + 0x68c], 0
call fcn.005513d0
mov esi, dword [ebp - 0xc]
lea ecx, [ebp - 0x7c]
call fcn.0059dd61
mov eax, dword [ebx + 0x68c]
test eax, eax
je 0x5523e8
mov dword [ebx + 0x68c], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
pop edi
mov dword [eax + 0x340], ecx
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8