Function at 0x4115c0
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.0040ae40
add esp, 0x10
test eax, eax
je 0x411657
mov ebx, eax
mov dword [edi + 8], eax
jmp 0x4116a2
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x10c]
cmp ecx, eax
jae 0x411680
test cl, 3
je 0x4116ae
push ecx
push str.ResTable_package_type_strings_at_0x_x_is_not_on_an_integer_boundary.
push str.ResourceType
push 5
call fcn.00420f20
add esp, 0x10
jmp 0x411696
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.00420f20
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 0x4116c5
test cl, 3
je 0x4116ce
push ecx
push str.ResTable_package_key_strings_at_0x_x_is_not_on_an_integer_boundary.
jmp 0x41166f
push eax
push ecx
push str.ResTable_package_key_strings_at_0x_x_are_past_chunk_size_0x_x.
jmp 0x411687
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.00420170
mov dword [esp + 0x20], 0x54e788
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x41173e
mov byte [esp + 0x90], 0
push ebx
lea edx, [esp + 0x94]
push edx
push dword [ecx + 0x7c]
push eax
call fcn.0040a550
add esp, 0x10
test eax, eax
je 0x411759
mov ebx, eax
push str.Overlay_is_broken
push str.ResourceType
push 5
call fcn.00420f20
add esp, 0xc
jmp 0x4118d1
cmp esi, 0x100
mov eax, esi
jb 0x411761
push str.Package_id_out_of_range
push str.ResourceType
push 0
call fcn.004210a0
movzx eax, byte [esp + 0x90]
mov cl, byte [ebp + 0x14]
test eax, eax
je 0x411785
cmp eax, 0x7f
jne 0x411781
cmp byte [ebp + 0x10], 0
jne 0x411785
test cl, cl
jne 0x411785
mov dword [esp + 8], 0x7f
jmp 0x4117a6
test cl, cl
je 0x4117a2
mov esi, edi
movzx eax, byte [edi + 0x174]
mov dword [esp + 8], eax
add al, 1
mov byte [edi + 0x174], al
mov al, 1
mov dword [esp + 0x18], eax
jmp 0x4117b0
mov dword [esp + 8], eax
mov dword [esp + 0x18], 0
mov esi, edi
mov dword [esp + 4], 0
push 0xcc
call fcn.004227e0
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.00418ef0
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.0040a840
test eax, eax
jne 0x411896
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.0040a840
test eax, eax
je 0x4118f3
mov ebx, eax
mov esi, dword [esp + 4]
test esi, esi
je 0x4118b0
mov ecx, esi
call fcn.00418890
push esi
call fcn.00422980
add esp, 4
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4118d1
lea ecx, [esi + 0x68]
call fcn.0040ac20
lea ecx, [esi + 0xc]
call fcn.0040ac20
push esi
call fcn.00422980
add esp, 4
mov dword [edi + 8], ebx
mov dword [esp + 0x20], 0x54e788
lea esi, [esp + 0x20]
mov ecx, esi
call fcn.0041ff60
mov ecx, esi
call fcn.0041f2b0
jmp 0x4116a2
mov ecx, edi
mov eax, dword [esp + 8]
movzx eax, byte [edi + eax + 0x74]
test eax, eax
je 0x411923
mov ecx, dword [ecx + 0x64]
mov ecx, dword [ecx + eax*4 - 4]
mov dword [esp + 4], ecx
test ecx, ecx
jne 0x411aa2
mov dword [edi + 8], 0x80000000
mov ebx, 0x80000000
jmp 0x4118d4
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 0x4119df
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 0x4119df
lea ebx, [edx + 1]
cmp edx, 0x7e
mov edx, ebx
jb 0x4119c5
mov word [eax], 0
push 0x200
call fcn.004227e0
add esp, 4
mov esi, eax
lea ecx, [esp + 0x14]
lea eax, [esp + 0x90]
push eax
call fcn.0041dd70
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.004184b0
mov dword [esp + 4], esi
lea ecx, [esp + 0x14]
call fcn.0041da60
cmp dword [esp + 4], 0
je 0x412001
lea ecx, [ebx + 0x60]
lea eax, [esp + 4]
push eax
call fcn.0041fc10
mov esi, ebx
test eax, eax
js 0x412017
mov ecx, dword [esp]
add cl, 1
mov eax, dword [esp + 8]
mov byte [esi + eax + 0x74], cl
mov eax, dword [esi + 0x68]
test eax, eax
je 0x411a9b
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.004164b0
mov eax, dword [esp + 8]
add ebx, 1
cmp eax, ebx
jne 0x411a71
mov ecx, dword [esp + 4]
mov esi, dword [ebp + 8]
add ecx, 0xc
lea eax, [esp + 0xc]
push eax
call fcn.0041fc10
test eax, eax
js 0x411ff7
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 ecx, edx
jb 0x4118d4
add esi, eax
mov dword [esp + 0x34], esi
jmp 0x411b6b
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
lea ecx, [esp + 0xa0]
mov edx, 8
call fcn.0040ae40
add esp, 0x10
test eax, eax
jne 0x412023
mov edx, dword [esp + 8]
add edx, dword [esp + 0x18]
cmp dword [esp + 0x38], edx
mov esi, dword [esp + 0x34]
jb 0x4118d4
mov ecx, dword [edx + 4]
mov eax, esi
mov dword [esp + 0x18], ecx
sub eax, ecx
cmp eax, edx
jb 0x4118d4
mov eax, dword [edx]
mov ecx, 0xfffffdff
add eax, ecx
cmp ax, 3
mov dword [esp + 8], edx
ja case.default.0x411b98
movzx eax, ax
jmp dword [eax*4 + 0x54ba78]
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
lea ecx, [esp + 0xa0]
mov edx, 0x18
call fcn.0040ae40
add esp, 0x10
test eax, eax
jne 0x411ff7
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 0x41202d
test edx, edx
je 0x411e7f
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 0x4120aa
mov al, byte [ecx + 8]
test al, al
je 0x412075
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.00420200
test eax, eax
js 0x411ea1
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + eax*8 + 4]
test eax, eax
je 0x411fac
mov al, byte [eax]
jmp 0x411fae
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
lea ecx, [esp + 0xa0]
mov edx, 0x10
call fcn.0040ae40
add esp, 0x10
test eax, eax
jne 0x412023
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 0x412038
cmp ecx, eax
ja 0x412038
mov al, byte [edx + 8]
test al, al
je 0x412050
cmp dword [esp], 0
je 0x411b55
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.00420200
test eax, eax
mov dword [esp + 0x10], eax
js 0x411e8e
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + eax*8 + 4]
test eax, eax
je 0x411eb6
mov al, byte [eax]
jmp 0x411eb8
mov eax, dword [esp + 4]
cmp dword [eax + 0x1e0], 0
je 0x411dbd
push str.Found_multiple_library_tables__ignoring...
push str.ResourceType
push 5
call fcn.00420f20
add esp, 0xc
jmp 0x411b55
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
lea ecx, [esp + 0xa0]
mov esi, edx
mov edx, 0xc
call fcn.0040ae40
add esp, 0x10
test eax, eax
jne 0x412023
mov ecx, dword [esp + 4]
mov eax, 0xd0
add ecx, eax
push esi
call fcn.00416510
test eax, eax
jne 0x412023
mov eax, dword [edi + 0x68]
mov dword [esp], eax
test eax, eax
je 0x411b55
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.004164b0
add esi, 1
cmp dword [esp], esi
jne 0x411e53
jmp 0x411b55
cmp byte [ecx + 8], 0
jne 0x411b55
jmp 0x412075
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x78], 0
mov eax, dword [esp + 0x1c]
jne 0x411b55
jmp 0x411eb8
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x78], 0
mov eax, dword [esp]
jne 0x411b55
jmp 0x411fae
xor eax, eax
add al, 0xff
mov ecx, dword [esp + 4]
add ecx, 0x20
movzx eax, al
push eax
call fcn.00418640
mov dword [esp + 0x1c], eax
cmp dword [eax + 8], 0
je 0x411f05
cmp dword [esp + 0x10], 0
jns 0x411f05
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov eax, dword [eax + 8]
cmp eax, dword [esp]
je 0x411f05
push eax
push dword [esp + 4]
push str.ResTable_typeSpec_entry_count_inconsistent:_given__d__previously__d
push str.ResourceType
push 5
call fcn.00420f20
add esp, 0x14
mov dword [esp + 0x90], 0
push 0x2c
call fcn.004227e0
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.0041f240
mov dword [esi + 0x18], 0x54e71c
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 0x411f80
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.0041fc10
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 0x411b55
xor eax, eax
add al, 0xff
mov ecx, dword [esp + 4]
add ecx, 0x20
movzx eax, al
push eax
call fcn.00418640
mov edx, dword [eax + 8]
test edx, edx
je 0x41208b
add edx, 0xffffffff
mov ecx, eax
push edx
call fcn.0041fd70
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
cmp eax, dword [esp + 0xc]
jne 0x41208b
add ecx, 0x18
lea eax, [esp + 0x14]
push eax
call fcn.0041fc10
jmp 0x411b55
mov ebx, eax
mov dword [edi + 8], eax
jmp 0x4118d4
mov esi, dword [esp + 0xc]
mov ebx, 0xfffffff4
test esi, esi
jne 0x4118b8
jmp 0x4118d1
mov ebx, eax
mov edi, esi
mov dword [esi + 8], eax
jmp 0x4118d4
mov dword [edi + 8], eax
mov ebx, eax
jmp 0x4118d4
push dword [esp]
push eax
push str.ResTable_type_entry_index_to__p_extends_beyond_chunk_end_0x_x.
jmp 0x4120b1
push eax
push ecx
push str.ResTable_typeSpec_entry_index_to__p_extends_beyond_chunk_end__p.
push str.ResourceType
push 5
call fcn.00420f20
add esp, 0x14
jmp 0x412064
push str.ResTable_type_has_an_id_of_0.
push str.ResourceType
push 5
call fcn.00420f20
add esp, 0xc
mov dword [edi + 8], 0x80000001
mov ebx, 0x80000001
jmp 0x4118d4
push str.ResTable_type_has_an_id_of_0.
push str.ResourceType
push 5
call fcn.00420f20
add esp, 0xc
jmp 0x4120c0
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.00420f20
add esp, 0x10
jmp 0x4120c0
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.00420f20
add esp, 0x14
mov ebx, 0x80000001
jmp 0x4118d1