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

Disassembly:
push ebp
mov edx, 0x11c
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x16c
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp + 8]
mov dword [esp], str.ResTable_package
call fcn.0044ab50
test eax, eax
jne 0x454ebd
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x10c]
cmp edx, eax
jbe 0x455ca7
test al, 3
jne 0x455c99
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x114]
cmp edx, eax
jbe 0x455c5e
test al, 3
jne 0x455c27
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x12c]
mov ebx, dword [eax + 8]
mov dword [esp + 4], 0
mov dword [esp], 8
call fcn.004816e0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x12c], 0x580ac8
mov eax, dword [eax + 0x4c]
sub esp, 8
test eax, eax
je 0x454ed0
lea esi, [ebp - 0x12c]
mov dword [esp + 0xc], esi
mov esi, dword [ebp + 0xc]
lea edx, [ebp - 0x118]
mov dword [esp + 8], edx
mov byte [ebp - 0x118], 0
mov edx, dword [esi + 0x50]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0044b110
test eax, eax
mov ebx, eax
jne 0x454ff5
movzx ebx, byte [ebp - 0x118]
test ebx, ebx
je 0x454916
cmp ebx, 0x7f
jne 0x454906
cmp byte [ebp - 0x13c], 0
jne 0x454916
cmp byte [ebp - 0x140], 0
mov byte [ebp - 0x144], 0
je 0x454933
mov esi, dword [ebp - 0x150]
mov byte [ebp - 0x144], 1
movzx ebx, byte [esi + 0x174]
lea eax, [ebx + 1]
mov byte [esi + 0x174], al
mov dword [esp], 0x70
mov dword [ebp - 0x138], 0
call fcn.0053ea30
mov edi, eax
mov eax, dword [ebp - 0x150]
lea ecx, [edi + 0x1c]
mov dword [edi + 0xc], 0xffffffed
mov dword [edi + 0x10], 0
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x14], 0
mov dword [edi + 4], eax
mov eax, dword [ebp + 8]
mov dword [edi + 8], eax
call fcn.0047e870
lea ecx, [edi + 0x4c]
mov dword [edi + 0x2c], 0
mov dword [edi + 0x3c], 0xffffffed
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
call fcn.0047e870
mov eax, dword [edi + 8]
mov dword [edi + 0x5c], 0
mov dword [edi + 0x6c], 0
cmp word [eax + 2], 0x120
jne 0x4549c2
mov eax, dword [eax + 0x11c]
mov dword [edi + 0x6c], eax
mov eax, dword [ebp + 8]
lea ecx, [edi + 0xc]
mov dword [ebp - 0x134], edi
mov edx, dword [eax + 0x10c]
mov dword [esp + 8], 0
add edx, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp], edx
sub eax, edx
mov dword [esp + 4], eax
call fcn.0044b4e0
sub esp, 0xc
test eax, eax
mov dword [ebp - 0x158], eax
je 0x455021
mov eax, dword [ebp - 0x138]
test eax, eax
mov dword [ebp - 0x144], eax
je 0x454e46
add eax, 0x60
xor esi, esi
mov dword [ebp - 0x154], eax
jmp 0x454a33
add esi, 1
cmp esi, 0x100
je 0x454aec
mov edx, dword [ebp - 0x144]
mov eax, esi
sar eax, 4
lea edi, [edx + eax*4]
mov eax, dword [edi + 0x20]
test eax, eax
je 0x454ef8
mov ecx, esi
and ecx, 0xf
lea ecx, [ecx + ecx*4]
lea ebx, [eax + ecx*4]
mov eax, dword [ebx + 8]
test eax, eax
je 0x454a24
mov eax, dword [edi + 0x78]
test eax, eax
je 0x454f03
mov edx, esi
and edx, 0xf
lea edx, [edx + edx*2]
lea eax, [eax + edx*8]
mov edi, eax
lea ecx, [eax + 4]
mov dword [ebp - 0x13c], eax
call fcn.004816b0
mov edi, dword [edi]
test edi, edi
je 0x454a24
mov eax, dword [ebx + 4]
xor ebx, ebx
mov eax, dword [eax]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x454ac9
mov dword [ebp - 0x140], esi
mov esi, ecx
jmp 0x454aa9
add ebx, 1
cmp ebx, esi
je 0x454ac3
mov eax, dword [edi + ebx*4]
lea edx, [eax - 1]
cmp edx, 0xfffffffd
ja 0x454aa2
mov dword [esp], eax
add ebx, 1
call sub.msvcrt.dll_free
cmp ebx, esi
jne 0x454aa9
mov esi, dword [ebp - 0x140]
mov dword [esp], edi
add esi, 1
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x13c]
cmp esi, 0x100
mov dword [eax], 0
jne 0x454a33
mov dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x140]
mov edx, dword [ebp - 0x144]
sar eax, 4
lea ebx, [edx + eax*4]
mov edi, dword [ebx + 0x20]
test edi, edi
je 0x454f98
mov eax, dword [ebp - 0x140]
xor ebx, ebx
and eax, 0xf
lea eax, [eax + eax*4]
lea edi, [edi + eax*4]
mov eax, dword [edi + 8]
test eax, eax
je 0x454ba2
mov dword [ebp - 0x13c], eax
mov edx, dword [ebp - 0x144]
mov eax, edi
jmp 0x454b4b
add ebx, 1
cmp ebx, dword [ebp - 0x13c]
je 0x454ba0
mov ecx, dword [eax + 4]
mov edi, dword [edx]
mov esi, dword [ecx + ebx*4]
mov ecx, dword [esi + 4]
cmp dword [ecx], edi
jne 0x454b40
mov dword [ebp - 0x14c], eax
lea eax, [esi + 0x18]
add ebx, 1
mov edi, eax
mov ecx, eax
mov dword [esi + 0x18], 0x5814c8
mov dword [ebp - 0x148], edx
call fcn.00480930
mov ecx, edi
call fcn.004806e0
mov dword [esp], esi
call fcn.0053e980
mov eax, dword [ebp - 0x14c]
cmp ebx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x148]
jne 0x454b4b
nop
mov edi, eax
mov ecx, edi
call fcn.004816b0
add dword [ebp - 0x140], 1
cmp dword [ebp - 0x140], 0x100
jne 0x454af6
mov eax, dword [ebp - 0x144]
xor ebx, ebx
mov edi, dword [eax + 0x14]
test edi, edi
je 0x454c2e
mov edx, edi
mov edi, dword [ebp - 0x144]
jmp 0x454be7
add ebx, 1
cmp ebx, edx
je 0x454c2e
mov eax, dword [edi + 0x10]
mov esi, dword [eax + ebx*4]
mov eax, dword [edi]
cmp dword [esi], eax
jne 0x454be0
lea ecx, [esi + 0x3c]
add ebx, 1
mov dword [ebp - 0x13c], edx
call fcn.0044b3e0
lea ecx, [esi + 0x4c]
call fcn.0047e920
lea ecx, [esi + 0xc]
call fcn.0044b3e0
lea ecx, [esi + 0x1c]
call fcn.0047e920
mov dword [esp], esi
call fcn.0053e980
mov edx, dword [ebp - 0x13c]
cmp ebx, edx
jne 0x454be7
mov esi, dword [ebp - 0x144]
lea ebx, [esi + 0x1d4]
mov ecx, ebx
mov dword [esi + 0x1d4], 0x580a08
call fcn.00480930
mov ecx, ebx
call fcn.00480720
mov eax, esi
add eax, 0x78
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov esi, dword [ebp - 0x13c]
mov edx, dword [eax + esi*4]
test edx, edx
je 0x454cea
mov eax, dword [edx - 4]
lea eax, [eax + eax*2]
lea eax, [edx + eax*8]
cmp edx, eax
mov dword [ebp - 0x148], eax
je 0x454cdf
lea edi, [eax - 0x18]
sub eax, 0x14
mov dword [ebp - 0x14c], eax
mov esi, edi
nop
lea esi, [esi]
mov eax, dword [ebp - 0x14c]
mov edx, esi
mov ebx, esi
sub edx, dword [ebp - 0x148]
lea edi, [esi + 4]
sub esi, 0x18
mov ecx, edi
mov dword [eax + edx + 0x18], 0x5816c8
call fcn.00480930
mov ecx, edi
call fcn.004806e0
mov eax, dword [ebp - 0x140]
mov edx, dword [ebp - 0x13c]
mov edx, dword [eax + edx*4]
cmp edx, ebx
jne 0x454ca0
sub edx, 4
mov dword [esp], edx
call fcn.0053e970
add dword [ebp - 0x13c], 1
cmp dword [ebp - 0x13c], 0x10
jne 0x454c67
mov edi, dword [ebp - 0x140]
mov edx, 0x40
test edi, 1
jne 0x455c13
test edi, 2
jne 0x455c02
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
je 0x454d38
xor eax, eax
add edi, 2
mov word [edi - 2], ax
and edx, 1
je 0x454d40
mov byte [edi], 0
mov edi, dword [ebp - 0x144]
xor esi, esi
lea ebx, [edi + 0xbc]
mov ecx, ebx
mov dword [edi + 0xbc], 0x5816c8
call fcn.00480930
mov ecx, ebx
call fcn.004806e0
mov eax, edi
add eax, 0x20
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov edx, dword [eax + esi*4]
test edx, edx
je 0x454db3
mov eax, dword [edx - 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
cmp edx, eax
je 0x454da8
lea edi, [eax - 0x14]
nop
mov edx, dword [edi]
mov ecx, edi
mov ebx, edi
sub edi, 0x14
call dword [edx]
mov eax, dword [ebp - 0x13c]
mov edx, dword [eax + esi*4]
cmp edx, ebx
jne 0x454d90
sub edx, 4
mov dword [esp], edx
call fcn.0053e970
add esi, 1
cmp esi, 0x10
jne 0x454d71
mov edi, dword [ebp - 0x13c]
mov edx, 0x40
test edi, 1
jne 0x455ce5
test edi, 2
jne 0x455bf1
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
je 0x454df5
xor ecx, ecx
add edi, 2
mov word [edi - 2], cx
and edx, 1
je 0x454dfd
mov byte [edi], 0
mov esi, dword [ebp - 0x144]
mov dword [esi + 0x60], 0x581588
mov ebx, dword [ebp - 0x154]
mov ecx, ebx
call fcn.00480930
mov ecx, ebx
lea ebx, [esi + 0xc]
call fcn.004806e0
mov ecx, ebx
mov dword [esi + 0xc], 0x581608
call fcn.00480930
mov ecx, ebx
call fcn.004806e0
lea ecx, [esi + 4]
call fcn.0047dc10
mov dword [esp], esi
call fcn.0053e980
mov ebx, dword [ebp - 0x134]
test ebx, ebx
je 0x454e78
lea ecx, [ebx + 0x3c]
call fcn.0044b3e0
lea ecx, [ebx + 0x4c]
call fcn.0047e920
lea ecx, [ebx + 0xc]
call fcn.0044b3e0
lea ecx, [ebx + 0x1c]
call fcn.0047e920
mov dword [esp], ebx
call fcn.0053e980
mov esi, dword [ebp - 0x150]
mov eax, dword [ebp - 0x158]
mov dword [esi + 8], eax
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x12c], 0x580ac8
call fcn.00480930
lea ecx, [ebp - 0x12c]
call fcn.00480720
mov eax, dword [ebp - 0x13c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov esi, dword [ebp - 0x150]
mov dword [esi + 8], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
cmp ebx, 0xff
jbe 0x4548f4
mov dword [esp + 8], str.Package_id_out_of_range
mov dword [esp + 4], str.ResourceType
mov dword [esp], 0
call fcn.004825e0
mov ebx, dword [ebp - 0x154]
jmp 0x454a57
mov dword [esp], 0x184
call fcn.0053e9a0
mov dword [ebp - 0x140], esi
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x14c], edi
mov ecx, eax
mov dword [eax], 0x10
lea eax, [eax + 4]
mov dword [ebp - 0x13c], eax
lea edx, [ecx + 0x188]
lea eax, [ecx + 8]
mov ebx, edx
mov esi, eax
mov edi, eax
mov dword [esi - 4], 0
mov ecx, esi
mov dword [esp + 4], 0
mov dword [esp], 8
call fcn.00480770
mov edx, esi
add esi, 0x18
sub edx, dword [ebp - 0x13c]
mov dword [edi + edx - 4], 0x5816c8
sub esp, 8
cmp esi, ebx
jne 0x454f41
mov edi, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x13c]
mov esi, dword [ebp - 0x140]
mov ebx, dword [ebp - 0x148]
mov dword [edi + 0x78], eax
jmp 0x454a69
mov dword [esp], 0x144
call fcn.0053e9a0
lea esi, [eax + 4]
mov dword [ebp - 0x13c], esi
mov edi, esi
mov dword [eax], 0x10
lea esi, [eax + 0x144]
nop
lea esi, [esi]
mov ecx, edi
add edi, 0x14
mov dword [esp + 4], 7
mov dword [esp], 4
call fcn.00480770
mov dword [edi - 0x14], 0x581588
sub esp, 8
cmp edi, esi
jne 0x454fc0
mov edi, dword [ebp - 0x13c]
mov dword [ebx + 0x20], edi
jmp 0x454b13
mov dword [esp + 8], str.Overlay_is_broken
mov dword [esp + 4], str.ResourceType
mov dword [esp], 5
call fcn.00482510
mov eax, dword [ebp - 0x150]
mov dword [eax + 8], ebx
mov eax, ebx
jmp 0x454e87
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x114]
mov dword [esp + 8], 0
add edx, eax
mov eax, dword [ebp - 0x134]
lea ecx, [eax + 0x3c]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp], edx
sub eax, edx
mov dword [esp + 4], eax
call fcn.0044b4e0
sub esp, 0xc
test eax, eax
mov dword [ebp - 0x158], eax
je 0x4551e1
mov eax, dword [ebp - 0x138]
test eax, eax
mov dword [ebp - 0x144], eax
je 0x454e46
add eax, 0x60
xor esi, esi
mov dword [ebp - 0x154], eax
jmp 0x455092
add esi, 1
cmp esi, 0x100
je 0x455576
mov edx, dword [ebp - 0x144]
mov eax, esi
sar eax, 4
lea edi, [edx + eax*4]
mov eax, dword [edi + 0x20]
test eax, eax
je 0x455141
mov ecx, esi
and ecx, 0xf
lea ecx, [ecx + ecx*4]
lea ebx, [eax + ecx*4]
mov eax, dword [ebx + 8]
test eax, eax
je 0x455083
mov eax, dword [edi + 0x78]
test eax, eax
je 0x45514c
mov edx, esi
and edx, 0xf
lea edx, [edx + edx*2]
lea eax, [eax + edx*8]
mov edi, eax
lea ecx, [eax + 4]
mov dword [ebp - 0x13c], eax
call fcn.004816b0
mov edi, dword [edi]
test edi, edi
je 0x455083
mov eax, dword [ebx + 4]
xor ebx, ebx
mov eax, dword [eax]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x455128
mov dword [ebp - 0x140], esi
mov esi, ecx
jmp 0x455108
add ebx, 1
cmp ebx, esi
je 0x455122
mov eax, dword [edi + ebx*4]
lea edx, [eax - 1]
cmp edx, 0xfffffffd
ja 0x455101
mov dword [esp], eax
add ebx, 1
call sub.msvcrt.dll_free
cmp ebx, esi
jne 0x455108
mov esi, dword [ebp - 0x140]
mov dword [esp], edi
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x13c]
mov dword [eax], 0
jmp 0x455083
mov ebx, dword [ebp - 0x154]
jmp 0x4550b6
mov dword [esp], 0x184
call fcn.0053e9a0
mov dword [ebp - 0x140], esi
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x14c], edi
mov ecx, eax
mov dword [eax], 0x10
lea eax, [eax + 4]
mov dword [ebp - 0x13c], eax
lea edx, [ecx + 0x188]
lea eax, [ecx + 8]
mov edi, edx
mov ebx, eax
mov esi, eax
mov dword [ebx - 4], 0
mov ecx, ebx
mov dword [esp + 4], 0
mov dword [esp], 8
call fcn.00480770
mov edx, ebx
add ebx, 0x18
sub edx, dword [ebp - 0x13c]
mov dword [esi + edx - 4], 0x5816c8
sub esp, 8
cmp ebx, edi
jne 0x45518a
mov edi, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x13c]
mov esi, dword [ebp - 0x140]
mov ebx, dword [ebp - 0x148]
mov dword [edi + 0x78], eax
jmp 0x4550c8
mov eax, dword [ebp - 0x150]
movzx eax, byte [eax + ebx + 0x74]
test eax, eax
jne 0x455cb9
mov eax, dword [ebp - 0x150]
lea edi, [ebp - 0x118]
mov eax, dword [eax + 0x68]
add eax, 1
mov dword [ebp - 0x148], eax
mov eax, dword [ebp + 8]
movzx edx, word [eax + 0xc]
lea ecx, [eax + 0xc]
mov eax, edi
test dx, dx
je 0x455238
lea esi, [ebp - 0x1a]
jmp 0x455226
cmp eax, esi
jae 0x455238
add eax, 2
add ecx, 2
mov word [eax - 2], dx
movzx edx, word [ecx]
test dx, dx
jne 0x455222
xor edx, edx
mov word [eax], dx
lea ecx, [ebp - 0x130]
mov dword [esp], edi
call fcn.0047db40
sub esp, 4
mov dword [esp], 0x1f0
call fcn.0053ea30
mov esi, eax
mov eax, dword [ebp - 0x150]
lea ecx, [esi + 4]
lea edi, [esi + 0x20]
mov dword [esi], eax
lea eax, [ebp - 0x130]
mov dword [esp], eax
call fcn.0047db20
lea ecx, [esi + 0xc]
mov dword [esi + 8], ebx
sub esp, 4
mov dword [esp + 4], 7
mov dword [esp], 4
call fcn.00480770
lea ecx, [esi + 0x60]
mov dword [esi + 0xc], 0x581608
sub esp, 8
mov dword [esp + 4], 7
mov dword [esp], 4
call fcn.00480770
mov edx, 0x40
mov dword [esi + 0x60], 0x581588
sub esp, 8
test edi, 1
jne 0x455f77
test edi, 2
jne 0x455f66
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
je 0x4552f4
xor eax, eax
add edi, 2
mov word [edi - 2], ax
and edx, 1
je 0x4552fc
mov byte [edi], 0
mov byte [esi + 0x74], 0
lea ecx, [esi + 0xbc]
mov dword [esi + 0xb8], 0
lea edi, [esi + 0x78]
mov dword [esp + 4], 0
mov dword [esp], 8
call fcn.00480770
mov edx, 0x40
mov dword [esi + 0xbc], 0x5816c8
sub esp, 8
test edi, 1
jne 0x455f58
test edi, 2
jne 0x455f47
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
je 0x455368
xor eax, eax
add edi, 2
mov word [edi - 2], ax
and edx, 1
je 0x455370
mov byte [edi], 0
movzx eax, byte [ebp - 0x13c]
lea ecx, [esi + 0xd0]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00453e30
movzx eax, byte [ebp - 0x140]
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x138], esi
mov byte [esi + 0x1ec], al
movzx eax, byte [ebp - 0x144]
sub esp, 8
mov byte [esi + 0x1ed], al
call fcn.0047dc10
mov eax, dword [ebp - 0x138]
test eax, eax
je 0x455efe
mov eax, dword [ebp - 0x150]
lea ecx, [eax + 0x60]
lea eax, [ebp - 0x138]
mov dword [esp], eax
call fcn.004813a0
mov esi, dword [ebp - 0x150]
sub esp, 4
test eax, eax
js 0x455894
movzx eax, byte [ebp - 0x148]
mov edi, dword [ebp - 0x150]
mov byte [esi + ebx + 0x74], al
mov esi, dword [esi + 0x68]
xor ebx, ebx
test esi, esi
je 0x455436
mov edx, dword [edi + 0x64]
mov eax, dword [ebp - 0x138]
mov ecx, dword [edx + ebx*4]
add ebx, 1
movzx edx, byte [eax + 8]
add eax, 4
mov dword [esp], eax
add ecx, 0xd0
mov dword [esp + 4], edx
call fcn.00454790
sub esp, 8
cmp ebx, esi
jne 0x455407
mov eax, dword [ebp - 0x138]
lea ecx, [eax + 0xc]
lea eax, [ebp - 0x134]
mov dword [esp], eax
call fcn.004813a0
sub esp, 4
test eax, eax
js 0x45588e
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
movzx eax, word [eax + 2]
add eax, dword [ebp + 8]
mov esi, eax
mov eax, dword [edx + 4]
add eax, edx
mov dword [ebp - 0x13c], eax
sub eax, 8
cmp esi, eax
mov dword [ebp - 0x14c], eax
ja 0x45556f
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x144], eax
sub edx, eax
cmp esi, edx
ja 0x45556f
movzx eax, word [esi]
cmp ax, 0x202
je 0x455944
cmp ax, 0x201
je 0x4558c1
cmp ax, 0x203
jne 0x45586d
mov eax, dword [ebp - 0x138]
mov eax, dword [eax + 0x1dc]
test eax, eax
jne 0x4558a0
mov ecx, dword [ebp - 0x13c]
mov edx, 0xc
mov eax, esi
mov dword [esp], str.ResTable_lib_header
call fcn.0044ab50
test eax, eax
jne 0x45588e
mov eax, dword [ebp - 0x138]
mov dword [esp], esi
lea ecx, [eax + 0xd0]
call fcn.00453f10
sub esp, 4
test eax, eax
jne 0x45588e
mov eax, dword [ebp - 0x150]
mov edi, dword [eax + 0x68]
test edi, edi
je 0x45555d
mov dword [ebp - 0x140], esi
xor ebx, ebx
mov esi, eax
mov eax, dword [esi + 0x64]
mov edx, dword [ebp - 0x138]
mov eax, dword [eax + ebx*4]
add ebx, 1
lea ecx, [edx + 0xd0]
movzx edx, byte [eax + 8]
add eax, 4
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00454790
sub esp, 8
cmp ebx, edi
jne 0x455528
mov esi, dword [ebp - 0x140]
add esi, dword [ebp - 0x144]
cmp esi, dword [ebp - 0x14c]
jbe 0x455483
xor eax, eax
jmp 0x454e87
mov dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x140]
mov esi, dword [ebp - 0x144]
sar eax, 4
lea ebx, [esi + eax*4]
mov edi, dword [ebx + 0x20]
test edi, edi
je 0x45569f
mov eax, dword [ebp - 0x140]
xor ebx, ebx
and eax, 0xf
lea eax, [eax + eax*4]
lea edi, [edi + eax*4]
mov eax, dword [edi + 8]
test eax, eax
je 0x455626
mov dword [ebp - 0x13c], eax
mov edx, dword [ebp - 0x144]
mov eax, edi
jmp 0x4555d0
add ebx, 1
cmp ebx, dword [ebp - 0x13c]
je 0x455624
mov ecx, dword [eax + 4]
mov edi, dword [edx]
mov esi, dword [ecx + ebx*4]
mov ecx, dword [esi + 4]
cmp dword [ecx], edi
jne 0x4555c5
mov dword [ebp - 0x14c], eax
lea eax, [esi + 0x18]
add ebx, 1
mov edi, eax
mov ecx, eax
mov dword [esi + 0x18], 0x5814c8
mov dword [ebp - 0x148], edx
call fcn.00480930
mov ecx, edi
call fcn.004806e0
mov dword [esp], esi
call fcn.0053e980
mov eax, dword [ebp - 0x14c]
cmp ebx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x148]
jne 0x4555d0
mov edi, eax
mov ecx, edi
call fcn.004816b0
add dword [ebp - 0x140], 1
cmp dword [ebp - 0x140], 0x100
jne 0x455580
mov eax, dword [ebp - 0x144]
xor esi, esi
mov edi, dword [eax + 0x14]
test edi, edi
jne 0x455663
jmp 0x4556f7
add esi, 1
cmp esi, edi
je 0x4556f7
mov eax, dword [ebp - 0x144]
mov edx, dword [eax + 0x10]
mov eax, dword [eax]
mov ebx, dword [edx + esi*4]
cmp dword [ebx], eax
jne 0x455658
lea ecx, [ebx + 0x3c]
call fcn.0044b3e0
lea ecx, [ebx + 0x4c]
call fcn.0047e920
lea ecx, [ebx + 0xc]
call fcn.0044b3e0
lea ecx, [ebx + 0x1c]
call fcn.0047e920
mov dword [esp], ebx
call fcn.0053e980
jmp 0x455658
mov dword [esp], 0x144
call fcn.0053e9a0
lea esi, [eax + 4]
mov dword [ebp - 0x13c], esi
mov edi, esi
mov dword [eax], 0x10
lea esi, [eax + 0x144]
mov ecx, edi
add edi, 0x14
mov dword [esp + 4], 7
mov dword [esp], 4
call fcn.00480770
mov dword [edi - 0x14], 0x581588
sub esp, 8
cmp edi, esi
jne 0x4556c2
mov edi, dword [ebp - 0x13c]
mov dword [ebx + 0x20], edi
jmp 0x45559d
mov esi, dword [ebp - 0x144]
xor edi, edi
lea ebx, [esi + 0x1d4]
mov ecx, ebx
mov dword [esi + 0x1d4], 0x580a08
call fcn.00480930
mov ecx, ebx
call fcn.00480720
mov eax, esi
add eax, 0x78
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov edx, dword [eax + edi*4]
test edx, edx
je 0x455797
mov eax, dword [edx - 4]
lea eax, [eax + eax*2]
lea eax, [edx + eax*8]
cmp edx, eax
mov dword [ebp - 0x140], eax
je 0x45578c
mov ebx, eax
sub eax, 0x14
mov dword [ebp - 0x148], eax
mov esi, ebx
mov eax, dword [ebp - 0x148]
sub esi, 0x18
mov edx, esi
sub edx, dword [ebp - 0x140]
lea ebx, [esi + 4]
mov ecx, ebx
mov dword [eax + edx + 0x18], 0x5816c8
call fcn.00480930
mov ecx, ebx
call fcn.004806e0
mov eax, dword [ebp - 0x13c]
mov edx, dword [eax + edi*4]
cmp edx, esi
jne 0x455755
sub edx, 4
mov dword [esp], edx
call fcn.0053e970
add edi, 1
cmp edi, 0x10
jne 0x455728
mov edi, dword [ebp - 0x13c]
mov edx, 0x40
test edi, 1
jne 0x455d72
test edi, 2
jne 0x455d61
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
jne 0x45585f
and edx, 1
jne 0x455857
mov edi, dword [ebp - 0x144]
xor esi, esi
lea ebx, [edi + 0xbc]
mov ecx, ebx
mov dword [edi + 0xbc], 0x5816c8
call fcn.00480930
mov ecx, ebx
call fcn.004806e0
mov eax, edi
add eax, 0x20
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov edx, dword [eax + esi*4]
test edx, edx
je 0x45584a
mov eax, dword [edx - 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
cmp edx, eax
je 0x45583f
lea edi, [eax - 0x14]
mov edx, dword [edi]
mov ecx, edi
mov ebx, edi
sub edi, 0x14
call dword [edx]
mov eax, dword [ebp - 0x13c]
mov edx, dword [eax + esi*4]
cmp edx, ebx
jne 0x455827
sub edx, 4
mov dword [esp], edx
call fcn.0053e970
add esi, 1
cmp esi, 0x10
jne 0x45580a
jmp 0x454dbb
mov byte [edi], 0
jmp 0x4557d9
xor esi, esi
add edi, 2
mov word [edi - 2], si
jmp 0x4557d4
mov ecx, dword [ebp - 0x13c]
mov edx, 8
mov eax, esi
mov dword [esp], str.ResTable_package:unknown
call fcn.0044ab50
test eax, eax
je 0x45555d
mov esi, dword [ebp - 0x150]
mov dword [esi + 8], eax
jmp 0x454e87
mov dword [esp + 8], str.Found_multiple_library_tables__ignoring...
mov dword [esp + 4], str.ResourceType
mov dword [esp], 5
call fcn.00482510
jmp 0x45555d
mov ecx, dword [ebp - 0x13c]
mov edx, 0x18
mov eax, esi
mov dword [esp], str.ResTable_type
mov dword [ebp - 0x130], esi
call fcn.0044ab50
test eax, eax
jne 0x45588e
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax + 0xc]
movzx edx, word [eax + 2]
mov ebx, dword [eax + 4]
lea edx, [edx + ecx*4]
cmp ebx, edx
jb 0x455ec4
test ecx, ecx
jne 0x455b27
cmp byte [eax + 8], 0
jne 0x45555d
mov dword [esp + 8], str.ResTable_type_has_an_id_of_0.
mov dword [esp + 4], str.ResourceType
mov dword [esp], 5
call fcn.00482510
mov eax, dword [ebp - 0x150]
mov dword [eax + 8], 0x80000001
mov eax, 0x80000001
jmp 0x454e87
mov ecx, dword [ebp - 0x13c]
mov edx, 0x10
mov eax, esi
mov dword [esp], str.ResTable_typeSpec
call fcn.0044ab50
test eax, eax
jne 0x45588e
mov ebx, dword [esi + 0xc]
movzx eax, word [esi + 2]
mov edx, dword [esi + 4]
cmp ebx, 0x1fffffff
lea eax, [eax + ebx*4]
ja 0x455ee9
cmp edx, eax
jb 0x455ee9
movzx edx, byte [esi + 8]
test dl, dl
je 0x455911
test ebx, ebx
je 0x45555d
lea eax, [ebp - 0x118]
mov dword [esp], eax
lea ecx, [ebp - 0x12c]
mov byte [ebp - 0x118], dl
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x114], 0
call fcn.00481810
mov edx, dword [ebp - 0x140]
sub esp, 4
test eax, eax
mov edi, eax
js 0x455d0d
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + edi*8 + 4]
test eax, eax
je 0x455cf9
movzx edx, word [eax]
sub edx, 1
movzx eax, dl
and edx, 0xf
lea edx, [edx + edx*4]
shl edx, 2
sar eax, 4
mov dword [ebp - 0x140], edx
mov edx, dword [ebp - 0x138]
lea eax, [edx + eax*4]
mov edx, dword [eax + 0x20]
mov dword [ebp - 0x154], eax
test edx, edx
je 0x455e59
add edx, dword [ebp - 0x140]
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x455a6b
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x455a6b
test edi, edi
jns 0x455a6b
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str.ResTable_typeSpec_entry_count_inconsistent:_given__d__previously__d
mov dword [esp + 4], str.ResourceType
mov dword [esp], 5
mov dword [ebp - 0x140], edx
call fcn.00482510
mov edx, dword [ebp - 0x140]
mov dword [esp], 0x2c
mov dword [ebp - 0x148], edx
call fcn.0053ea30
mov ecx, dword [ebp - 0x134]
mov edx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
lea ecx, [eax + 0x18]
mov dword [eax], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [esp + 4], 7
mov dword [esp], 4
mov dword [ebp - 0x140], eax
call fcn.00480770
mov eax, dword [ebp - 0x140]
mov edx, dword [ebp - 0x148]
mov dword [eax + 0x18], 0x5814c8
mov dword [ebp - 0x118], eax
mov dword [eax + 0xc], esi
movzx ecx, word [esi + 2]
sub esp, 8
add ecx, esi
test edi, edi
mov dword [eax + 0x10], ecx
js 0x455af9
mov ecx, dword [ebp - 0x128]
mov ecx, dword [ecx + edi*8 + 4]
mov dword [eax + 0x14], ecx
lea eax, [ebp - 0x118]
mov ecx, edx
mov dword [esp], eax
call fcn.004813a0
mov eax, dword [ebp - 0x138]
movzx edx, byte [esi + 8]
movzx ecx, byte [eax + 0x74]
sub esp, 4
cmp cl, dl
cmovae edx, ecx
mov byte [eax + 0x74], dl
jmp 0x45555d
mov edx, dword [eax + 0x10]
lea ecx, [ebx - 8]
cmp edx, ecx
ja 0x455e1e
movzx ebx, byte [eax + 8]
test bl, bl
je 0x455911
lea eax, [ebp - 0x118]
mov dword [esp], eax
lea ecx, [ebp - 0x12c]
mov byte [ebp - 0x118], bl
mov dword [ebp - 0x114], 0
call fcn.00481810
sub esp, 4
test eax, eax
js 0x455e08
mov edx, dword [ebp - 0x128]
mov eax, dword [edx + eax*8 + 4]
test eax, eax
je 0x455df1
movzx edx, word [eax]
sub edx, 1
movzx eax, dl
and edx, 0xf
lea ebx, [edx + edx*4]
sar eax, 4
shl ebx, 2
mov edx, dword [ebp - 0x138]
lea edi, [edx + eax*4]
mov eax, dword [edi + 0x20]
test eax, eax
je 0x455d86
lea ecx, [eax + ebx]
mov eax, dword [ecx + 8]
test eax, eax
je 0x455d20
sub eax, 1
mov dword [esp], eax
call fcn.00480a00
mov edx, dword [ebp - 0x134]
mov eax, dword [eax]
sub esp, 4
cmp dword [eax + 4], edx
jne 0x455d20
lea ecx, [eax + 0x18]
lea eax, [ebp - 0x130]
mov dword [esp], eax
call fcn.004813a0
sub esp, 4
jmp 0x45555d
xor ebx, ebx
add edi, 2
mov word [edi - 2], bx
sub edx, 2
jmp 0x454dde
xor eax, eax
add edi, 2
mov word [edi - 2], ax
sub edx, 2
jmp 0x454d21
mov eax, dword [ebp - 0x144]
mov dl, 0x3f
mov byte [eax + 0x78], 0
lea edi, [eax + 0x79]
jmp 0x454d15
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.ResTable_package_key_strings_at_0x_x_is_not_on_an_integer_boundary.
mov dword [esp + 4], str.ResourceType
mov dword [esp], 5
call fcn.00482510
mov eax, dword [ebp - 0x150]
mov dword [eax + 8], 0x80000001
mov eax, 0x80000001
jmp 0x454ec6
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.ResTable_package_key_strings_at_0x_x_are_past_chunk_size_0x_x.
mov dword [esp + 4], str.ResourceType
mov dword [esp], 5
call fcn.00482510
mov eax, dword [ebp - 0x150]
mov dword [eax + 8], 0x80000001
mov eax, 0x80000001
jmp 0x454ec6
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.ResTable_package_type_strings_at_0x_x_is_not_on_an_integer_boundary.
jmp 0x455c33
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.ResTable_package_type_strings_at_0x_x_are_past_chunk_size_0x_x.
jmp 0x455c6e
mov esi, dword [ebp - 0x150]
mov edx, dword [esi + 0x64]
mov eax, dword [edx + eax*4 - 4]
test eax, eax
mov dword [ebp - 0x138], eax
jne 0x45543c
mov dword [esi + 8], 0x80000000
mov eax, 0x80000000
jmp 0x454e87
mov eax, dword [ebp - 0x144]
mov dl, 0x3f
mov byte [eax + 0x20], 0
lea edi, [eax + 0x21]
jmp 0x454dd2
mov dword [ebp - 0x140], 0x12c
mov eax, 0xf
jmp 0x455a04
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x4c]
test eax, eax
jne 0x45555d
jmp 0x4559ec
mov eax, dword [ebp - 0x130]
movzx eax, byte [eax + 8]
mov dword [esp + 8], str.No_TypeSpec_for_type__d
mov dword [esp + 4], str.ResourceType
mov dword [esp], 6
mov dword [esp + 0xc], eax
call fcn.00482510
mov eax, dword [ebp - 0x150]
mov dword [eax + 8], 0x80000001
mov eax, 0x80000001
jmp 0x454e87
xor eax, eax
add edi, 2
mov word [edi - 2], ax
sub edx, 2
jmp 0x4557c2
mov eax, dword [ebp - 0x144]
mov dl, 0x3f
mov byte [eax + 0x78], 0
lea edi, [eax + 0x79]
jmp 0x4557b6
mov dword [esp], 0x144
call fcn.0053e9a0
mov ecx, eax
mov dword [eax], 0x10
add ecx, 0x144
lea eax, [eax + 4]
mov dword [ebp - 0x140], ecx
mov edx, eax
mov ecx, eax
mov dword [esp + 4], 7
mov dword [esp], 4
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x148], edx
call fcn.00480770
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x154]
mov dword [edx], 0x581588
add edx, 0x14
sub esp, 8
cmp edx, dword [ebp - 0x140]
je 0x455e00
mov ecx, edx
jmp 0x455dad
mov ebx, 0x12c
mov eax, 0xf
jmp 0x455b97
mov dword [edi + 0x20], eax
jmp 0x455bab
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x4c]
test edx, edx
jne 0x45555d
lea edx, [ebx - 1]
jmp 0x455b88
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 8], str.ResTable_type_entriesStart_at_0x_x_extends_beyond_chunk_end_0x_x.
mov dword [esp + 4], str.ResourceType
mov dword [esp], 5
call fcn.00482510
mov eax, dword [ebp - 0x150]
mov dword [eax + 8], 0x80000001
mov eax, 0x80000001
jmp 0x454e87
mov dword [esp], 0x144
call fcn.0053e9a0
mov ecx, eax
mov dword [eax], 0x10
add ecx, 0x144
lea eax, [eax + 4]
mov dword [ebp - 0x148], ecx
mov edx, eax
mov ecx, eax
mov dword [esp + 4], 7
mov dword [esp], 4
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x158], edx
call fcn.00480770
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp - 0x15c]
mov dword [edx], 0x581588
add edx, 0x14
sub esp, 8
cmp edx, dword [ebp - 0x148]
je 0x455ed9
mov ecx, edx
jmp 0x455e80
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 8], str.ResTable_type_entry_index_to__p_extends_beyond_chunk_end_0x_x.
jmp 0x455e2e
mov edx, eax
mov eax, dword [ebp - 0x154]
mov dword [eax + 0x20], edx
jmp 0x455a1e
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.ResTable_typeSpec_entry_index_to__p_extends_beyond_chunk_end__p.
jmp 0x455e2e
mov ebx, dword [ebp - 0x134]
test ebx, ebx
je 0x455f30
lea ecx, [ebx + 0x3c]
call fcn.0044b3e0
lea ecx, [ebx + 0x4c]
call fcn.0047e920
lea ecx, [ebx + 0xc]
call fcn.0044b3e0
lea ecx, [ebx + 0x1c]
call fcn.0047e920
mov dword [esp], ebx
call fcn.0053e980
mov eax, dword [ebp - 0x150]
mov dword [eax + 8], 0xfffffff4
mov eax, 0xfffffff4
jmp 0x454e87
xor eax, eax
add edi, 2
mov word [edi - 2], ax
sub edx, 2
jmp 0x455351
mov byte [esi + 0x78], 0
lea edi, [esi + 0x79]
mov dl, 0x3f
jmp 0x455345
xor eax, eax
add edi, 2
mov word [edi - 2], ax
sub edx, 2
jmp 0x4552dd
mov byte [esi + 0x20], 0
lea edi, [esi + 0x21]
mov dl, 0x3f
jmp 0x4552d1