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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x563348
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5c5678]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor edi, edi
cmp dword [ebx + 0x4c], edi
je 0x4ad87e
lea esi, [esp + 0x14]
call fcn.00478360
mov dword [esp + 0x40], edi
mov esi, dword [esp + 0x14]
cmp esi, edi
je 0x4ad867
mov eax, dword [ebx + 0x4c]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x38]
push eax
push esi
call edx
mov dword [ebx + 0x4c], edi
mov dword [esp + 0x40], 0xffffffff
cmp esi, edi
je 0x4ad87e
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov edx, dword [ebx + 0x24]
mov eax, dword [edx + 4]
lea esi, [ebx + 0xc]
push eax
mov ecx, esi
call fcn.004a4090
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], edi
mov dword [eax], eax
mov esi, dword [esi + 0x18]
mov dword [esi + 8], esi
mov ecx, dword [ebx + 0x44]
mov edx, dword [ecx + 4]
lea esi, [ebx + 0x2c]
push edx
mov ecx, esi
call fcn.004a4090
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], edi
mov dword [eax], eax
mov esi, dword [esi + 0x18]
mov dword [esi + 8], esi
mov edi, dword [ebx + 0x64]
cmp dword [ebx + 0x60], edi
lea esi, [ebx + 0x54]
jbe 0x4ad8d8
call fcn.0053ecd6
mov ecx, dword [esi + 0xc]
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
cmp ecx, dword [esi + 0x10]
jbe 0x4ad8f3
call fcn.0053ecd6
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov eax, dword [esi]
push edi
push edx
push ecx
push eax
lea eax, [esp + 0x34]
push eax
call fcn.004b1b40
mov edi, dword [ebx + 0x7c]
cmp dword [ebx + 0x78], edi
lea esi, [ebx + 0x6c]
jbe 0x4ad917
call fcn.0053ecd6
mov ecx, dword [esi]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x14], ecx
cmp ecx, dword [esi + 0x10]
jbe 0x4ad932
call fcn.0053ecd6
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov eax, dword [esi]
push edi
push edx
push ecx
push eax
lea eax, [esp + 0x34]
push eax
call fcn.004b1b40
lea esi, [ebx + 0xcc]
mov dword [esp + 0x14], 2
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
cmp dword [esi - 4], eax
jbe 0x4ad964
call fcn.0053ecd6
mov ecx, dword [esi - 0x10]
lea edi, [esi - 0x10]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi - 4]
mov dword [esp + 0x18], ecx
cmp ecx, dword [esi]
jbe 0x4ad982
call fcn.0053ecd6
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [edi]
push edx
mov edx, dword [esp + 0x28]
push edx
push ecx
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.004b24a0
add esi, 0x18
sub dword [esp + 0x14], 1
jne 0x4ad954
mov eax, dword [ebx + 0x140]
lea edi, [ebx + 0x130]
mov dword [esp + 0x1c], eax
cmp dword [edi + 0xc], eax
jbe 0x4ad9be
call fcn.0053ecd6
mov esi, dword [edi + 0xc]
mov ecx, dword [edi]
mov dword [esp + 0x24], ecx
cmp esi, dword [edi + 0x10]
jbe 0x4ad9d1
call fcn.0053ecd6
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov eax, dword [edi]
push edx
push ecx
push esi
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.004b24a0
lea esi, [ebx + 0x84]
mov edi, 2
push esi
call fcn.004acd90
add esi, 0x1c
sub edi, 1
jne 0x4ad9f4
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4