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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [edi + 0x1c]
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0x18]
push esi
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x45fdc5
call fcn.004322c0
mov ecx, dword [ebp + 0x10]
mov ebx, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x4c]
push ecx
mov ecx, ebx
call edx
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebx]
mov edx, dword [eax + 0x30]
push ecx
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x68]
mov ecx, esi
and ecx, 0x3ff
push ecx
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x70]
shr si, 0xa
mov ecx, ebx
push esi
call edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
push 0
push ecx
mov ecx, ebx
call edx
mov esi, dword [edi + 0x18]
mov eax, dword [esi + 0x20]
cmp eax, dword [esi + 0x24]
jne 0x45fdb5
call fcn.004145f0
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
mov dword [edx + ecx*4], ebx
add dword [esi + 0x20], 1
mov esi, dword [ebp + 0x18]
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x45fdda
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [edi + 0x1c], 0
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x78]
push 0
call edx
push eax
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov ebx, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push ecx
push esi
push edx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_UpdateResourceW]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x84]
call eax
mov ecx, dword [edi + 8]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [edi + 0x18]
mov dword [edi + 0x1c], eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
mov dword [esp + 0xc], 0
call eax
test eax, eax
jbe 0x45ff16
mov ecx, dword [edi + 0x18]
mov edx, dword [ecx + 0x1c]
mov eax, dword [esp + 0xc]
mov esi, dword [edx + eax*4]
mov edx, dword [esi]
mov eax, dword [edx + 0x34]
mov ecx, esi
call eax
test al, al
mov edx, dword [esi]
mov ecx, esi
je 0x45fe7d
mov eax, dword [edx + 0x3c]
call eax
movzx ecx, ax
mov dword [esp + 0x10], ecx
jmp 0x45fe86
mov eax, dword [edx + 0x40]
call eax
mov dword [esp + 0x10], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x50]
mov ecx, esi
call eax
test al, al
mov edx, dword [esi]
mov ecx, esi
je 0x45fea5
mov eax, dword [edx + 0x64]
call eax
movzx ecx, ax
mov dword [esp + 0x14], ecx
jmp 0x45feae
mov eax, dword [edx + 0x5c]
call eax
mov dword [esp + 0x14], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x74]
mov ecx, esi
call eax
mov edx, dword [esi]
mov bx, ax
mov eax, dword [edx + 0x6c]
mov ecx, esi
shl bx, 0xa
call eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
or ax, bx
push eax
mov eax, dword [edi + 0x1c]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [esi]
push 0
push eax
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
mov ecx, dword [edi + 0x18]
mov esi, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
add esi, 1
mov dword [esp + 0xc], esi
call eax
cmp esi, eax
jb 0x45fe51
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14