Function at 0x45d1fa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x1c], edi
test ebx, ebx
je 0x45d47f
call fcn.00413c54
push 0xf1
mov esi, dword [eax + 0xc]
movzx eax, bx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x45d236
xor eax, eax
jmp 0x45d476
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x45d22f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x45d22f
movzx eax, word [ebx + 6]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004107c7
mov dword [ebp - 8], eax
pop ecx
test eax, eax
je 0x45d47f
movzx eax, word [ebx + 2]
movzx edx, word [ebx + 4]
mov dword [ebp - 0xc], edx
add edx, 6
cmp dword [ebp + 0x10], 0
lea ecx, [eax + 6]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], edx
je 0x45d2a4
mov eax, dword [edi + 0xc30]
jmp 0x45d2a9
mov eax, dword [0x62fc78]
fld1
xor esi, esi
inc esi
test eax, eax
jne 0x45d362
mov ecx, dword [0x62f888]
test ecx, ecx
jne 0x45d2d6
mov ecx, 0x62f888
fstp st(0)
call fcn.00441a23
fld1
mov ecx, esi
mov dword [0x62f888], ecx
mov edx, dword [0x62fa70]
fld qword [0x62fa68]
test edx, edx
je 0x45d2ea
fld st(0)
jmp 0x45d2ec
fld st(1)
fucomp st(2)
fnstsw ax
test ah, 0x44
jnp 0x45d35a
test ecx, ecx
jne 0x45d31b
fstp st(1)
mov ecx, 0x62f888
fstp st(0)
call fcn.00441a23
fld1
mov edx, dword [0x62fa70]
fld qword [0x62fa68]
mov dword [0x62f888], esi
test edx, edx
jne 0x45d323
fstp st(0)
jmp 0x45d325
fstp st(1)
fild dword [ebp - 0x28]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fmul st(1)
fld qword [0x589210]
fadd st(1), st(0)
fxch st(1)
call fcn.0054b120
fild dword [ebp - 0x24]
mov dword [ebp - 4], eax
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fmulp st(2)
faddp st(1)
call fcn.0054b120
fld1
mov edx, eax
jmp 0x45d35f
mov edx, dword [ebp - 0x14]
fstp st(0)
mov ecx, dword [ebp - 4]
cmp dword [ebp + 0x10], 0
je 0x45d37d
push 0
push dword [ebp - 0xc]
fstp st(0)
push dword [ebp - 0x10]
push edx
push ecx
mov ecx, edi
call fcn.00462ee9
jmp 0x45d399
fld qword [0x62fdf8]
fucompp
fnstsw ax
test ah, 0x44
jp 0x45d399
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push edx
push ecx
call fcn.00463226
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 4], 0
jne 0x45d3a8
mov eax, dword [ebp + 8]
mov dword [ecx + 4], eax
cmp dword [edi + 0xd18], 0
jne 0x45d3d3
mov eax, dword [edi]
push dword [ebp + 0x10]
push ecx
mov esi, dword [eax + 0x334]
mov ecx, esi
call fcn.0054ada1
mov ecx, edi
call esi
xor esi, esi
inc esi
test eax, eax
je 0x45d462
mov eax, dword [edi + 0xc04]
xor ecx, ecx
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], ecx
cmp ax, word [ebx + 6]
jae 0x45d431
mov esi, dword [ebp - 0x14]
lea edx, [ebx + 8]
mov edi, dword [ebp - 8]
mov dword [ebp - 0xc], edx
cmp dword [ebp + 0x10], 0
movzx eax, word [edx]
mov dword [edi + ecx*4], eax
jne 0x45d419
test eax, eax
je 0x45d419
push eax
mov ecx, 0x628548
call fcn.0043dab0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov dword [eax], esi
inc esi
movzx eax, word [ebx + 6]
inc ecx
add edx, 2
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
cmp ecx, eax
jl 0x45d3f5
mov edi, dword [ebp - 0x1c]
xor esi, esi
inc esi
mov eax, dword [ebp + 8]
mov ecx, dword [edi]
push esi
mov dword [edi + 0xd18], eax
movzx eax, word [ebx + 6]
mov esi, dword [ecx + 0x33c]
mov ecx, esi
push eax
push dword [ebp - 8]
call fcn.0054ada1
mov ecx, edi
call esi
mov esi, eax
test esi, esi
jne 0x45d462
and dword [edi + 0xd18], eax
push dword [ebp - 8]
call fcn.004107c2
pop ecx
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.00411749
int3