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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51c868
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x569638]
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 0x48188e
lea esi, [esp + 0x14]
call fcn.00456340
mov dword [esp + 0x40], edi
mov esi, dword [esp + 0x14]
cmp esi, edi
je 0x481877
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 0x48188e
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.004791f0
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.004791f0
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 0x4818e8
call fcn.004f4962
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 0x481903
call fcn.004f4962
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.0041fb90
mov edi, dword [ebx + 0x7c]
cmp dword [ebx + 0x78], edi
lea esi, [ebx + 0x6c]
jbe 0x481927
call fcn.004f4962
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 0x481942
call fcn.004f4962
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.0041fb90
lea esi, [ebx + 0xcc]
mov dword [esp + 0x14], 2
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
cmp dword [esi - 4], eax
jbe 0x481974
call fcn.004f4962
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 0x481992
call fcn.004f4962
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.00478b80
add esi, 0x18
sub dword [esp + 0x14], 1
jne 0x481964
mov eax, dword [ebx + 0x140]
lea edi, [ebx + 0x130]
mov dword [esp + 0x1c], eax
cmp dword [edi + 0xc], eax
jbe 0x4819ce
call fcn.004f4962
mov esi, dword [edi + 0xc]
mov ecx, dword [edi]
mov dword [esp + 0x24], ecx
cmp esi, dword [edi + 0x10]
jbe 0x4819e1
call fcn.004f4962
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.00478b80
lea esi, [ebx + 0x84]
mov edi, 2
push esi
call fcn.00488ac0
add esi, 0x1c
sub edi, 1
jne 0x481a04
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