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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x10c
cmp dword [ebp + 0xc], 0xff
mov dword [ebp - 0xf0], ecx
jbe 0x453265
mov eax, dword [ebp + 8]
add eax, 0x60
mov dword [ebp - 0xd4], eax
mov esi, dword [ebp - 0xd4]
mov eax, dword [esi + 8]
test eax, eax
je 0x453299
movzx eax, byte [ebp + 0xc]
mov ecx, 0x10
lea edi, [ebp - 0x98]
mov byte [ebp - 0xa7], al
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esi + 8]
test eax, eax
mov dword [ebp - 0xd8], eax
je 0x4532bf
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0
add eax, 1
movzx eax, al
mov dword [ebp - 0xec], eax
mov eax, dword [ebp + 0xc]
shl dword [ebp - 0xec], 0x10
mov dword [ebp - 0xdc], 0xffffffff
sar eax, 4
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb8], 0
and eax, 0xf
lea eax, [eax + eax*2]
shl eax, 3
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf0]
add eax, 0xc
mov dword [ebp - 0xe8], eax
nop
lea esi, [esi]
mov eax, dword [ebp - 0xd4]
mov edi, dword [ebp - 0xb4]
mov eax, dword [eax + 4]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0xb0], eax
mov eax, dword [eax + 0x14]
test eax, eax
je 0x453165
cmp word [eax], 0
je 0x453165
movzx ecx, word [ebp + 0x10]
movzx edx, word [eax + 6]
movzx ebx, word [eax + 4]
cmp cx, dx
jb 0x453040
sub ecx, edx
cmp bx, cx
jbe 0x453040
movzx ecx, cx
mov edx, dword [eax + ecx*4 + 8]
cmp edx, 0xffffffff
je 0x453040
movzx eax, byte [eax + 2]
movzx edi, dx
mov dword [ebp - 0xa4], edi
mov byte [ebp - 0xa8], 1
sub eax, 1
mov dword [ebp - 0xcc], eax
lea esi, [esi]
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 8]
cmp dword [ebp - 0xa4], eax
jae 0x453183
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x45324c
mov esi, dword [ebp - 0xa4]
mov eax, dword [eax + esi*4]
or dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xb0]
add eax, 0x18
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x45323d
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe8]
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
mov dword [ebp - 0xd0], 0
test eax, eax
je 0x4531c8
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax + 8]
test eax, eax
mov dword [ebp - 0xa0], eax
je 0x453010
mov eax, dword [ebp - 0xa4]
xor edi, edi
lea esi, [eax*4]
movzx eax, ax
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xc8], eax
mov word [ebp - 0xa6], ax
jmp 0x452f27
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebx + 0xc]
jae 0x452f18
mov eax, dword [ebp - 0xc4]
mov esi, dword [esi + eax]
cmp esi, 0xffffffff
je 0x452f18
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x452e73
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x58]
mov dword [esp + 4], eax
lea eax, [ebp - 0x98]
mov dword [esp], eax
call fcn.0044e3c0
sub esp, 8
test al, al
jne 0x452e73
cmp byte [ebp - 0xa8], 0
je 0x452f18
lea eax, [ebp - 0x98]
mov dword [esp], eax
lea ecx, [ebp - 0x58]
call fcn.0044d5f0
sub esp, 4
test eax, eax
jne 0x452f18
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 4]
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp + 0x14]
movzx eax, byte [ebp - 0xcc]
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xb8], ebx
test ecx, ecx
mov byte [ebp - 0xa7], al
je 0x453010
add edi, 1
cmp edi, dword [ebp - 0xa0]
je 0x453010
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax + 4]
mov ebx, dword [eax + edi*4]
test ebx, ebx
je 0x452f18
lea eax, [ebx + 0x14]
mov dword [esp], eax
lea ecx, [ebp - 0x58]
call fcn.0044d350
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], 0x40
sub esp, 4
test eax, eax
je 0x452f6b
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x58]
mov dword [esp], eax
call fcn.0044e950
sub esp, 4
test al, al
je 0x452f18
movzx esi, word [ebx + 2]
add esi, ebx
test byte [ebx + 9], 1
je 0x452e00
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0xc0], ebx
mov ebx, dword [ebp - 0xc8]
lea eax, [esi + eax*4]
mov edx, eax
sub edx, esi
mov dword [ebp - 0xbc], eax
sar edx, 2
lea esi, [esi]
test edx, edx
jle 0x452fd3
mov eax, edx
sar eax, 1
lea ecx, [esi + eax*4]
cmp word [ecx], bx
jb 0x453006
test eax, eax
mov edx, eax
mov dword [ebp - 0xac], ebx
je 0x452fd3
sar eax, 1
movzx ebx, word [ebp - 0xa6]
lea ecx, [esi + eax*4]
cmp bx, word [ecx]
ja 0x453000
test eax, eax
mov edx, eax
jne 0x452fbc
cmp dword [ebp - 0xbc], esi
mov ebx, dword [ebp - 0xc0]
je 0x452f18
movzx eax, word [esi]
cmp eax, dword [ebp - 0xa4]
jne 0x452f18
movzx esi, word [esi + 2]
shl esi, 2
jmp 0x452e21
mov ebx, dword [ebp - 0xac]
sub edx, eax
lea esi, [ecx + 4]
sub edx, 1
jmp 0x452fa0
mov edi, dword [ebp - 0xd0]
test edi, edi
je 0x453040
lock sub dword [edi + 4], 1
jne 0x453040
mov edi, dword [ebp - 0xd0]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
lock sub dword [edi + 8], 1
jne 0x453040
mov ecx, dword [ebp - 0xd0]
mov eax, dword [ecx]
call dword [eax + 0xc]
add dword [ebp - 0xb4], 1
mov eax, dword [ebp - 0xd8]
cmp dword [ebp - 0xb4], eax
jne 0x452cc0
mov edi, dword [ebp - 0xb8]
test edi, edi
je 0x4532bf
mov edx, dword [edi + 4]
mov eax, dword [ebp - 0xdc]
add eax, dword [edi + 0x10]
lea ecx, [edx - 8]
cmp eax, ecx
ja 0x4532c9
test al, 3
jne 0x453321
add eax, dword [ebp - 0xb8]
movzx edx, word [eax]
cmp dx, 7
jbe 0x4532f7
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x4532b8
mov edi, dword [ebp + 0x18]
mov edx, dword [ebp - 0x98]
mov esi, edi
mov dword [edi], edx
mov edx, dword [ebp - 0x94]
mov dword [edi + 0x40], eax
mov dword [edi + 4], edx
mov edx, dword [ebp - 0x90]
mov dword [edi + 8], edx
mov edx, dword [ebp - 0x8c]
mov dword [edi + 0xc], edx
mov edx, dword [ebp - 0x88]
mov dword [edi + 0x10], edx
mov edx, dword [ebp - 0x84]
mov dword [edi + 0x14], edx
mov edx, dword [ebp - 0x80]
mov dword [edi + 0x18], edx
mov edx, dword [ebp - 0x7c]
mov dword [edi + 0x1c], edx
mov edx, dword [ebp - 0x78]
mov dword [edi + 0x20], edx
mov edx, dword [ebp - 0x74]
mov dword [edi + 0x24], edx
mov edx, dword [ebp - 0x70]
mov dword [edi + 0x28], edx
mov edx, dword [ebp - 0x6c]
mov dword [edi + 0x2c], edx
mov edx, dword [ebp - 0x68]
mov dword [edi + 0x30], edx
mov edx, dword [ebp - 0x64]
mov dword [edi + 0x34], edx
mov edx, dword [ebp - 0x60]
mov dword [edi + 0x38], edx
mov edx, dword [ebp - 0x5c]
mov dword [edi + 0x3c], edx
mov edi, dword [ebp - 0xb8]
movzx edx, byte [ebp - 0xa7]
mov dword [esi + 0x44], edi
mov edi, dword [ebp - 0xe4]
mov dword [esi + 0x48], edi
mov edi, esi
mov esi, dword [ebp - 0xe0]
mov dword [edi + 0x4c], esi
lea ecx, [esi + 0xc]
sub edx, dword [esi + 0x6c]
mov dword [edi + 0x50], ecx
mov dword [edi + 0x54], edx
mov eax, dword [eax + 4]
lea edx, [esi + 0x3c]
mov dword [edi + 0x58], edx
mov dword [edi + 0x5c], eax
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
mov eax, dword [ebp + 0x10]
mov byte [ebp - 0xa8], 0
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xcc], eax
jmp 0x452d40
mov dword [esp + 0x14], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov edx, dword [edi + 8]
movzx eax, word [ebp + 0x10]
mov dword [esp + 8], str.For_resource_0x_08x__entry_index__d__is_beyond_type_entryCount__d_
mov dword [esp + 4], str.ResourceType
shl edx, 0x18
or eax, edx
or eax, dword [ebp - 0xec]
mov dword [esp], 5
mov dword [esp + 0xc], eax
call fcn.00482510
jmp 0x453040
mov eax, dword [ebp - 0xf0]
lea ebx, [eax + 4]
mov ecx, ebx
call fcn.0047e940
cmp dword [ebp + 0xc], 0xff
ja 0x45325b
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0xf4]
mov eax, dword [eax + edi*4 + 0x78]
test eax, eax
je 0x45325b
add eax, dword [ebp - 0xf8]
mov esi, dword [ebp - 0xb4]
cmp esi, dword [eax + 0xc]
mov dword [ebp - 0xd0], 0
jae 0x453231
mov eax, dword [eax + 8]
lea edx, [eax + esi*8]
mov eax, dword [edx]
test eax, eax
je 0x453231
mov esi, dword [edx + 4]
test esi, esi
mov dword [ebp - 0xd0], esi
je 0x45322b
lock add dword [esi + 4], 1
mov dword [ebp - 0x9c], eax
mov ecx, ebx
call fcn.0047e970
jmp 0x452dbe
mov dword [ebp - 0xd0], 0
jmp 0x452dbe
mov dword [ebp - 0xe4], 0xffffffff
jmp 0x452d75
mov eax, dword [ebp + 8]
add eax, 0xb8
jmp 0x4531f8
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
sar eax, 4
mov eax, dword [edi + eax*4 + 0x20]
test eax, eax
je 0x4532a8
mov edx, dword [ebp + 0xc]
and edx, 0xf
lea edx, [edx + edx*4]
lea eax, [eax + edx*4]
mov dword [ebp - 0xd4], eax
mov esi, dword [ebp - 0xd4]
mov eax, dword [esi + 8]
test eax, eax
jne 0x452c1c
lea esp, [ebp - 0xc]
mov eax, 0x80000001
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
mov eax, edi
add eax, 0x60
mov dword [ebp - 0xd4], eax
jmp 0x452c0b
xor eax, eax
jmp 0x45315b
mov eax, 0xfffffff9
jmp 0x45315b
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.ResTable_entry_at_0x_x_is_beyond_type_chunk_data_0x_x
mov dword [esp + 4], str.ResourceType
mov dword [esp], 5
call fcn.00482510
mov eax, 0x80000001
jmp 0x45315b
mov dword [esp + 0xc], edx
mov dword [esp + 8], str.ResTable_entry_size_0x_x_is_too_small
mov dword [esp + 4], str.ResourceType
mov dword [esp], 5
call fcn.00482510
mov eax, 0x80000001
jmp 0x45315b
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.ResTable_entry_at_0x_x_is_not_on_an_integer_boundary
mov dword [esp + 4], str.ResourceType
mov dword [esp], 5
call fcn.00482510
mov eax, 0x80000001
jmp 0x45315b