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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1a0
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov eax, dword [eax + 0x10]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
sub esp, 0x10
mov eax, dword [esp + 0x9c]
mov dword [esp + 8], eax
movsd xmm0, qword [esp + 0x94]
movsd qword [esp], xmm0
mov dword [esp + 0xc], str.ResTable_package
lea ecx, [esp + 0xa0]
mov edx, 0x11c
call fcn.0047a550
add esp, 0x10
test eax, eax
je 0x480f37
mov ebx, eax
mov dword [edi + 8], eax
jmp 0x480f82
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x10c]
cmp ecx, eax
jae 0x480f60
test cl, 3
je 0x480f8e
push ecx
push str.ResTable_package_type_strings_at_0x_x_is_not_on_an_integer_boundary.
push str.ResourceType
push 5
call fcn.00612760
add esp, 0x10
jmp 0x480f76
push eax
push ecx
push str.ResTable_package_type_strings_at_0x_x_are_past_chunk_size_0x_x.
push str.ResourceType
push 5
call fcn.00612760
add esp, 0x14
mov dword [edi + 8], 0x80000001
mov ebx, 0x80000001
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov ecx, dword [esi + 0x114]
cmp ecx, eax
jae 0x480fa5
test cl, 3
je 0x480fae
push ecx
push str.ResTable_package_key_strings_at_0x_x_is_not_on_an_integer_boundary.
jmp 0x480f4f
push eax
push ecx
push str.ResTable_package_key_strings_at_0x_x_are_past_chunk_size_0x_x.
jmp 0x480f67
mov esi, dword [esi + 8]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x30], 0
lea ebx, [esp + 0x20]
mov ecx, ebx
push 0
push 8
call fcn.00613a50
mov dword [esp + 0x20], 0x8787f0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x48101e
mov byte [esp + 0x90], 0
push ebx
lea edx, [esp + 0x94]
push edx
push dword [ecx + 0x7c]
push eax
call fcn.00479c90
add esp, 0x10
test eax, eax
je 0x481039
mov ebx, eax
push str.Overlay_is_broken
push str.ResourceType
push 5
call fcn.00612760
add esp, 0xc
jmp 0x4811b5
cmp esi, 0x100
mov ecx, esi
jb 0x481041
push str.Package_id_out_of_range
push str.ResourceType
push 0
call fcn.006128e0
movzx ecx, byte [esp + 0x90]
movzx edx, byte [ebp + 0x14]
test cl, cl
je 0x481069
movzx eax, cl
cmp eax, 0x7f
jne 0x481065
cmp byte [ebp + 0x10], 0
jne 0x481069
test dl, dl
jne 0x481069
mov dword [esp + 8], 0x7f
jmp 0x48108a
test dl, dl
je 0x481086
mov esi, edi
movzx eax, byte [edi + 0x174]
mov dword [esp + 8], eax
inc al
mov byte [edi + 0x174], al
mov al, 1
mov dword [esp + 0x18], eax
jmp 0x481094
mov dword [esp + 8], ecx
mov dword [esp + 0x18], 0
mov esi, edi
mov dword [esp + 4], 0
push 0xcc
call fcn.0051c3d0
add esp, 4
mov ebx, eax
mov ecx, eax
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
push esi
mov esi, edx
call fcn.00488660
mov dword [esp + 0xc], ebx
add ebx, 0xc
mov eax, dword [esi + 0x10c]
add eax, esi
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x10]
sub ecx, eax
sub esp, 0x14
mov eax, dword [esp + 0x94]
mov dword [esp + 8], eax
movsd xmm0, qword [esp + 0x8c]
movsd qword [esp], xmm0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov ecx, ebx
call fcn.00479f80
test eax, eax
jne 0x48117a
mov ecx, dword [esp + 0xc]
add ecx, 0x68
mov eax, dword [esi + 0x114]
add eax, esi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x10]
sub edx, eax
sub esp, 0x14
mov eax, dword [esp + 0x88]
mov dword [esp + 8], eax
movsd xmm0, qword [esp + 0x80]
movsd qword [esp], xmm0
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
call fcn.00479f80
test eax, eax
je 0x4811d7
mov ebx, eax
mov esi, dword [esp + 4]
test esi, esi
je 0x481194
mov ecx, esi
call fcn.00488030
push esi
call fcn.0051c570
add esp, 4
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4811b5
lea ecx, [esi + 0x68]
call fcn.0047a340
lea ecx, [esi + 0xc]
call fcn.0047a340
push esi
call fcn.0051c570
add esp, 4
mov dword [edi + 8], ebx
mov dword [esp + 0x20], 0x8787f0
lea esi, [esp + 0x20]
mov ecx, esi
call fcn.00613840
mov ecx, esi
call fcn.00612ba0
jmp 0x480f82
mov ecx, edi
mov eax, dword [esp + 8]
movzx eax, byte [edi + eax + 0x74]
test eax, eax
je 0x481207
mov ecx, dword [ecx + 0x64]
mov ecx, dword [ecx + eax*4 - 4]
mov dword [esp + 4], ecx
test ecx, ecx
jne 0x481383
mov dword [edi + 8], 0x80000000
mov ebx, 0x80000000
jmp 0x4811b8
mov eax, dword [ecx + 0x68]
mov dword [esp], eax
xorps xmm0, xmm0
movaps xmmword [esp + 0x180], xmm0
movaps xmmword [esp + 0x170], xmm0
movaps xmmword [esp + 0x160], xmm0
movaps xmmword [esp + 0x150], xmm0
movaps xmmword [esp + 0x140], xmm0
movaps xmmword [esp + 0x130], xmm0
movaps xmmword [esp + 0x120], xmm0
movaps xmmword [esp + 0x110], xmm0
movaps xmmword [esp + 0x100], xmm0
movaps xmmword [esp + 0xf0], xmm0
movaps xmmword [esp + 0xe0], xmm0
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x90], xmm0
movzx ecx, word [esi + 0xc]
lea eax, [esp + 0x90]
test cx, cx
je 0x4812c3
xor edx, edx
lea eax, [esp + 0x90]
mov word [eax], cx
movzx ecx, word [esi + edx*2 + 0xe]
add eax, 2
test cx, cx
je 0x4812c3
lea ebx, [edx + 1]
cmp edx, 0x7e
mov edx, ebx
jb 0x4812a9
mov word [eax], 0
push 0x200
call fcn.0051c3d0
add esp, 4
mov esi, eax
lea ecx, [esp + 0x14]
lea eax, [esp + 0x90]
push eax
call fcn.006165d0
movzx eax, byte [esp + 0x18]
movzx edx, byte [ebp + 0x14]
movzx ebx, byte [ebp + 0x10]
mov ecx, esi
push eax
push edx
push ebx
push dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
mov ebx, edi
push edi
call fcn.00487c50
mov dword [esp + 4], esi
lea ecx, [esp + 0x14]
call fcn.006162d0
cmp dword [esp + 4], 0
je 0x4818c8
lea ecx, [ebx + 0x60]
lea eax, [esp + 4]
push eax
call fcn.006134f0
mov esi, ebx
test eax, eax
js 0x4818de
mov ecx, dword [esp]
inc cl
mov eax, dword [esp + 8]
mov byte [esi + eax + 0x74], cl
mov eax, dword [esi + 0x68]
test eax, eax
je 0x48137c
xor ebx, ebx
mov dword [esp + 8], eax
mov eax, dword [esi + 0x64]
mov ecx, dword [eax + ebx*4]
mov eax, 0xd0
add ecx, eax
mov eax, dword [esp + 4]
movzx edx, byte [eax + 8]
add eax, 4
push edx
push eax
call fcn.00485c80
mov eax, dword [esp + 8]
inc ebx
cmp eax, ebx
jne 0x481354
mov ecx, dword [esp + 4]
mov esi, dword [ebp + 8]
add ecx, 0xc
lea eax, [esp + 0xc]
push eax
call fcn.006134f0
test eax, eax
js 0x4818be
movzx edx, word [esi + 2]
add edx, esi
mov eax, dword [esi + 4]
lea ecx, [esi + eax]
add ecx, 0xfffffff8
xor ebx, ebx
mov dword [esp + 0x38], ecx
cmp edx, ecx
ja 0x4811b8
add esi, eax
mov dword [esp + 0x34], esi
jmp 0x481445
mov eax, dword [esp + 0xc]
mov byte [eax + 0xc8], 1
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
sub esp, 0x10
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
movsd xmm0, qword [esp + 0x4c]
movsd qword [esp], xmm0
mov dword [esp + 0xc], str.ResTable_package:unknown
mov edx, 8
call fcn.0047a550
add esp, 0x10
test eax, eax
jne 0x4818ea
mov edx, dword [esp + 8]
add edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
ja 0x4811b8
mov ecx, dword [edx + 4]
mov eax, esi
mov dword [esp + 0x18], ecx
sub eax, ecx
cmp edx, eax
lea ecx, [esp + 0x90]
ja 0x4811b8
movzx eax, word [edx]
add eax, 0xfffffdff
cmp eax, 3
mov dword [esp + 8], edx
ja case.default.0x481474
jmp dword [eax*4 + 0x875ca8]
mov dword [esp + 0x14], edx
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
sub esp, 0x10
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
movsd xmm0, qword [esp + 0x64]
movsd qword [esp], xmm0
mov dword [esp + 0xc], str.ResTable_type
mov edx, 0x18
call fcn.0047a550
add esp, 0x10
test eax, eax
jne 0x4818be
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 4]
mov dword [esp], eax
mov edx, dword [ecx + 0xc]
movzx eax, word [ecx + 2]
lea eax, [eax + edx*4]
cmp eax, dword [esp]
ja 0x4818f4
test edx, edx
je 0x481748
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x10], eax
mov edx, dword [esp]
lea eax, [edx - 8]
cmp dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
ja 0x481971
movzx eax, byte [ecx + 8]
test al, al
je 0x48193c
mov dword [esp], eax
mov byte [esp + 0x90], al
mov dword [esp + 0x94], 0
lea ecx, [esp + 0x20]
lea eax, [esp + 0x90]
push eax
call fcn.00613ae0
test eax, eax
js 0x48176a
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + eax*8 + 4]
test eax, eax
je 0x481875
movzx eax, byte [eax]
jmp 0x481877
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
sub esp, 0x10
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
movsd xmm0, qword [esp + 0x70]
movsd qword [esp], xmm0
mov dword [esp + 0xc], str.ResTable_typeSpec
mov edx, 0x10
call fcn.0047a550
add esp, 0x10
test eax, eax
jne 0x4818ea
mov edx, dword [esp + 8]
mov eax, dword [edx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0xc]
movzx ecx, word [edx + 2]
lea ecx, [ecx + eax*4]
mov dword [esp], eax
cmp eax, 0x1fffffff
mov eax, dword [esp + 0x10]
ja 0x4818ff
cmp ecx, eax
ja 0x4818ff
movzx eax, byte [edx + 8]
test al, al
je 0x481917
cmp dword [esp], 0
je 0x48142f
mov dword [esp + 0x1c], eax
mov byte [esp + 0x90], al
mov dword [esp + 0x94], 0
lea ecx, [esp + 0x20]
lea eax, [esp + 0x90]
push eax
call fcn.00613ae0
test eax, eax
mov dword [esp + 0x10], eax
js 0x481757
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + eax*8 + 4]
test eax, eax
je 0x48177f
movzx eax, byte [eax]
jmp 0x481781
mov eax, dword [esp + 4]
cmp dword [eax + 0x1e0], 0
je 0x48168f
push str.Found_multiple_library_tables__ignoring...
push str.ResourceType
push 5
call fcn.00612760
add esp, 0xc
jmp 0x48142f
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
sub esp, 0x10
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
movsd xmm0, qword [esp + 0x58]
movsd qword [esp], xmm0
mov dword [esp + 0xc], str.ResTable_lib_header
mov esi, edx
mov edx, 0xc
call fcn.0047a550
add esp, 0x10
test eax, eax
jne 0x4818ea
mov ecx, dword [esp + 4]
mov eax, 0xd0
add ecx, eax
push esi
call fcn.00485ce0
test eax, eax
jne 0x4818ea
mov eax, dword [edi + 0x68]
mov dword [esp], eax
test eax, eax
je 0x48142f
xor esi, esi
mov ecx, dword [esp + 4]
mov eax, 0xd0
add ecx, eax
mov eax, dword [edi + 0x64]
mov eax, dword [eax + esi*4]
movzx edx, byte [eax + 8]
add eax, 4
push edx
push eax
call fcn.00485c80
inc esi
cmp dword [esp], esi
jne 0x48171e
jmp 0x48142f
cmp byte [ecx + 8], 0
jne 0x48142f
jmp 0x48193c
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x78], 0
mov eax, dword [esp + 0x1c]
jne 0x48142f
jmp 0x481781
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x78], 0
mov eax, dword [esp]
jne 0x48142f
jmp 0x481877
xor eax, eax
dec al
mov ecx, dword [esp + 4]
add ecx, 0x20
movzx eax, al
push eax
call fcn.00487de0
mov dword [esp + 0x1c], eax
cmp dword [eax + 8], 0
je 0x4817ce
cmp dword [esp + 0x10], 0
jns 0x4817ce
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov eax, dword [eax + 8]
cmp eax, dword [esp]
je 0x4817ce
push eax
push dword [esp + 4]
push str.ResTable_typeSpec_entry_count_inconsistent:_given__d__previously__d
push str.ResourceType
push 5
call fcn.00612760
add esp, 0x14
mov dword [esp + 0x90], 0
push 0x2c
call fcn.0051c3d0
add esp, 4
mov esi, eax
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov eax, dword [esp]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
lea ecx, [esi + 0x18]
push 7
push 4
call fcn.00612b30
mov dword [esi + 0x18], 0x878784
mov dword [esp + 0x90], esi
mov ecx, dword [esp + 8]
mov dword [esi + 0xc], ecx
movzx eax, word [ecx + 2]
add eax, ecx
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x10]
test ecx, ecx
js 0x481849
mov eax, dword [esp + 0x24]
mov eax, dword [eax + ecx*8 + 4]
mov dword [esi + 0x14], eax
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x90]
push eax
call fcn.006134f0
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x74]
mov edx, dword [esp + 8]
mov edx, dword [edx + 8]
cmp cl, dl
cmova edx, ecx
mov byte [eax + 0x74], dl
jmp 0x48142f
xor eax, eax
dec al
mov ecx, dword [esp + 4]
add ecx, 0x20
movzx eax, al
push eax
call fcn.00487de0
mov edx, dword [eax + 8]
test edx, edx
je 0x481952
dec edx
mov ecx, eax
push edx
call fcn.00613650
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
cmp eax, dword [esp + 0xc]
jne 0x481952
add ecx, 0x18
lea eax, [esp + 0x14]
push eax
call fcn.006134f0
jmp 0x48142f
mov ebx, eax
mov dword [edi + 8], eax
jmp 0x4811b8
mov esi, dword [esp + 0xc]
mov ebx, 0xfffffff4
test esi, esi
jne 0x48119c
jmp 0x4811b5
mov ebx, eax
mov edi, esi
mov dword [esi + 8], eax
jmp 0x4811b8
mov dword [edi + 8], eax
mov ebx, eax
jmp 0x4811b8
push dword [esp]
push eax
push str.ResTable_type_entry_index_to__p_extends_beyond_chunk_end_0x_x.
jmp 0x481978
push eax
push ecx
push str.ResTable_typeSpec_entry_index_to__p_extends_beyond_chunk_end__p.
push str.ResourceType
push 5
call fcn.00612760
add esp, 0x14
jmp 0x48192b
push str.ResTable_type_has_an_id_of_0.
push str.ResourceType
push 5
call fcn.00612760
add esp, 0xc
mov dword [edi + 8], 0x80000001
mov ebx, 0x80000001
jmp 0x4811b8
push str.ResTable_type_has_an_id_of_0.
push str.ResourceType
push 5
call fcn.00612760
add esp, 0xc
jmp 0x481987
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 8]
push eax
push str.No_TypeSpec_for_type__d
push str.ResourceType
push 6
call fcn.00612760
add esp, 0x10
jmp 0x481987
push edx
push eax
push str.ResTable_type_entriesStart_at_0x_x_extends_beyond_chunk_end_0x_x.
push str.ResourceType
push 5
call fcn.00612760
add esp, 0x14
mov ebx, 0x80000001
jmp 0x4811b5